Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 270 MB / 282.7 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.059e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3263, allocations: 61.88 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.575/8.902, allocations: 3.555 GB / 3.954 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/8.902, allocations: 95.5 kB / 3.954 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.963/10.87, allocations: 413.3 MB / 4.358 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.99e-06/10.87, allocations: 4 kB / 4.358 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.119e-05/10.87, allocations: 20 kB / 4.358 GB, free: 15.28 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006876/10.87, allocations: 2.214 MB / 4.36 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/10.87, allocations: 8.031 kB / 4.36 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000649/10.87, allocations: 113.2 kB / 4.36 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/10.87, allocations: 0.627 MB / 4.361 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/10.87, allocations: 117.9 kB / 4.361 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/10.87, allocations: 75.94 kB / 4.361 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/10.88, allocations: 1.125 MB / 4.362 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/10.88, allocations: 0 / 4.362 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/10.88, allocations: 28 kB / 4.362 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.367e-05/10.88, allocations: 61.97 kB / 4.362 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/10.88, allocations: 1.105 MB / 4.363 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007305/10.89, allocations: 4.663 MB / 4.368 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/10.89, allocations: 0.7837 MB / 4.369 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/10.89, allocations: 414.4 kB / 4.369 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/10.89, allocations: 1.626 MB / 4.371 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/10.89, allocations: 51.06 kB / 4.371 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 4.632e-06/10.89, allocations: 0 / 4.371 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.3533/11.24, allocations: 3.627 MB / 4.374 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/11.24, allocations: 112.4 kB / 4.374 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009436/11.25, allocations: 0.581 MB / 4.375 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/11.25, allocations: 40.17 kB / 4.375 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/11.25, allocations: 415 kB / 4.375 GB, free: 69.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/11.25, allocations: 288.9 kB / 4.376 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/11.25, allocations: 17 kB / 4.376 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/11.25, allocations: 353.9 kB / 4.376 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/11.25, allocations: 440.8 kB / 4.376 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/11.25, allocations: 0.6972 MB / 4.377 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/11.25, allocations: 0.5372 MB / 4.378 GB, free: 68.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.154e-06/11.25, allocations: 3.375 kB / 4.378 GB, free: 68.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003332/11.25, allocations: 1.464 MB / 4.379 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/11.25, allocations: 8.438 kB / 4.379 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/11.25, allocations: 10.5 kB / 4.379 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009505/11.26, allocations: 1.335 MB / 4.38 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009681/11.26, allocations: 155.2 kB / 4.38 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/11.27, allocations: 1.419 MB / 4.382 GB, free: 68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/11.27, allocations: 98.12 kB / 4.382 GB, free: 68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/11.27, allocations: 55.58 kB / 4.382 GB, free: 68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0003446/11.27, allocations: 171.1 kB / 4.382 GB, free: 67.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/11.27, allocations: 79.34 kB / 4.382 GB, free: 67.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003456/11.27, allocations: 1.543 MB / 4.384 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/11.27, allocations: 15.19 kB / 4.384 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/11.27, allocations: 1.375 kB / 4.384 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/11.27, allocations: 3.656 kB / 4.384 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/11.28, allocations: 2.5 MB / 4.386 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/11.28, allocations: 3.75 kB / 4.386 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/11.28, allocations: 260.6 kB / 4.386 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/11.28, allocations: 307.4 kB / 4.387 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/11.28, allocations: 35.7 kB / 4.387 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/11.28, allocations: 2.158 MB / 4.389 GB, free: 65.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.256e-06/11.28, allocations: 6.812 kB / 4.389 GB, free: 65.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004115/11.29, allocations: 1.935 MB / 4.391 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/11.29, allocations: 298.2 kB / 4.391 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/11.29, allocations: 25.89 kB / 4.391 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/11.29, allocations: 74.69 kB / 4.391 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/11.29, allocations: 60.7 kB / 4.391 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/11.29, allocations: 46.55 kB / 4.391 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007614/11.29, allocations: 483.2 kB / 4.392 GB, free: 64.81 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.71e-07/11.29, allocations: 0 / 4.392 GB, free: 64.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003203/11.29, allocations: 0.7819 MB / 4.392 GB, free: 64.81 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004105/11.3, allocations: 1.516 MB / 4.394 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002813/11.3, allocations: 1.129 MB / 4.395 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.49e-06/11.3, allocations: 0 / 4.395 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/11.3, allocations: 0.6324 MB / 4.396 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/11.31, allocations: 472.8 kB / 4.396 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/11.31, allocations: 1.724 MB / 4.398 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/11.31, allocations: 1.06 MB / 4.399 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/11.31, allocations: 94.73 kB / 4.399 GB, free: 63.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.898e-06/11.31, allocations: 2.656 kB / 4.399 GB, free: 63.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.04782/11.36, allocations: 30.81 MB / 4.429 GB, free: 62.53 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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.Air.MoistAirCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirAlgLoopMain.cpp:18: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirAlgloop82.cpp:117:65: error: use of undeclared identifier '_Closure60_Modelica_Fluid_Pipes__omcQuot_537461746963506970652473686F727450697065_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure60_Modelica_Fluid_Pipes__omcQuot_537461746963506970652473686F727450697065_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[2], /*box double*/_system->_volume_P_ports2_P_h_outflow_, /*box BaseArray*/tmp461), 190.0, 647.0, 1e-13, tmp462); ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o] Error 1