Opened 6 years ago

Closed 6 years ago

#5306 closed defect (fixed)

OMC on Windows is broken because of linker issues with sundials

Reported by: Francesco Casella Owned by: Adrian Pop
Priority: blocker Milestone: 1.14.0
Component: Run-time Version: v1.14.0-dev-nightly
Keywords: Cc:

Description

I just installed OpenModelica-v1.14.0-dev-72-geb421e8aa-64bit, which uses version eb421e8, committed on Jan 27. No matter what I try to simulate, I get:

C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x195): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x205): undefined reference to `__imp_SlsSetToZero'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x3e8): undefined reference to `__imp_PrintSparseMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x5c6): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x7ea): undefined reference to `__imp_SlsConvertDls'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x7f3): undefined reference to `__imp_PrintSparseMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x8f8): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x990): undefined reference to `__imp_SlsSetToZero'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0xc09): undefined reference to `__imp_PrintSparseMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0xd63): undefined reference to `__imp_KINSetFuncNormTol'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0xd72): undefined reference to `__imp_KINSetScaledStepTol'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0xd83): undefined reference to `__imp_KINSetNumMaxIters'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0xd96): undefined reference to `__imp_KINSetNoInitSetup'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0xdc2): undefined reference to `__imp_N_VConst'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0xdd0): undefined reference to `__imp_N_VWL2Norm'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0xde4): undefined reference to `__imp_KINSetMaxNewtonStep'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0xfb7): undefined reference to `__imp_N_VNew_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1006): undefined reference to `__imp_NewDenseMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1034): undefined reference to `__imp_SlsConvertDls'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x10ad): undefined reference to `__imp_N_VInv'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x10b4): undefined reference to `__imp_N_VDestroy_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1102): undefined reference to `__imp_NewSparseMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x11ef): undefined reference to `__imp_N_VNew_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x124b): undefined reference to `__imp_KINCreate'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1262): undefined reference to `__imp_KINSetErrHandlerFn'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1276): undefined reference to `__imp_KINSetInfoHandlerFn'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1284): undefined reference to `__imp_KINSetUserData'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1299): undefined reference to `__imp_KINInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x12ef): undefined reference to `__imp_KINKLU'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x132a): undefined reference to `__imp_KINSlsSetSparseJacFn'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x13ac): undefined reference to `__imp_KINSetPrintLevel'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x13c8): undefined reference to `__imp_KINDense'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1418): undefined reference to `__imp_KINDense'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x144b): undefined reference to `__imp_KINDlsSetDenseJacFn'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1489): undefined reference to `__imp_KINSlsSetSparseJacFn'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x14af): undefined reference to `__imp_KINFree'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x14b6): undefined reference to `__imp_N_VDestroy_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x162f): undefined reference to `__imp_KINSetMaxSetupCalls'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x167a): undefined reference to `__imp_KINGetNumNonlinSolvIters'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1926): undefined reference to `__imp_KINSol'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1954): undefined reference to `__imp_KINSetNoInitSetup'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x19bb): undefined reference to `__imp_N_VWL2Norm'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1ab1): undefined reference to `__imp_KINGetFuncNorm'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1af0): undefined reference to `__imp_KINSetFuncNormTol'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1afe): undefined reference to `__imp_KINSetScaledStepTol'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1c3e): undefined reference to `__imp_KINGetNumBetaCondFails'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1cf0): undefined reference to `__imp_N_VProd'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1d13): undefined reference to `__imp_KINKLUReInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1d3e): undefined reference to `__imp_KINSlsSetSparseJacFn'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(kinsolSolver.o):kinsolSolver.c:(.text+0x1ebf): undefined reference to `__imp_KINSetMaxSetupCalls'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xe36): undefined reference to `__imp_N_VNew_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xe67): undefined reference to `__imp_KINCreate'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xec7): undefined reference to `__imp_KINSetUserData'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xed8): undefined reference to `__imp_KINSetConstraints'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xf07): undefined reference to `__imp_KINSetFuncNormTol'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xf19): undefined reference to `__imp_KINSetScaledStepTol'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xf2b): undefined reference to `__imp_KINSetNumMaxIters'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xf4b): undefined reference to `__imp_KINSetMaxSetupCalls'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xfa6): undefined reference to `__imp_KINSetPrintLevel'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0xfbf): undefined reference to `__imp_KINInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x1052): undefined reference to `__imp_KINDense'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x1061): undefined reference to `__imp_KINSetNoInitSetup'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x108b): undefined reference to `__imp_KINInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x10a7): undefined reference to `__imp_KINInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x10c3): undefined reference to `__imp_KINInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x10df): undefined reference to `__imp_KINInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x10fb): undefined reference to `__imp_KINInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x14eb): undefined reference to `__imp_KINSpgmr'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x164f): undefined reference to `__imp_N_VDestroy_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x1670): undefined reference to `__imp_KINFree'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x192e): undefined reference to `__imp_KINSetMaxNewtonStep'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x1935): undefined reference to `__imp_KINSol'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x193c): undefined reference to `__imp_KINDense'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x199c): undefined reference to `__imp_KINGetNumFuncEvals'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x19d0): undefined reference to `__imp_KINDlsGetNumJacEvals'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x19fc): undefined reference to `__imp_KINGetNumBetaCondFails'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(radau.o):radau.c:(.text+0x1aae): undefined reference to `__imp_KINSpilsGetNumJtimesEvals'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x8f): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x19f): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2bb): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x4b4): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xb58): undefined reference to `__imp_IDAReInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xb6a): undefined reference to `__imp_IDAGetActualInitStep'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xb9c): undefined reference to `__imp_IDASetMaxNumStepsIC'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xbb5): undefined reference to `__imp_IDASetMaxNumJacsIC'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xbce): undefined reference to `__imp_IDASetMaxNumItersIC'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xbe5): undefined reference to `__imp_IDACalcIC'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xc08): undefined reference to `__imp_IDAGetNumNonlinSolvIters'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xc57): undefined reference to `__imp_IDASetLineSearchOffIC'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xcd3): undefined reference to `__imp_IDAGetConsistentIC'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xd5c): undefined reference to `__imp_IDASetInitStep'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xd83): undefined reference to `__imp_IDASetInitStep'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0xe7f): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x117b): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1229): undefined reference to `__imp_IDAGetCurrentStep'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x15e3): undefined reference to `__imp_IDAGetErrWeights'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x165e): undefined reference to `__imp_IDACreate'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1795): undefined reference to `__imp_N_VMake_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x17e9): undefined reference to `__imp_IDAInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1820): undefined reference to `__imp_N_VNew_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1870): undefined reference to `__imp_IDASetUserData'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x188c): undefined reference to `__imp_IDASetErrHandlerFn'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x19ca): undefined reference to `__imp_IDASVtolerances'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1a72): undefined reference to `__imp_IDASetMaxOrd'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1aa5): undefined reference to `__imp_N_VMake_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1d00): undefined reference to `__imp_IDADlsSetDenseJacFn'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1de7): undefined reference to `__imp_IDAKLU'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1dfb): undefined reference to `__imp_NewSparseMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1e8a): undefined reference to `__imp_IDAKLU'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1eae): undefined reference to `__imp_IDASlsSetSparseJacFn'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1f90): undefined reference to `__imp_IDASetId'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x1fdf): undefined reference to `__imp_IDASetInitStep'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2106): undefined reference to `__imp_IDARootInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x22ae): undefined reference to `__imp_IDADense'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x23c0): undefined reference to `__imp_IDASptfqmr'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x23d7): undefined reference to `__imp_IDASpbcg'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x23ee): undefined reference to `__imp_IDASpgmr'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2409): undefined reference to `__imp_IDADense'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2495): undefined reference to `__imp_IDASetMaxErrTestFails'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x24bc): undefined reference to `__imp_N_VCloneVectorArray_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x256e): undefined reference to `__imp_IDASensInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x25aa): undefined reference to `__imp_IDASetNonlinConvCoef'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x25e4): undefined reference to `__imp_IDASetMaxConvFails'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x261e): undefined reference to `__imp_IDASetMaxNonlinIters'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2658): undefined reference to `__imp_IDASetSensParams'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2682): undefined reference to `__imp_IDASetSensDQMethod'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x26a3): undefined reference to `__imp_IDASensEEtolerances'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x26c7): undefined reference to `__imp_N_VCloneVectorArrayEmpty_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x26e8): undefined reference to `__imp_N_VSetArrayPointer_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2787): undefined reference to `__imp_IDASetMaxStep'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x27d6): undefined reference to `__imp_IDASetSuppressAlg'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2a70): undefined reference to `__imp_N_VDestroyVectorArray_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2a97): undefined reference to `__imp_N_VDestroy_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2ab0): undefined reference to `__imp_IDAFree'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2acf): undefined reference to `__imp_DestroySparseMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2b41): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2b6d): undefined reference to `__imp_SlsSetToZero'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2e88): undefined reference to `__imp_SlsAddMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2f3e): undefined reference to `__imp_PrintSparseMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x2f51): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3012): undefined reference to `__imp_IDAGetCurrentStep'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x305f): undefined reference to `__imp_SlsSetToZero'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3228): undefined reference to `__imp_IDAGetErrWeights'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3604): undefined reference to `__imp_N_VNew_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x363e): undefined reference to `__imp_N_VGetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x36c2): undefined reference to `__imp_NewDenseMat'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x371c): undefined reference to `__imp_SlsConvertDls'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x37fe): undefined reference to `__imp_N_VDestroy_Serial'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x385a): undefined reference to `__imp_IDAReInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3911): undefined reference to `__imp_IDASensReInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x39c4): undefined reference to `__imp_IDASolve'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3b3a): undefined reference to `__imp_IDAReInit'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3c15): undefined reference to `__imp_IDAGetSens'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3c51): undefined reference to `__imp_IDAGetNumSteps'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3c8a): undefined reference to `__imp_IDAGetNumResEvals'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3cc8): undefined reference to `__imp_IDADlsGetNumJacEvals'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3d02): undefined reference to `__imp_IDAGetNumErrTestFails'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3d3c): undefined reference to `__imp_IDAGetNumNonlinSolvConvFails'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3e0b): undefined reference to `__imp_IDAGetNonlinSolvStats'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3e53): undefined reference to `__imp_IDAGetTolScaleFactor'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3e87): undefined reference to `__imp_IDAGetNumLinSolvSetups'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x3f31): undefined reference to `__imp_IDASetStopTime'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x4112): undefined reference to `__imp_N_VSetArrayPointer'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x4282): undefined reference to `__imp_IDASlsGetNumJacEvals'
C:/OpenModelica1.14.0-dev-64bit//lib//omc\libSimulationRuntimeC.a(ida_solver.o):ida_solver.c:(.text+0x4388): undefined reference to `__imp_NewSparseMat'

