Notification: Performance of loadModel(Modelica): time 1.466/1.466, allocations: 194.8 MB / 201.1 MB, free: 4.848 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2136/1.679, allocations: 46.47 MB / 247.6 MB, free: 4.691 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06645/1.746, allocations: 44.5 MB / 292.1 MB, free: 8.902 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3311/2.077, allocations: 185.1 MB / 477.2 MB, free: 4.766 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/2.077, allocations: 90.94 kB / 477.3 MB, free: 4.715 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.9174/2.995, allocations: 281 MB / 0.7405 GB, free: 55.19 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/2.995, allocations: 8 kB / 0.7405 GB, free: 55.18 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/2.995, allocations: 47.61 kB / 0.7405 GB, free: 55.13 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/2.996, allocations: 303.1 kB / 0.7408 GB, free: 54.8 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/2.996, allocations: 8 kB / 0.7408 GB, free: 54.79 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/2.996, allocations: 15.97 kB / 0.7408 GB, free: 54.78 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003661/2.996, allocations: 173.2 kB / 0.741 GB, free: 54.61 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/2.997, allocations: 302.1 kB / 0.7413 GB, free: 54.28 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/2.997, allocations: 3.438 kB / 0.7413 GB, free: 54.28 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/2.997, allocations: 11.97 kB / 0.7413 GB, free: 54.27 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.39e-06/2.997, allocations: 8 kB / 0.7413 GB, free: 54.26 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/2.999, allocations: 2.064 MB / 0.7433 GB, free: 52.01 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/2.999, allocations: 142.2 kB / 0.7435 GB, free: 51.87 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/2.999, allocations: 81.25 kB / 0.7435 GB, free: 51.79 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/2.999, allocations: 268.8 kB / 0.7438 GB, free: 51.47 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/2.999, allocations: 38.42 kB / 0.7438 GB, free: 51.43 MB / 392.6 MB Notification: Performance of pre-optimization done (n=24): time 3.815e-06/2.999, allocations: 0 / 0.7438 GB, free: 51.43 MB / 392.6 MB Notification: Performance of matching and sorting (n=30): time 0.003909/3.003, allocations: 0.9492 MB / 0.7448 GB, free: 50.41 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/3.003, allocations: 62.22 kB / 0.7448 GB, free: 50.34 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/3.003, allocations: 200 kB / 0.745 GB, free: 50.13 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/3.003, allocations: 25.7 kB / 0.745 GB, free: 50.1 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/3.004, allocations: 246.4 kB / 0.7453 GB, free: 49.86 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/3.004, allocations: 98.55 kB / 0.7454 GB, free: 49.76 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/3.004, allocations: 0 / 0.7454 GB, free: 49.76 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.531e-05/3.004, allocations: 334 kB / 0.7457 GB, free: 49.43 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/3.004, allocations: 76.75 kB / 0.7458 GB, free: 49.35 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/3.004, allocations: 161.9 kB / 0.7459 GB, free: 49.16 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/3.005, allocations: 150.2 kB / 0.7461 GB, free: 49.02 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/3.005, allocations: 7.375 kB / 0.7461 GB, free: 49.02 MB / 392.6 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001496/3.007, allocations: 361.8 kB / 0.7464 GB, free: 48.65 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/3.007, allocations: 4 kB / 0.7464 GB, free: 48.65 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/3.007, allocations: 4 kB / 0.7464 GB, free: 48.64 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/3.007, allocations: 87.72 kB / 0.7465 GB, free: 48.56 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/3.007, allocations: 75.89 kB / 0.7466 GB, free: 48.48 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007913/3.008, allocations: 0.6849 MB / 0.7472 GB, free: 47.78 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/3.009, allocations: 15.92 kB / 0.7472 GB, free: 47.76 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/3.009, allocations: 36 kB / 0.7473 GB, free: 47.73 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.466e-05/3.009, allocations: 75.28 kB / 0.7474 GB, free: 47.65 MB / 392.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001287/3.01, allocations: 319.6 kB / 0.7477 GB, free: 47.34 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-05/3.01, allocations: 27.62 kB / 0.7477 GB, free: 47.31 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/3.013, allocations: 0.6977 MB / 0.7484 GB, free: 46.64 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/3.013, allocations: 11.98 kB / 0.7484 GB, free: 46.63 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.965e-06/3.013, allocations: 0 / 0.7484 GB, free: 46.63 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/3.014, allocations: 0.7228 MB / 0.7491 GB, free: 45.81 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/3.016, allocations: 0.8959 MB / 0.75 GB, free: 44.87 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-06/3.016, allocations: 4 kB / 0.75 GB, free: 44.87 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/3.016, allocations: 39.97 kB / 0.75 GB, free: 44.83 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/3.016, allocations: 80.73 kB / 0.7501 GB, free: 44.75 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/3.016, allocations: 8.094 kB / 0.7501 GB, free: 44.74 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006799/3.017, allocations: 0.6655 MB / 0.7507 GB, free: 44.05 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/3.017, allocations: 7.906 kB / 0.7507 GB, free: 44.04 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00152/3.019, allocations: 0.7181 MB / 0.7514 GB, free: 43.3 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/3.019, allocations: 108.7 kB / 0.7515 GB, free: 43.18 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/3.019, allocations: 0 / 0.7515 GB, free: 43.18 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/3.019, allocations: 23.95 kB / 0.7516 GB, free: 43.15 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/3.019, allocations: 23.97 kB / 0.7516 GB, free: 43.13 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/3.019, allocations: 27.98 kB / 0.7516 GB, free: 43.1 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.000144/3.019, allocations: 160.5 kB / 0.7518 GB, free: 42.95 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0009636/3.02, allocations: 235.9 kB / 0.752 GB, free: 42.71 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.00229/3.023, allocations: 1.467 MB / 0.7534 GB, free: 41.25 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0006952/3.023, allocations: 327.3 kB / 0.7537 GB, free: 40.93 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/3.023, allocations: 0 / 0.7537 GB, free: 40.93 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/3.024, allocations: 216.7 kB / 0.754 GB, free: 40.71 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/3.025, allocations: 136.2 kB / 0.7541 GB, free: 40.58 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03721/3.062, allocations: 15.15 MB / 0.7689 GB, free: 25.38 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007014/3.063, allocations: 0.9522 MB / 0.7698 GB, free: 24.39 MB / 392.6 MB Notification: Performance of SimCode: time 7.76e-07/3.063, allocations: 0 / 0.7698 GB, free: 24.39 MB / 392.6 MB Notification: Performance of translateModelFMU complete: time 0.01538/3.078, allocations: 10.87 MB / 0.7804 GB, free: 13.52 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_Glycol47CalcHelperMain.o OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47CalcHelperMain.cpp In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47CalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_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 Modelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.so OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_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/Modelica 3.2.2/Media" -lOMCppDgesv_static OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_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/Modelica_3.2.2_fmi_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47/./OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47Functions.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_Glycol47_FMU.makefile:93: recipe for target 'Modelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu' failed make: *** [Modelica_3_2_2_fmi_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu] Error 1