Notification: Performance of loadModel(ModelicaTest): time 1.833/1.833, allocations: 235 MB / 241.2 MB, free: 7.43 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.242/2.075, allocations: 56.8 MB / 298 MB, free: 8.395 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/2.159, allocations: 54.86 MB / 352.9 MB, free: 9.688 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/2.266, allocations: 80.63 MB / 433.5 MB, free: 8.926 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/2.266, allocations: 67.86 kB / 433.6 MB, free: 8.863 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01109/2.277, allocations: 2.843 MB / 436.4 MB, free: 5.961 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/2.277, allocations: 8 kB / 436.4 MB, free: 5.953 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/2.277, allocations: 0 / 436.4 MB, free: 5.953 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/2.277, allocations: 163.1 kB / 436.6 MB, free: 5.754 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/2.277, allocations: 8 kB / 436.6 MB, free: 5.746 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-06/2.277, allocations: 0 / 436.6 MB, free: 5.746 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.771e-05/2.277, allocations: 0 / 436.6 MB, free: 5.746 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.169e-05/2.278, allocations: 41.55 kB / 436.7 MB, free: 5.699 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.231e-06/2.278, allocations: 3.984 kB / 436.7 MB, free: 5.695 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-06/2.278, allocations: 0 / 436.7 MB, free: 5.695 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/2.278, allocations: 0 / 436.7 MB, free: 5.695 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/2.278, allocations: 122.2 kB / 436.8 MB, free: 5.539 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/2.278, allocations: 26.59 kB / 436.8 MB, free: 5.504 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/2.278, allocations: 8.859 kB / 436.8 MB, free: 5.492 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.764e-06/2.278, allocations: 0 / 436.8 MB, free: 5.492 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/2.278, allocations: 56.27 kB / 436.9 MB, free: 5.422 MB / 376.6 MB Notification: Performance of pre-optimization done (n=1): time 1.348e-06/2.278, allocations: 0 / 436.9 MB, free: 5.422 MB / 376.6 MB Notification: Performance of matching and sorting (n=1): time 0.0001443/2.278, allocations: 33.7 kB / 436.9 MB, free: 5.383 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/2.278, allocations: 77.11 kB / 437 MB, free: 5.289 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.143e-05/2.278, allocations: 88.97 kB / 437.1 MB, free: 5.195 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/2.278, allocations: 33.7 kB / 437.1 MB, free: 5.156 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/2.278, allocations: 150.6 kB / 437.2 MB, free: 5.008 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/2.278, allocations: 3.906 kB / 437.2 MB, free: 5.004 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-06/2.278, allocations: 0 / 437.2 MB, free: 5.004 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001339/2.278, allocations: 314.8 kB / 437.6 MB, free: 4.688 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.752e-06/2.278, allocations: 0 / 437.6 MB, free: 4.688 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.356e-06/2.278, allocations: 3.938 kB / 437.6 MB, free: 4.684 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/2.279, allocations: 4 kB / 437.6 MB, free: 4.68 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-06/2.279, allocations: 4.062 kB / 437.6 MB, free: 4.676 MB / 376.6 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.558e-05/2.279, allocations: 29.7 kB / 437.6 MB, free: 4.641 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/2.279, allocations: 4 kB / 437.6 MB, free: 4.637 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-06/2.279, allocations: 0 / 437.6 MB, free: 4.637 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/2.279, allocations: 0 / 437.6 MB, free: 4.637 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.118e-06/2.279, allocations: 4 kB / 437.6 MB, free: 4.633 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.682e-06/2.279, allocations: 3.906 kB / 437.6 MB, free: 4.629 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/2.279, allocations: 7.984 kB / 437.6 MB, free: 4.621 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-06/2.279, allocations: 0 / 437.6 MB, free: 4.621 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/2.279, allocations: 105 kB / 437.7 MB, free: 4.512 MB / 376.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.356e-05/2.279, allocations: 41.64 kB / 437.8 MB, free: 4.465 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-06/2.279, allocations: 0 / 437.8 MB, free: 4.465 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/2.279, allocations: 6.953 kB / 437.8 MB, free: 4.457 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-06/2.279, allocations: 3.906 kB / 437.8 MB, free: 4.453 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.005e-06/2.279, allocations: 3.984 kB / 437.8 MB, free: 4.449 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-06/2.279, allocations: 0 / 437.8 MB, free: 4.449 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/2.279, allocations: 126.2 kB / 437.9 MB, free: 4.289 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-06/2.279, allocations: 0 / 437.9 MB, free: 4.289 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/2.279, allocations: 0 / 437.9 MB, free: 4.289 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.133e-06/2.279, allocations: 0 / 437.9 MB, free: 4.289 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-06/2.279, allocations: 4.031 kB / 437.9 MB, free: 4.285 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-06/2.279, allocations: 3.938 kB / 437.9 MB, free: 4.281 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.973e-06/2.279, allocations: 4 kB / 437.9 MB, free: 4.277 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001036/2.279, allocations: 65.03 kB / 438 MB, free: 4.195 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/2.279, allocations: 77.11 kB / 438 MB, free: 4.102 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/2.279, allocations: 4 kB / 438 MB, free: 4.098 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/2.279, allocations: 0 / 438 MB, free: 4.098 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-06/2.279, allocations: 7.969 kB / 438.1 MB, free: 4.09 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-06/2.279, allocations: 0 / 438.1 MB, free: 4.09 MB / 376.6 MB Notification: Performance of sort global known variables: time 3.327e-05/2.279, allocations: 75.28 kB / 438.1 MB, free: 4.016 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.0004371/2.28, allocations: 83.92 kB / 438.2 MB, free: 3.934 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0008078/2.281, allocations: 0.6919 MB / 438.9 MB, free: 3.23 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 7.513e-05/2.281, allocations: 29.7 kB / 438.9 MB, free: 3.195 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 1.942e-06/2.281, allocations: 0 / 438.9 MB, free: 3.195 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 2.413e-05/2.281, allocations: 29.7 kB / 439 MB, free: 3.16 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.667e-05/2.281, allocations: 0 / 439 MB, free: 3.16 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001569/2.281, allocations: 105.2 kB / 439.1 MB, free: 3.016 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/2.281, allocations: 0.684 MB / 439.7 MB, free: 2.305 MB / 376.6 MB Notification: Performance of SimCode: time 5.78e-07/2.281, allocations: 0 / 439.7 MB, free: 2.305 MB / 376.6 MB Notification: Performance of translateModelFMU complete: time 0.003963/2.285, allocations: 1.587 MB / 441.3 MB, free: 0.7148 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_TestMatricesCalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatricesCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatricesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatricesFMU.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_TestMatrices.so OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatricesCalcHelperMain.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_TestMatricesCalcHelperMain.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.Math.TestMatrices/./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatricesFunctions.cpp:241: undefined reference to `dgglse_' OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatricesCalcHelperMain.o: In function `Functions::Modelica_Math_Matrices_LAPACK_dgelsy__vec(BaseArray&, BaseArray&, double, Modelica_Math_Matrices_LAPACK_dgelsy__vecType&)': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/ModelicaTest_3.2.2_fmi_cpp_ModelicaTest.Math.TestMatrices/./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatricesFunctions.cpp:202: undefined reference to `dgelsy_' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices.fmu' failed make: *** [ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestMatrices.fmu] Error 1