That's both if I use OMEdit or if I run omc from the command line.

Previously I was using OpenModelica-v1.14.0-dev-62-g8a20ce05c-64bit, committed on Jan 21, which ran just fine.

@adrpo, I guess this was caused by your commits on Jan 23, the other commits seem unrelated.

Change History (6)

comment:1 by Adrian Pop, 6 years ago

Resolution: fixed
Status: newclosed

This particular version is broken. Use a newer one that has these PRs from #5293 in it:
https://github.com/OpenModelica/OMCompiler/pull/2894
https://github.com/OpenModelica/OMCompiler-3rdParty/pull/33

comment:2 by Francesco Casella, 6 years ago

Resolution: fixed
Status: closedreopened

I'm not sure I get your point, eb421e8 does indeed contain those PRs. I think the problem is precisely with them. I can try the latest nightly, but it doesn't seem to me that the commit on the 28th are relevant w.r.t. this problem.

Do I miss something?

comment:3 by Adrian Pop, 6 years ago

The commit that broke the compilation was PR:
https://github.com/OpenModelica/OMCompiler/pull/2892
Then the 2 PRs above that came after, fixed it.

Ok. I see that eb421e8 has these two commits. That's strange.
I will check with the latest nightly.

It could be that somehow your installation has an older version of libSimulationRuntimeC.a?
What is your setting for OPENMODELICAHOME?

