Notification: Performance of loadModel(ModelicaTest): time 1.787/1.787, allocations: 235 MB / 241.2 MB, free: 7.43 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2613/2.049, allocations: 56.8 MB / 298 MB, free: 8.363 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/2.132, allocations: 54.87 MB / 352.9 MB, free: 9.695 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/2.261, allocations: 89.32 MB / 442.2 MB, free: 244 kB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/2.261, allocations: 67.86 kB / 442.3 MB, free: 180 kB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.2695/2.531, allocations: 28.15 MB / 470.4 MB, free: 27.44 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/2.531, allocations: 7.812 kB / 470.5 MB, free: 27.44 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/2.531, allocations: 89.75 kB / 470.5 MB, free: 27.39 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/2.533, allocations: 0.5405 MB / 471.1 MB, free: 27.1 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/2.533, allocations: 19.38 kB / 471.1 MB, free: 27.1 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/2.533, allocations: 30.97 kB / 471.1 MB, free: 27.1 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007631/2.534, allocations: 313 kB / 471.4 MB, free: 27.09 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008526/2.534, allocations: 420.6 kB / 471.8 MB, free: 26.99 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/2.535, allocations: 4.469 kB / 471.9 MB, free: 26.99 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/2.535, allocations: 0 / 471.9 MB, free: 26.99 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/2.535, allocations: 7.625 kB / 471.9 MB, free: 26.99 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/2.539, allocations: 1.87 MB / 473.7 MB, free: 26.24 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/2.539, allocations: 339.3 kB / 474.1 MB, free: 26.16 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/2.54, allocations: 195.9 kB / 474.3 MB, free: 26.14 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/2.54, allocations: 8.594 kB / 474.3 MB, free: 26.14 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/2.54, allocations: 35.44 kB / 474.3 MB, free: 26.1 MB / 376.6 MB Notification: Performance of pre-optimization done (n=44): time 3.786e-06/2.54, allocations: 3.938 kB / 474.3 MB, free: 26.1 MB / 376.6 MB Notification: Performance of matching and sorting (n=45): time 0.001617/2.541, allocations: 0.7251 MB / 475 MB, free: 25.8 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/2.542, allocations: 107.4 kB / 475.1 MB, free: 25.68 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/2.542, allocations: 452.4 kB / 475.6 MB, free: 25.55 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/2.542, allocations: 25.7 kB / 475.6 MB, free: 25.52 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/2.542, allocations: 335.8 kB / 475.9 MB, free: 25.32 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/2.543, allocations: 170.3 kB / 476.1 MB, free: 25.21 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/2.543, allocations: 3.938 kB / 476.1 MB, free: 25.21 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/2.543, allocations: 340.4 kB / 476.4 MB, free: 24.89 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/2.543, allocations: 189.4 kB / 476.6 MB, free: 24.89 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/2.544, allocations: 283.9 kB / 476.9 MB, free: 24.79 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/2.544, allocations: 235.8 kB / 477.1 MB, free: 24.77 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.513e-06/2.544, allocations: 0 / 477.1 MB, free: 24.77 MB / 376.6 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001161/2.545, allocations: 0.5185 MB / 477.6 MB, free: 24.71 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002109/2.546, allocations: 1.048 MB / 478.7 MB, free: 23.61 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/2.546, allocations: 3.953 kB / 478.7 MB, free: 23.61 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/2.546, allocations: 8.594 kB / 478.7 MB, free: 23.61 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/2.547, allocations: 200.5 kB / 478.9 MB, free: 23.59 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/2.547, allocations: 8.656 kB / 478.9 MB, free: 23.59 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/2.548, allocations: 73.16 kB / 479 MB, free: 23.57 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/2.548, allocations: 20.33 kB / 479 MB, free: 23.57 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/2.548, allocations: 3.906 kB / 479 MB, free: 23.57 MB / 376.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001223/2.549, allocations: 490.4 kB / 479.5 MB, free: 23.54 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.852e-06/2.549, allocations: 3.906 kB / 479.5 MB, free: 23.54 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/2.549, allocations: 5.172 kB / 479.5 MB, free: 23.54 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/2.55, allocations: 202.7 kB / 479.7 MB, free: 23.52 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/2.55, allocations: 5.312 kB / 479.7 MB, free: 23.52 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/2.551, allocations: 63.14 kB / 479.8 MB, free: 23.5 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/2.551, allocations: 19.84 kB / 479.8 MB, free: 23.5 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.682e-05/2.551, allocations: 83.89 kB / 479.9 MB, free: 23.42 MB / 376.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001063/2.552, allocations: 431.5 kB / 480.3 MB, free: 23.34 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/2.552, allocations: 67.02 kB / 480.3 MB, free: 23.3 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/2.553, allocations: 74.5 kB / 480.4 MB, free: 23.29 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.751e-06/2.553, allocations: 3.906 kB / 480.4 MB, free: 23.29 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.794e-06/2.553, allocations: 3.906 kB / 480.4 MB, free: 23.29 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.643e-06/2.553, allocations: 6.766 kB / 480.4 MB, free: 23.29 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/2.555, allocations: 1.071 MB / 481.5 MB, free: 22.91 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/2.555, allocations: 0 / 481.5 MB, free: 22.91 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/2.556, allocations: 115.9 kB / 481.6 MB, free: 22.9 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/2.556, allocations: 8.656 kB / 481.6 MB, free: 22.9 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/2.556, allocations: 13.59 kB / 481.6 MB, free: 22.9 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.714e-06/2.556, allocations: 0 / 481.6 MB, free: 22.9 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/2.556, allocations: 12.78 kB / 481.6 MB, free: 22.89 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001456/2.557, allocations: 0.9663 MB / 482.6 MB, free: 22.47 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/2.558, allocations: 198.2 kB / 482.8 MB, free: 22.33 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/2.558, allocations: 5.188 kB / 482.8 MB, free: 22.33 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000805/2.559, allocations: 53.86 kB / 482.9 MB, free: 22.33 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/2.559, allocations: 38.17 kB / 482.9 MB, free: 22.33 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/2.559, allocations: 13.17 kB / 482.9 MB, free: 22.33 MB / 376.6 MB Notification: Performance of sort global known variables: time 0.0005184/2.559, allocations: 350.5 kB / 483.3 MB, free: 22.24 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.001121/2.56, allocations: 197 kB / 483.4 MB, free: 22.22 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/2.562, allocations: 1.812 MB / 485.3 MB, free: 21.01 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 0.001614/2.564, allocations: 0.7332 MB / 486 MB, free: 20.98 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 4.04e-06/2.564, allocations: 1.25 kB / 486 MB, free: 20.98 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/2.564, allocations: 224.2 kB / 486.2 MB, free: 20.96 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/2.566, allocations: 145.5 kB / 486.4 MB, free: 20.95 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/2.569, allocations: 1.355 MB / 487.7 MB, free: 20.46 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/2.57, allocations: 1.189 MB / 488.9 MB, free: 19.73 MB / 376.6 MB Notification: Performance of SimCode: time 9.05e-07/2.57, allocations: 0 / 488.9 MB, free: 19.73 MB / 376.6 MB Notification: Performance of translateModelFMU complete: time 0.01754/2.587, allocations: 11.01 MB / 499.9 MB, free: 14.35 MB / 376.6 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=5 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutputFMU.cpp:11: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning generated. clang++ -shared -o ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.so OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o -L"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppExtensionUtilities_static -lModelicaExternalC -lModelicaStandardTables -lOMCppModelicaUtilities_static -L"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2" -lOMCppDgesv_static OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o: In function `Functions::Modelica_Math_Matrices_LAPACK_dgglse__vec(BaseArray&, BaseArray&, BaseArray&, BaseArray&, Modelica_Math_Matrices_LAPACK_dgglse__vecType&)': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/ModelicaTest_3.2.2_fmi_cpp_ModelicaTest.Blocks.Continuous_InitialOutput/./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutputFunctions.cpp:108: undefined reference to `dgglse_' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutput_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.fmu' failed make: *** [ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.fmu] Error 1