Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.066e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.3837/0.5145, allocations: 16.43 MB / 427.4 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.5269, allocations: 4.311 MB / 431.7 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.5283, allocations: 23.97 kB / 431.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.5295, allocations: 242.5 kB / 431.9 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004956/0.5345, allocations: 1.215 MB / 433.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004379/0.5389, allocations: 1.071 MB / 434.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002628/0.5416, allocations: 0.8541 MB / 435.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008566/0.5425, allocations: 340.8 kB / 435.4 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008244/0.5508, allocations: 3.031 MB / 438.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.5542, allocations: 1.14 MB / 439.6 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004344/0.5586, allocations: 1.199 MB / 440.8 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006352/0.5593, allocations: 45.94 kB / 440.8 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000434/0.5597, allocations: 215 kB / 441 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005389/0.5603, allocations: 79.69 kB / 441.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.5632, allocations: 0.9658 MB / 442.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5633, allocations: 1.188 kB / 442.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.5633, allocations: 0 / 442.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.656e-05/0.5633, allocations: 0 / 442.1 MB, free: 1.406 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002717/0.5661, allocations: 0.91 MB / 443 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5661, allocations: 8.906 kB / 443 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.5677, allocations: 144 kB / 443.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5691, allocations: 0.4961 MB / 443.6 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.5693, allocations: 103.6 kB / 443.7 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.5694, allocations: 51.34 kB / 443.8 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.5717, allocations: 0.8272 MB / 444.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.5718, allocations: 4.938 kB / 444.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.5719, allocations: 27.97 kB / 444.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.604e-05/0.572, allocations: 32.98 kB / 444.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.5741, allocations: 0.6058 MB / 445.3 MB, free: 15.45 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00809/0.5822, allocations: 4.708 MB / 450 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.5834, allocations: 333.7 kB / 450.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/0.5838, allocations: 419.8 kB / 450.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.5839, allocations: 38.22 kB / 450.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.236e-06/0.5839, allocations: 0 / 450.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.006553/0.5905, allocations: 1.539 MB / 452.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.5906, allocations: 137.2 kB / 452.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.5918, allocations: 0.571 MB / 453 MB, free: 8.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.592, allocations: 37.61 kB / 453 MB, free: 8.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.5924, allocations: 422.2 kB / 453.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.5925, allocations: 131.8 kB / 453.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.5926, allocations: 10.81 kB / 453.6 MB, free: 8.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5928, allocations: 338.9 kB / 453.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.5934, allocations: 206.9 kB / 454.1 MB, free: 7.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008724/0.5943, allocations: 0.4932 MB / 454.6 MB, free: 7.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.5951, allocations: 288.4 kB / 454.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.5951, allocations: 7.469 kB / 454.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002336/0.5975, allocations: 0.8214 MB / 455.7 MB, free: 6.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.5975, allocations: 8.688 kB / 455.7 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.5976, allocations: 9.469 kB / 455.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.5996, allocations: 284.6 kB / 456 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00078/0.6004, allocations: 124.9 kB / 456.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.6023, allocations: 1.399 MB / 457.6 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.6033, allocations: 38.67 kB / 457.6 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.6035, allocations: 42.14 kB / 457.6 MB, free: 5.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006188/0.6041, allocations: 245.7 kB / 457.9 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.6043, allocations: 69.38 kB / 457.9 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.6069, allocations: 0.7045 MB / 458.6 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.607, allocations: 5.375 kB / 458.7 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.607, allocations: 4 kB / 458.7 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.607, allocations: 3.953 kB / 458.7 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.6103, allocations: 1.216 MB / 459.9 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6104, allocations: 5.375 kB / 459.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.6107, allocations: 38.48 kB / 459.9 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.6121, allocations: 193.8 kB / 460.1 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.6121, allocations: 15.33 kB / 460.1 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.6137, allocations: 1.291 MB / 461.4 MB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6137, allocations: 0 / 461.4 MB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.616, allocations: 0.828 MB / 462.2 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005571/0.6166, allocations: 190 kB / 462.4 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.6168, allocations: 19.09 kB / 462.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007092/0.6175, allocations: 22.78 kB / 462.5 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.6176, allocations: 28.27 kB / 462.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.6177, allocations: 22.55 kB / 462.5 MB, free: 1.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000867/0.6185, allocations: 442.3 kB / 462.9 MB, free: 1.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6186, allocations: 0 / 462.9 MB, free: 1.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001281/0.6199, allocations: 248.4 kB / 463.2 MB, free: 1.363 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008298/0.6207, allocations: 270.1 kB / 463.5 MB, free: 1.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.6224, allocations: 0.4964 MB / 464 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.6224, allocations: 0 / 464 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000816/0.6232, allocations: 225.4 kB / 464.2 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.6258, allocations: 309.2 kB / 464.5 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.6293, allocations: 1.511 MB / 466 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.63, allocations: 0.9422 MB / 466.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.6304, allocations: 67.41 kB / 467 MB, free: 14.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.793e-06/0.6304, allocations: 0 / 467 MB, free: 14.57 MB / 378.7 MB Notification: Performance of Templates: time 0.03539/0.6658, allocations: 16.2 MB / 483.2 MB, free: 14.42 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650CalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650AlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650Algloop124.cpp:72:65: error: use of undeclared identifier '_Closure6_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure6_f__nonlinear(_functions, /*box double*/_system->_volume_P_vessel_ps_static_(2), /*box double*/_system->_volume_P_ports2_P_h_outflow_), 273.15, 593.15, 1e-13, tmp182); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650CalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650AlgLoopMain.cpp:21: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650Algloop71.cpp:72:65: error: use of undeclared identifier '_Closure7_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure7_f__nonlinear(_functions, /*box double*/_system->_volume_P_vessel_ps_static_(2), /*box double*/_system->_volume_P_ports2_P_h_outflow_), 273.15, 593.15, 1e-13, tmp194); ^ 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650CalcHelperMain.o] Error 1