Notification: Performance of loadModel(Modelica): time 1.463/1.463, allocations: 194.8 MB / 201.1 MB, free: 4.855 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1626/1.626, allocations: 46.48 MB / 247.6 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.066/1.692, allocations: 44.51 MB / 292.1 MB, free: 8.914 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/2.022, allocations: 184.9 MB / 477 MB, free: 4.887 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/2.023, allocations: 84.75 kB / 477.1 MB, free: 4.836 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.9537/2.976, allocations: 301.5 MB / 0.7604 GB, free: 35.11 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/2.977, allocations: 12 kB / 0.7604 GB, free: 35.09 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003967/2.977, allocations: 47.61 kB / 0.7605 GB, free: 35.05 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/2.977, allocations: 306.4 kB / 0.7608 GB, free: 34.71 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/2.977, allocations: 8 kB / 0.7608 GB, free: 34.7 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/2.977, allocations: 16 kB / 0.7608 GB, free: 34.68 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003696/2.978, allocations: 177.2 kB / 0.761 GB, free: 34.51 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/2.978, allocations: 302.2 kB / 0.7612 GB, free: 34.18 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/2.978, allocations: 7.906 kB / 0.7613 GB, free: 34.17 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/2.978, allocations: 0 / 0.7613 GB, free: 34.17 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.623e-06/2.978, allocations: 8 kB / 0.7613 GB, free: 34.16 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/2.981, allocations: 2.081 MB / 0.7633 GB, free: 31.89 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/2.981, allocations: 137.7 kB / 0.7634 GB, free: 31.75 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/2.981, allocations: 76.86 kB / 0.7635 GB, free: 31.67 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/2.981, allocations: 287.8 kB / 0.7638 GB, free: 31.33 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/2.981, allocations: 34.56 kB / 0.7638 GB, free: 31.29 MB / 392.6 MB Notification: Performance of pre-optimization done (n=24): time 2.799e-06/2.981, allocations: 3.984 kB / 0.7638 GB, free: 31.28 MB / 392.6 MB Notification: Performance of matching and sorting (n=30): time 0.004042/2.985, allocations: 0.9537 MB / 0.7647 GB, free: 30.25 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/2.985, allocations: 55.41 kB / 0.7648 GB, free: 30.18 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/2.986, allocations: 204 kB / 0.765 GB, free: 29.98 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/2.986, allocations: 25.7 kB / 0.765 GB, free: 29.95 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/2.986, allocations: 246.5 kB / 0.7652 GB, free: 29.7 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/2.986, allocations: 98.5 kB / 0.7653 GB, free: 29.61 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/2.986, allocations: 0 / 0.7653 GB, free: 29.61 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/2.986, allocations: 330.7 kB / 0.7657 GB, free: 29.27 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/2.986, allocations: 80.75 kB / 0.7657 GB, free: 29.19 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/2.986, allocations: 162.3 kB / 0.7659 GB, free: 29 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/2.987, allocations: 139.9 kB / 0.766 GB, free: 28.86 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.194e-06/2.987, allocations: 4 kB / 0.766 GB, free: 28.86 MB / 392.6 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00152/2.989, allocations: 373.6 kB / 0.7664 GB, free: 28.48 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/2.989, allocations: 8 kB / 0.7664 GB, free: 28.48 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.75e-06/2.989, allocations: 0 / 0.7664 GB, free: 28.48 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/2.989, allocations: 93.11 kB / 0.7665 GB, free: 28.38 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/2.99, allocations: 79.89 kB / 0.7666 GB, free: 28.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000806/2.99, allocations: 0.681 MB / 0.7672 GB, free: 27.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/2.991, allocations: 15.91 kB / 0.7672 GB, free: 27.58 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/2.991, allocations: 43.98 kB / 0.7673 GB, free: 27.54 MB / 392.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/2.991, allocations: 75.28 kB / 0.7673 GB, free: 27.46 MB / 392.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001291/2.992, allocations: 322.1 kB / 0.7677 GB, free: 27.14 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/2.992, allocations: 27.62 kB / 0.7677 GB, free: 27.11 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/2.995, allocations: 0.7238 MB / 0.7684 GB, free: 26.39 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/2.995, allocations: 11.98 kB / 0.7684 GB, free: 26.38 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.982e-06/2.995, allocations: 0 / 0.7684 GB, free: 26.38 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/2.996, allocations: 0.7307 MB / 0.7691 GB, free: 25.55 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/2.998, allocations: 0.9023 MB / 0.77 GB, free: 24.6 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.943e-06/2.998, allocations: 3.984 kB / 0.77 GB, free: 24.59 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/2.998, allocations: 39.89 kB / 0.77 GB, free: 24.55 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002991/2.999, allocations: 84.83 kB / 0.7701 GB, free: 24.47 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/2.999, allocations: 15.94 kB / 0.7701 GB, free: 24.45 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006735/3, allocations: 0.6577 MB / 0.7708 GB, free: 23.77 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.113e-06/3, allocations: 7.984 kB / 0.7708 GB, free: 23.76 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001526/3.001, allocations: 0.7287 MB / 0.7715 GB, free: 23.01 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/3.001, allocations: 104.7 kB / 0.7716 GB, free: 22.89 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/3.001, allocations: 8 kB / 0.7716 GB, free: 22.88 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/3.002, allocations: 11.89 kB / 0.7716 GB, free: 22.87 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/3.002, allocations: 19.97 kB / 0.7716 GB, free: 22.85 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/3.002, allocations: 39.98 kB / 0.7717 GB, free: 22.81 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0001391/3.002, allocations: 156.6 kB / 0.7718 GB, free: 22.66 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0009436/3.003, allocations: 243.7 kB / 0.7721 GB, free: 22.42 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002292/3.005, allocations: 1.47 MB / 0.7735 GB, free: 20.93 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0006994/3.006, allocations: 330.8 kB / 0.7738 GB, free: 20.61 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 3.869e-06/3.006, allocations: 4 kB / 0.7738 GB, free: 20.61 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004657/3.006, allocations: 208.2 kB / 0.774 GB, free: 20.41 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/3.007, allocations: 132.7 kB / 0.7741 GB, free: 20.27 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03918/3.046, allocations: 16.15 MB / 0.7899 GB, free: 4.02 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007658/3.047, allocations: 0.96 MB / 0.7908 GB, free: 3.027 MB / 392.6 MB Notification: Performance of SimCode: time 8.17e-07/3.047, allocations: 4 kB / 0.7908 GB, free: 3.023 MB / 392.6 MB Notification: Performance of translateModelFMU complete: time 0.1307/3.178, allocations: 10.89 MB / 0.8015 GB, free: 118.1 MB / 392.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 OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650CalcHelperMain.o OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650CalcHelperMain.cpp In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650CalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650FMU.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 Modelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.so OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650CalcHelperMain.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/Modelica 3.2.2/Media" -lOMCppDgesv_static OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650CalcHelperMain.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/Modelica_3.2.2_fmi_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650/./OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650Functions.cpp:155: undefined reference to `dgelsy_' clang: error: linker command failed with exit code 1 (use -v to see invocation) Modelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_FMU.makefile:93: recipe for target 'Modelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu' failed make: *** [Modelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu] Error 1