Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.014e-05, allocations: 4 kB / 347 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3261, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.097/2.423, allocations: 0.7929 GB / 1.192 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/2.423, allocations: 94.67 kB / 1.192 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.035/5.459, allocations: 0.7268 GB / 1.919 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.024e-06/5.459, allocations: 4 kB / 1.919 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.1e-05/5.459, allocations: 23.98 kB / 1.919 GB, free: 15.02 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004558/5.463, allocations: 1.392 MB / 1.92 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/5.463, allocations: 12.03 kB / 1.92 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/5.465, allocations: 286.5 kB / 1.921 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/5.467, allocations: 0.6614 MB / 1.921 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/5.468, allocations: 117.4 kB / 1.921 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/5.468, allocations: 67.98 kB / 1.922 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/5.47, allocations: 1.216 MB / 1.923 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/5.47, allocations: 7.938 kB / 1.923 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/5.471, allocations: 35.98 kB / 1.923 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/5.471, allocations: 61.28 kB / 1.923 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/5.473, allocations: 1.002 MB / 1.924 GB, free: 9.996 MB / 0.5417 GB 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.009042/5.482, allocations: 4.812 MB / 1.929 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/5.483, allocations: 258.1 kB / 1.929 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/5.483, allocations: 141.3 kB / 1.929 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/5.483, allocations: 267.5 kB / 1.929 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/5.483, allocations: 42.78 kB / 1.929 GB, free: 4.113 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=28): time 4.452e-06/5.483, allocations: 4 kB / 1.929 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.006791/5.49, allocations: 1.605 MB / 1.931 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/5.49, allocations: 132.5 kB / 1.931 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/5.492, allocations: 0.8133 MB / 1.932 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.65e-05/5.492, allocations: 33.7 kB / 1.932 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/5.493, allocations: 0.593 MB / 1.932 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/5.493, allocations: 126.3 kB / 1.932 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/5.493, allocations: 24 kB / 1.932 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002115/5.493, allocations: 354.8 kB / 1.933 GB, free: 276 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/5.494, allocations: 266.5 kB / 1.933 GB, free: 12 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3692/5.863, allocations: 0.8373 MB / 1.934 GB, free: 94.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/5.864, allocations: 446.5 kB / 1.934 GB, free: 94.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.222e-05/5.864, allocations: 5.844 kB / 1.934 GB, free: 94.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002818/5.867, allocations: 1.105 MB / 1.935 GB, free: 94.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/5.867, allocations: 17.75 kB / 1.935 GB, free: 94.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/5.867, allocations: 19.66 kB / 1.935 GB, free: 94.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/5.869, allocations: 279.6 kB / 1.936 GB, free: 94.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/5.869, allocations: 204.5 kB / 1.936 GB, free: 94.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/5.871, allocations: 0.905 MB / 1.937 GB, free: 94.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/5.872, allocations: 67.08 kB / 1.937 GB, free: 94.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/5.872, allocations: 69.58 kB / 1.937 GB, free: 94.07 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002393/5.872, allocations: 181.4 kB / 1.937 GB, free: 93.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/5.872, allocations: 96.48 kB / 1.937 GB, free: 93.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/5.874, allocations: 0.5046 MB / 1.938 GB, free: 93.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.936e-06/5.874, allocations: 6.828 kB / 1.938 GB, free: 93.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.809e-06/5.874, allocations: 0.7031 kB / 1.938 GB, free: 93.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.15e-06/5.874, allocations: 1.594 kB / 1.938 GB, free: 93.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/5.876, allocations: 1.113 MB / 1.939 GB, free: 93.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-06/5.876, allocations: 0 / 1.939 GB, free: 93.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/5.877, allocations: 183 kB / 1.939 GB, free: 93.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/5.877, allocations: 22.08 kB / 1.939 GB, free: 93.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/5.877, allocations: 15.89 kB / 1.939 GB, free: 93.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/5.879, allocations: 2.67 MB / 1.942 GB, free: 91.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.974e-06/5.879, allocations: 2.656 kB / 1.942 GB, free: 91.03 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/5.88, allocations: 0.6942 MB / 1.942 GB, free: 90.86 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/5.881, allocations: 204 kB / 1.942 GB, free: 90.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/5.881, allocations: 10.86 kB / 1.942 GB, free: 90.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000637/5.882, allocations: 29.08 kB / 1.942 GB, free: 90.72 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/5.882, allocations: 24.06 kB / 1.942 GB, free: 90.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/5.882, allocations: 17.92 kB / 1.943 GB, free: 90.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001077/5.883, allocations: 0.6093 MB / 1.943 GB, free: 90.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.02e-07/5.883, allocations: 0 / 1.943 GB, free: 90.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002135/5.885, allocations: 489.1 kB / 1.944 GB, free: 90.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003315/5.888, allocations: 1.298 MB / 1.945 GB, free: 90.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001617/5.89, allocations: 0.6219 MB / 1.945 GB, free: 90.42 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.826e-06/5.89, allocations: 7.156 kB / 1.945 GB, free: 90.42 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009321/5.891, allocations: 334.5 kB / 1.946 GB, free: 90.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/5.893, allocations: 410.7 kB / 1.946 GB, free: 90.31 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/5.896, allocations: 1.222 MB / 1.947 GB, free: 89.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/5.896, allocations: 1.048 MB / 1.948 GB, free: 89.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/5.897, allocations: 84.14 kB / 1.948 GB, free: 89.26 MB / 0.5417 GB Notification: Performance of SimCode: time 1.728e-06/5.897, allocations: 2.406 kB / 1.948 GB, free: 89.26 MB / 0.5417 GB Notification: Performance of Templates: time 0.03673/5.934, allocations: 26.62 MB / 1.974 GB, free: 88.73 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionAlgLoopMain.cpp:18: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionAlgloop69.cpp:88:65: error: use of undeclared identifier '_Closure94_Modelica_Fluid_Pipes__omcQuot_537461746963506970652473686F727450697065_Medium_T__hX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure94_Modelica_Fluid_Pipes__omcQuot_537461746963506970652473686F727450697065_Medium_T__hX_f__nonlinear(_functions, /*box double*/_system->_volume_P_ports2_P_h_outflow_, /*box BaseArray*//*t4*/tmp423, /*box bool*/true, /*box int*/1, /*box double*/0.0), 200.0, 6000.0, 1e-13, tmp424); ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o] Error 1