comment:4 by Adrian Pop, 6 years ago

Tested with the latest nightly, 8167b9d2b, everything works fine:

E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//share/omc/scripts/Compile.bat Modelica.Blocks.Examples.PID_Controller gcc mingw64 parallel 8 0
PATH = "E:\OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit\tools\msys\mingw64\bin;E:\OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit\tools\msys\mingw64\bin\..\..\usr\bin;"
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller.o Modelica.Blocks.Examples.PID_Controller.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_functions.o Modelica.Blocks.Examples.PID_Controller_functions.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_records.o Modelica.Blocks.Examples.PID_Controller_records.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_01exo.o Modelica.Blocks.Examples.PID_Controller_01exo.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_02nls.o Modelica.Blocks.Examples.PID_Controller_02nls.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_03lsy.o Modelica.Blocks.Examples.PID_Controller_03lsy.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_04set.o Modelica.Blocks.Examples.PID_Controller_04set.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_05evt.o Modelica.Blocks.Examples.PID_Controller_05evt.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_06inz.o Modelica.Blocks.Examples.PID_Controller_06inz.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_07dly.o Modelica.Blocks.Examples.PID_Controller_07dly.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_08bnd.o Modelica.Blocks.Examples.PID_Controller_08bnd.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_09alg.o Modelica.Blocks.Examples.PID_Controller_09alg.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_10asr.o Modelica.Blocks.Examples.PID_Controller_10asr.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_11mix.o Modelica.Blocks.Examples.PID_Controller_11mix.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_12jac.o Modelica.Blocks.Examples.PID_Controller_12jac.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_13opt.o Modelica.Blocks.Examples.PID_Controller_13opt.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_14lnz.o Modelica.Blocks.Examples.PID_Controller_14lnz.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_15syn.o Modelica.Blocks.Examples.PID_Controller_15syn.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_16dae.o Modelica.Blocks.Examples.PID_Controller_16dae.c
gcc  -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Blocks.Examples.PID_Controller_17inl.o Modelica.Blocks.Examples.PID_Controller_17inl.c
gcc -I. -o Modelica.Blocks.Examples.PID_Controller.exe Modelica.Blocks.Examples.PID_Controller.o Modelica.Blocks.Examples.PID_Controller_functions.o Modelica.Blocks.Examples.PID_Controller_records.o Modelica.Blocks.Examples.PID_Controller_01exo.o Modelica.Blocks.Examples.PID_Controller_02nls.o Modelica.Blocks.Examples.PID_Controller_03lsy.o Modelica.Blocks.Examples.PID_Controller_04set.o Modelica.Blocks.Examples.PID_Controller_05evt.o Modelica.Blocks.Examples.PID_Controller_06inz.o Modelica.Blocks.Examples.PID_Controller_07dly.o Modelica.Blocks.Examples.PID_Controller_08bnd.o Modelica.Blocks.Examples.PID_Controller_09alg.o Modelica.Blocks.Examples.PID_Controller_10asr.o Modelica.Blocks.Examples.PID_Controller_11mix.o Modelica.Blocks.Examples.PID_Controller_12jac.o Modelica.Blocks.Examples.PID_Controller_13opt.o Modelica.Blocks.Examples.PID_Controller_14lnz.o Modelica.Blocks.Examples.PID_Controller_15syn.o Modelica.Blocks.Examples.PID_Controller_16dae.o Modelica.Blocks.Examples.PID_Controller_17inl.o -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit/lib/omlibrary/Modelica 3.2.2/Blocks"    -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse     -I"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_PID_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//lib//omc" -L"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//lib" -Wl,--stack,16777216,-rpath,"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//lib//omc" -Wl,-rpath,"E:/OpenModelica-v1.14.0-dev-79-g8167b9d2b-64bit//lib"   -fopenmp -Wl,-Bstatic -lregex -ltre -lintl -liconv -lexpat -lomcgc -lpthread -loleaut32 -limagehlp -lhdf5 -lz -lszip -Wl,-Bdynamic  -Wl,-Bstatic -lSimulationRuntimeC -Wl,-Bdynamic -Wl,-Bstatic -lomcgc -lregex -ltre -lintl -liconv -lexpat -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -llis -lumfpack -lklu -lcolamd -lbtf -lamd  -lsundials_idas -lsundials_kinsol -lsundials_nvecserial -lipopt -lcoinmumps -lpthread -lm -lgfortranbegin -lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -Wl,-Bdynamic -lwsock32 -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic 
Compilation process finished successfully.

