Notification: Performance of loadModel(ModelicaTest): time 1.812/1.812, allocations: 235 MB / 241.2 MB, free: 7.418 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2041/2.017, allocations: 56.8 MB / 298 MB, free: 8.418 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/2.101, allocations: 54.87 MB / 352.9 MB, free: 9.691 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/2.212, allocations: 82.96 MB / 435.9 MB, free: 6.609 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/2.213, allocations: 67.86 kB / 435.9 MB, free: 6.547 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.3068/2.519, allocations: 45.52 MB / 481.5 MB, free: 57.8 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/2.52, allocations: 12 kB / 481.5 MB, free: 57.79 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/2.52, allocations: 0 / 481.5 MB, free: 57.79 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.498e-05/2.52, allocations: 163.1 kB / 481.6 MB, free: 57.59 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/2.52, allocations: 4 kB / 481.6 MB, free: 57.59 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/2.52, allocations: 7.875 kB / 481.6 MB, free: 57.58 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.645e-05/2.52, allocations: 0 / 481.6 MB, free: 57.58 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.166e-05/2.52, allocations: 37.61 kB / 481.7 MB, free: 57.54 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.17e-06/2.52, allocations: 0 / 481.7 MB, free: 57.54 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/2.52, allocations: 0 / 481.7 MB, free: 57.54 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-06/2.52, allocations: 0 / 481.7 MB, free: 57.54 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.019e-05/2.52, allocations: 122.2 kB / 481.8 MB, free: 57.38 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 2.637e-05/2.52, allocations: 22.59 kB / 481.8 MB, free: 57.35 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.068e-05/2.52, allocations: 4.859 kB / 481.8 MB, free: 57.34 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 7.773e-06/2.52, allocations: 4 kB / 481.8 MB, free: 57.34 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/2.52, allocations: 64.2 kB / 481.9 MB, free: 57.26 MB / 376.6 MB Notification: Performance of pre-optimization done (n=1): time 1.588e-06/2.52, allocations: 0 / 481.9 MB, free: 57.26 MB / 376.6 MB Notification: Performance of matching and sorting (n=1): time 0.0001244/2.52, allocations: 29.77 kB / 481.9 MB, free: 57.23 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/2.52, allocations: 81.11 kB / 482 MB, free: 57.13 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.177e-05/2.52, allocations: 85 kB / 482.1 MB, free: 57.04 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 7.529e-06/2.52, allocations: 25.7 kB / 482.1 MB, free: 57.01 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/2.52, allocations: 150.6 kB / 482.3 MB, free: 56.86 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/2.52, allocations: 7.938 kB / 482.3 MB, free: 56.85 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-06/2.52, allocations: 0 / 482.3 MB, free: 56.85 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/2.52, allocations: 314.8 kB / 482.6 MB, free: 56.54 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-06/2.52, allocations: 0 / 482.6 MB, free: 56.54 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/2.52, allocations: 8 kB / 482.6 MB, free: 56.53 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/2.52, allocations: 0 / 482.6 MB, free: 56.53 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-06/2.52, allocations: 0 / 482.6 MB, free: 56.53 MB / 376.6 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.671e-05/2.521, allocations: 33.64 kB / 482.6 MB, free: 56.49 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/2.521, allocations: 4.094 kB / 482.6 MB, free: 56.48 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-06/2.521, allocations: 4 kB / 482.6 MB, free: 56.48 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/2.521, allocations: 4 kB / 482.6 MB, free: 56.48 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.271e-06/2.521, allocations: 0 / 482.6 MB, free: 56.48 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.276e-06/2.521, allocations: 7.891 kB / 482.6 MB, free: 56.47 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/2.521, allocations: 0 / 482.6 MB, free: 56.47 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-06/2.521, allocations: 0 / 482.6 MB, free: 56.47 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/2.521, allocations: 101 kB / 482.7 MB, free: 56.36 MB / 376.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.196e-05/2.521, allocations: 33.7 kB / 482.8 MB, free: 56.32 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-06/2.521, allocations: 0 / 482.8 MB, free: 56.32 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.228e-05/2.521, allocations: 7.031 kB / 482.8 MB, free: 56.32 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-06/2.521, allocations: 15.77 kB / 482.8 MB, free: 56.3 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-06/2.521, allocations: 0 / 482.8 MB, free: 56.3 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-06/2.521, allocations: 4 kB / 482.8 MB, free: 56.3 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.011e-05/2.521, allocations: 122.2 kB / 482.9 MB, free: 56.14 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-06/2.521, allocations: 0 / 482.9 MB, free: 56.14 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/2.521, allocations: 0 / 482.9 MB, free: 56.14 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/2.521, allocations: 0 / 482.9 MB, free: 56.14 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-06/2.521, allocations: 0 / 482.9 MB, free: 56.14 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/2.521, allocations: 3.938 kB / 482.9 MB, free: 56.14 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.768e-06/2.521, allocations: 4 kB / 482.9 MB, free: 56.13 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.49e-05/2.521, allocations: 65.03 kB / 483 MB, free: 56.05 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/2.521, allocations: 77.11 kB / 483.1 MB, free: 55.96 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/2.521, allocations: 4 kB / 483.1 MB, free: 55.95 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/2.521, allocations: 4 kB / 483.1 MB, free: 55.95 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/2.521, allocations: 0 / 483.1 MB, free: 55.95 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-06/2.521, allocations: 0 / 483.1 MB, free: 55.95 MB / 376.6 MB Notification: Performance of sort global known variables: time 1.563e-05/2.521, allocations: 82.89 kB / 483.1 MB, free: 55.87 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.0008415/2.522, allocations: 207.8 kB / 483.3 MB, free: 55.67 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/2.523, allocations: 0.8573 MB / 484.2 MB, free: 54.81 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 6.675e-05/2.523, allocations: 29.7 kB / 484.2 MB, free: 54.77 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 1.898e-06/2.523, allocations: 4.062 kB / 484.2 MB, free: 54.77 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 1.681e-05/2.523, allocations: 29.7 kB / 484.3 MB, free: 54.73 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.003e-05/2.523, allocations: 7.938 kB / 484.3 MB, free: 54.73 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001187/2.524, allocations: 96.47 kB / 484.4 MB, free: 54.59 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/2.524, allocations: 0.6845 MB / 485.1 MB, free: 53.88 MB / 376.6 MB Notification: Performance of SimCode: time 6.54e-07/2.524, allocations: 0 / 485.1 MB, free: 53.88 MB / 376.6 MB Notification: Performance of translateModelFMU complete: time 0.008241/2.532, allocations: 4.523 MB / 489.6 MB, free: 49.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_Math_TestMatrices2bCalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2bFMU.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_Math_TestMatrices2b.so OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.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" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -lModelicaExternalC -lOMCppDgesv_static /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/cpp/libModelicaExternalC.a(ModelicaInternal.c.o): In function `ModelicaInternal_temporaryFileName': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaInternal.c:614: warning: the use of `tmpnam' is dangerous, better use `mkstemp' OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.o: In function `Functions::Modelica_Math_Matrices_LAPACK_dgetri(BaseArray&, BaseArray&, Modelica_Math_Matrices_LAPACK_dgetriType&)': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/ModelicaTest_3.2.2_fmi_cpp_ModelicaTest.Math.TestMatrices2b/./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:983: undefined reference to `dgetri_' OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2bCalcHelperMain.o: In function `Functions::Modelica_Math_Matrices_LAPACK_dgesvd(BaseArray&, Modelica_Math_Matrices_LAPACK_dgesvdType&)': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/ModelicaTest_3.2.2_fmi_cpp_ModelicaTest.Math.TestMatrices2b/./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2bFunctions.cpp:904: undefined reference to `dgesvd_' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2b_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2b.fmu' failed make: *** [ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices2b.fmu] Error 1