Notification: Performance of loadModel(ModelicaTest): time 1.819/1.819, allocations: 235 MB / 241.2 MB, free: 7.324 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2578/2.077, allocations: 56.8 MB / 298 MB, free: 8.57 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08191/2.159, allocations: 54.87 MB / 352.9 MB, free: 9.594 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/2.534, allocations: 191.8 MB / 0.5319 GB, free: 9.297 MB / 408.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001642/2.534, allocations: 62.84 kB / 0.532 GB, free: 9.266 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.03739/2.572, allocations: 10.75 MB / 0.5425 GB, free: 316 kB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/2.572, allocations: 8 kB / 0.5425 GB, free: 308 kB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/2.572, allocations: 0 / 0.5425 GB, free: 308 kB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/2.572, allocations: 159.1 kB / 0.5427 GB, free: 108 kB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/2.572, allocations: 4 kB / 0.5427 GB, free: 104 kB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-06/2.572, allocations: 0 / 0.5427 GB, free: 104 kB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.009e-05/2.572, allocations: 3.938 kB / 0.5427 GB, free: 100 kB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.272e-05/2.572, allocations: 37.55 kB / 0.5427 GB, free: 56 kB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.634e-06/2.572, allocations: 0 / 0.5427 GB, free: 56 kB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-06/2.572, allocations: 4 kB / 0.5427 GB, free: 52 kB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-06/2.572, allocations: 3.984 kB / 0.5427 GB, free: 48 kB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/2.572, allocations: 122.2 kB / 0.5428 GB, free: 15.89 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 3.052e-05/2.572, allocations: 18.33 kB / 0.5428 GB, free: 15.87 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/2.572, allocations: 8.953 kB / 0.5429 GB, free: 15.86 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.498e-06/2.572, allocations: 0 / 0.5429 GB, free: 15.86 MB / 424.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/2.572, allocations: 56.27 kB / 0.5429 GB, free: 15.79 MB / 424.6 MB Notification: Performance of pre-optimization done (n=1): time 1.848e-06/2.572, allocations: 4 kB / 0.5429 GB, free: 15.78 MB / 424.6 MB Notification: Performance of matching and sorting (n=1): time 0.0001465/2.573, allocations: 37.62 kB / 0.5429 GB, free: 15.74 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/2.573, allocations: 78.39 kB / 0.543 GB, free: 15.64 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/2.573, allocations: 88.91 kB / 0.5431 GB, free: 15.55 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/2.573, allocations: 29.7 kB / 0.5431 GB, free: 15.52 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/2.573, allocations: 150.6 kB / 0.5433 GB, free: 15.37 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/2.573, allocations: 3.25 kB / 0.5433 GB, free: 15.37 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-06/2.573, allocations: 0 / 0.5433 GB, free: 15.37 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0001535/2.573, allocations: 314.9 kB / 0.5436 GB, free: 15.05 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-06/2.573, allocations: 0 / 0.5436 GB, free: 15.05 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-06/2.573, allocations: 0 / 0.5436 GB, free: 15.05 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/2.573, allocations: 4 kB / 0.5436 GB, free: 15.05 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-06/2.573, allocations: 0 / 0.5436 GB, free: 15.05 MB / 424.6 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.13e-05/2.573, allocations: 33.69 kB / 0.5436 GB, free: 15.01 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/2.573, allocations: 4 kB / 0.5436 GB, free: 15 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-06/2.573, allocations: 0 / 0.5436 GB, free: 15 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/2.573, allocations: 0 / 0.5436 GB, free: 15 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.961e-06/2.573, allocations: 8.094 kB / 0.5436 GB, free: 15 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.926e-06/2.573, allocations: 7.844 kB / 0.5436 GB, free: 14.99 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/2.573, allocations: 0 / 0.5436 GB, free: 14.99 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-06/2.573, allocations: 3.938 kB / 0.5436 GB, free: 14.98 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.338e-05/2.573, allocations: 101 kB / 0.5437 GB, free: 14.88 MB / 424.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.814e-05/2.573, allocations: 41.5 kB / 0.5438 GB, free: 14.84 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-06/2.573, allocations: 0 / 0.5438 GB, free: 14.84 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.2e-05/2.573, allocations: 3 kB / 0.5438 GB, free: 14.83 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-06/2.573, allocations: 3.906 kB / 0.5438 GB, free: 14.83 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-06/2.573, allocations: 0 / 0.5438 GB, free: 14.83 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-06/2.573, allocations: 4.031 kB / 0.5438 GB, free: 14.82 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.83e-05/2.574, allocations: 126.2 kB / 0.5439 GB, free: 14.66 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-06/2.574, allocations: 4 kB / 0.5439 GB, free: 14.66 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-07/2.574, allocations: 0 / 0.5439 GB, free: 14.66 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.844e-06/2.574, allocations: 3.984 kB / 0.5439 GB, free: 14.66 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-06/2.574, allocations: 3.938 kB / 0.5439 GB, free: 14.65 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-06/2.574, allocations: 0 / 0.5439 GB, free: 14.65 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.573e-06/2.574, allocations: 4 kB / 0.5439 GB, free: 14.65 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.928e-05/2.574, allocations: 63.8 kB / 0.544 GB, free: 14.57 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/2.574, allocations: 77.11 kB / 0.5441 GB, free: 14.48 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/2.574, allocations: 7.984 kB / 0.5441 GB, free: 14.47 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/2.574, allocations: 0 / 0.5441 GB, free: 14.47 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/2.574, allocations: 0 / 0.5441 GB, free: 14.47 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-06/2.574, allocations: 0 / 0.5441 GB, free: 14.47 MB / 424.6 MB Notification: Performance of sort global known variables: time 3.091e-05/2.574, allocations: 75.28 kB / 0.5441 GB, free: 14.39 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.0004827/2.574, allocations: 87.8 kB / 0.5442 GB, free: 14.31 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0008461/2.575, allocations: 0.6778 MB / 0.5449 GB, free: 13.62 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 7.528e-05/2.575, allocations: 33.64 kB / 0.5449 GB, free: 13.58 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 2.987e-06/2.575, allocations: 3.062 kB / 0.5449 GB, free: 13.58 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/2.575, allocations: 33.69 kB / 0.5449 GB, free: 13.54 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.873e-05/2.576, allocations: 0 / 0.5449 GB, free: 13.54 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001591/2.576, allocations: 91.44 kB / 0.545 GB, free: 13.41 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/2.576, allocations: 0.6879 MB / 0.5457 GB, free: 12.7 MB / 424.6 MB Notification: Performance of SimCode: time 6.83e-07/2.576, allocations: 0 / 0.5457 GB, free: 12.7 MB / 424.6 MB Notification: Performance of translateModelFMU complete: time 0.005079/2.581, allocations: 2.012 MB / 0.5477 GB, free: 10.68 MB / 424.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_TestPolynomialsCalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestPolynomialsCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestPolynomialsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestPolynomialsFMU.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_TestPolynomials.so OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestPolynomialsCalcHelperMain.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_TestPolynomialsCalcHelperMain.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.TestPolynomials/./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestPolynomialsFunctions.cpp:147: 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_TestPolynomials_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestPolynomials.fmu' failed make: *** [ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Math_TestPolynomials.fmu] Error 1