Notification: Performance of loadModel(ModelicaTest): time 1.794/1.794, allocations: 235 MB / 241.2 MB, free: 7.434 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2313/2.025, allocations: 56.81 MB / 298.1 MB, free: 8.336 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08298/2.108, allocations: 54.86 MB / 352.9 MB, free: 9.676 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4307/2.539, allocations: 236.4 MB / 0.5755 GB, free: 14.46 MB / 456.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/2.539, allocations: 95.75 kB / 0.5756 GB, free: 14.41 MB / 456.6 MB Notification: Performance of Generate backend data structure: time 1.322/3.861, allocations: 375.4 MB / 0.9422 GB, free: 15.39 MB / 472.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/3.861, allocations: 12 kB / 0.9423 GB, free: 15.38 MB / 472.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/3.863, allocations: 147 kB / 0.9424 GB, free: 15.23 MB / 472.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/3.864, allocations: 0.6145 MB / 0.943 GB, free: 14.58 MB / 472.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.459e-05/3.864, allocations: 92.33 kB / 0.9431 GB, free: 14.48 MB / 472.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/3.864, allocations: 36 kB / 0.9431 GB, free: 14.44 MB / 472.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/3.866, allocations: 0.5215 MB / 0.9436 GB, free: 13.92 MB / 472.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/3.867, allocations: 0.7634 MB / 0.9444 GB, free: 13.07 MB / 472.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/3.867, allocations: 7.938 kB / 0.9444 GB, free: 13.06 MB / 472.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-05/3.867, allocations: 4 kB / 0.9444 GB, free: 13.06 MB / 472.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/3.867, allocations: 40.97 kB / 0.9444 GB, free: 13.02 MB / 472.6 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005607/3.873, allocations: 4.468 MB / 0.9488 GB, free: 8.246 MB / 472.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/3.873, allocations: 269.5 kB / 0.949 GB, free: 7.977 MB / 472.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/3.874, allocations: 128.8 kB / 0.9492 GB, free: 7.848 MB / 472.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/3.874, allocations: 356.8 kB / 0.9495 GB, free: 7.426 MB / 472.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/3.874, allocations: 38.5 kB / 0.9495 GB, free: 7.379 MB / 472.6 MB Notification: Performance of pre-optimization done (n=29): time 3.655e-06/3.874, allocations: 4 kB / 0.9495 GB, free: 7.375 MB / 472.6 MB Notification: Performance of matching and sorting (n=35): time 0.006004/3.88, allocations: 1.365 MB / 0.9509 GB, free: 5.93 MB / 472.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/3.88, allocations: 132.5 kB / 0.951 GB, free: 5.77 MB / 472.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/3.881, allocations: 494 kB / 0.9515 GB, free: 5.281 MB / 472.6 MB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/3.881, allocations: 25.7 kB / 0.9515 GB, free: 5.25 MB / 472.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/3.881, allocations: 441.2 kB / 0.9519 GB, free: 4.812 MB / 472.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/3.881, allocations: 130.1 kB / 0.952 GB, free: 4.684 MB / 472.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/3.881, allocations: 0 / 0.952 GB, free: 4.684 MB / 472.6 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/3.881, allocations: 342.8 kB / 0.9524 GB, free: 4.34 MB / 472.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/3.882, allocations: 189.5 kB / 0.9526 GB, free: 4.156 MB / 472.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/3.882, allocations: 0.5157 MB / 0.9531 GB, free: 3.48 MB / 472.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/3.884, allocations: 363 kB / 0.9534 GB, free: 3.129 MB / 472.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.657e-06/3.884, allocations: 4 kB / 0.9534 GB, free: 3.125 MB / 472.6 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003096/3.887, allocations: 0.8382 MB / 0.9542 GB, free: 2.273 MB / 472.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/3.887, allocations: 8.219 kB / 0.9542 GB, free: 2.266 MB / 472.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/3.887, allocations: 15.94 kB / 0.9542 GB, free: 2.25 MB / 472.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000935/3.888, allocations: 217.5 kB / 0.9545 GB, free: 2.031 MB / 472.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/3.889, allocations: 155.7 kB / 0.9546 GB, free: 1.879 MB / 472.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/3.891, allocations: 1.417 MB / 0.956 GB, free: 420 kB / 472.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/3.891, allocations: 27.95 kB / 0.956 GB, free: 392 kB / 472.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/3.892, allocations: 80.11 kB / 0.9561 GB, free: 312 kB / 472.6 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-05/3.892, allocations: 79.22 kB / 0.9562 GB, free: 232 kB / 472.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00229/3.894, allocations: 0.5258 MB / 0.9567 GB, free: 15.68 MB / 488.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/3.894, allocations: 63.25 kB / 0.9567 GB, free: 15.62 MB / 488.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004498/3.899, allocations: 1.215 MB / 0.9579 GB, free: 14.39 MB / 488.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/3.899, allocations: 12.03 kB / 0.9579 GB, free: 14.38 MB / 488.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-06/3.899, allocations: 3.906 kB / 0.9579 GB, free: 14.38 MB / 488.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.29e-06/3.899, allocations: 3.984 kB / 0.9579 GB, free: 14.38 MB / 488.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/3.903, allocations: 1.399 MB / 0.9593 GB, free: 12.92 MB / 488.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.921e-06/3.903, allocations: 0 / 0.9593 GB, free: 12.92 MB / 488.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/3.903, allocations: 47.91 kB / 0.9594 GB, free: 12.87 MB / 488.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006946/3.904, allocations: 157.7 kB / 0.9595 GB, free: 12.71 MB / 488.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/3.904, allocations: 11.98 kB / 0.9595 GB, free: 12.7 MB / 488.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/3.906, allocations: 1.358 MB / 0.9608 GB, free: 11.29 MB / 488.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.593e-06/3.906, allocations: 4 kB / 0.9608 GB, free: 11.29 MB / 488.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002902/3.909, allocations: 1.086 MB / 0.9619 GB, free: 10.16 MB / 488.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/3.909, allocations: 212.2 kB / 0.9621 GB, free: 9.93 MB / 488.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/3.909, allocations: 0 / 0.9621 GB, free: 9.93 MB / 488.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/3.91, allocations: 23.95 kB / 0.9621 GB, free: 9.906 MB / 488.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/3.91, allocations: 23.97 kB / 0.9622 GB, free: 9.883 MB / 488.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/3.91, allocations: 31.98 kB / 0.9622 GB, free: 9.852 MB / 488.6 MB Notification: Performance of sort global known variables: time 0.0005908/3.911, allocations: 346.9 kB / 0.9625 GB, free: 9.516 MB / 488.6 MB Notification: Performance of remove unused functions: time 0.002451/3.913, allocations: 0.558 MB / 0.9631 GB, free: 8.957 MB / 488.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.005407/3.919, allocations: 2.38 MB / 0.9654 GB, free: 6.543 MB / 488.6 MB Notification: Performance of simCode: created initialization part: time 0.00154/3.92, allocations: 0.5762 MB / 0.9659 GB, free: 5.973 MB / 488.6 MB Notification: Performance of simCode: created event and clocks part: time 4.484e-06/3.92, allocations: 0 / 0.9659 GB, free: 5.973 MB / 488.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007494/3.921, allocations: 289.5 kB / 0.9662 GB, free: 5.688 MB / 488.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/3.923, allocations: 239.7 kB / 0.9665 GB, free: 5.453 MB / 488.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1916/4.114, allocations: 15.97 MB / 0.9821 GB, free: 138.4 MB / 488.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/4.115, allocations: 1.266 MB / 0.9833 GB, free: 137.7 MB / 488.6 MB Notification: Performance of SimCode: time 1.381e-06/4.115, allocations: 0 / 0.9833 GB, free: 137.7 MB / 488.6 MB Notification: Performance of translateModelFMU complete: time 0.03883/4.154, allocations: 25.01 MB / 1.008 GB, free: 137.1 MB / 488.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_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47CalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47FMU.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_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.so OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47CalcHelperMain.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 OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47CalcHelperMain.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.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47/./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47Functions.cpp:2627: 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_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu' failed make: *** [ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu] Error 1