Simulation work fine as well:

C:/Users/adrpo33/AppData/Local/Temp/OpenModelica/OMEdit/Modelica.Blocks.Examples.PID_Controller/Modelica.Blocks.Examples.PID_Controller.exe -port=53183 -logFormat=xmltcp -override=startTime=0,stopTime=4,stepSize=0.008,tolerance=1e-06,solver=dassl,outputFormat=mat,variableFilter=.* -r=C:/Users/adrpo33/AppData/Local/Temp/OpenModelica/OMEdit/Modelica.Blocks.Examples.PID_Controller/Modelica.Blocks.Examples.PID_Controller_res.mat -w -lv=LOG_STATS -inputPath=C:/Users/adrpo33/AppData/Local/Temp/OpenModelica/OMEdit/Modelica.Blocks.Examples.PID_Controller -outputPath=C:/Users/adrpo33/AppData/Local/Temp/OpenModelica/OMEdit/Modelica.Blocks.Examples.PID_Controller
The initialization finished successfully without homotopy method.
### STATISTICS ###
The simulation finished successfully.

comment:5 by Francesco Casella, 6 years ago

This is my setting: OPENMODELICAHOME=C:\OpenModelica1.14.0-dev-64bit\. I'll make sure uninstall removes everything and install the new nightly, I'll report later

comment:6 by Francesco Casella, 6 years ago

Resolution: fixed
Status: reopenedclosed

I installed the latest nightly and it works fine, it was probably some kind of glitch.

Note: See TracTickets for help on using tickets.