Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 270 MB / 282.7 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.227e-05, allocations: 4 kB / 347 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 61.88 MB / 408.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.258/8.58, allocations: 3.468 GB / 3.867 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/8.581, allocations: 85.91 kB / 3.867 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.231/15.81, allocations: 1.43 GB / 5.297 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.169e-06/15.81, allocations: 0 / 5.297 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002551/15.81, allocations: 58.67 kB / 5.297 GB, free: 29.88 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.02628/15.84, allocations: 7.02 MB / 5.304 GB, free: 25.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/15.84, allocations: 7.219 kB / 5.304 GB, free: 25.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/15.84, allocations: 285.1 kB / 5.304 GB, free: 25.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004981/15.85, allocations: 1.553 MB / 5.306 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/15.85, allocations: 148 kB / 5.306 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008642/15.85, allocations: 182.5 kB / 5.306 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00711/15.85, allocations: 3.035 MB / 5.309 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.879e-05/15.85, allocations: 3.75 kB / 5.309 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004376/15.85, allocations: 77.66 kB / 5.309 GB, free: 24.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002941/15.85, allocations: 193.4 kB / 5.309 GB, free: 24.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00797/15.86, allocations: 3.333 MB / 5.312 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02857/15.89, allocations: 12.44 MB / 5.325 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/15.89, allocations: 1.625 MB / 5.326 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/15.9, allocations: 1.082 MB / 5.327 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/15.9, allocations: 1.667 MB / 5.329 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/15.9, allocations: 67.81 kB / 5.329 GB, free: 6.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002775/15.9, allocations: 363.3 kB / 5.329 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=153): time 7.733e-06/15.9, allocations: 0 / 5.329 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of matching and sorting (n=165): time 0.02776/15.93, allocations: 7.179 MB / 5.336 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/15.93, allocations: 201.2 kB / 5.337 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/15.93, allocations: 1.814 MB / 5.338 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.00057/15.93, allocations: 65.64 kB / 5.338 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009273/15.94, allocations: 0.9067 MB / 5.339 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009934/15.94, allocations: 0.5778 MB / 5.34 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/15.94, allocations: 40 kB / 5.34 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002818/15.94, allocations: 395.1 kB / 5.34 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/15.94, allocations: 1.215 MB / 5.341 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/15.94, allocations: 1.554 MB / 5.343 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/15.95, allocations: 1.464 MB / 5.344 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/15.95, allocations: 7.984 kB / 5.344 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0101/15.96, allocations: 3.485 MB / 5.348 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001627/15.96, allocations: 2.938 MB / 5.351 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/15.96, allocations: 8 kB / 5.351 GB, free: 252 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4597/16.42, allocations: 1.191 MB / 5.352 GB, free: 48.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/16.42, allocations: 498.8 kB / 5.352 GB, free: 48.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/16.43, allocations: 2.019 MB / 5.354 GB, free: 47.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/16.43, allocations: 191.4 kB / 5.354 GB, free: 47.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006744/16.43, allocations: 137.2 kB / 5.355 GB, free: 47.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/16.43, allocations: 3.625 kB / 5.355 GB, free: 47.28 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01107/16.44, allocations: 3.573 MB / 5.358 GB, free: 47.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/16.44, allocations: 7.812 kB / 5.358 GB, free: 47.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005727/16.45, allocations: 0.8467 MB / 5.359 GB, free: 47.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/16.45, allocations: 0.4968 MB / 5.359 GB, free: 47.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/16.45, allocations: 1.785 MB / 5.361 GB, free: 46.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/16.46, allocations: 188.1 kB / 5.361 GB, free: 46.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004931/16.46, allocations: 128.8 kB / 5.361 GB, free: 46.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.0007945/16.46, allocations: 222.5 kB / 5.362 GB, free: 46.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007324/16.46, allocations: 229.8 kB / 5.362 GB, free: 46.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009229/16.47, allocations: 3.94 MB / 5.366 GB, free: 45.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/16.47, allocations: 15.19 kB / 5.366 GB, free: 45.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.795e-06/16.47, allocations: 0 / 5.366 GB, free: 45.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/16.47, allocations: 14.5 kB / 5.366 GB, free: 45.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/16.48, allocations: 5.793 MB / 5.371 GB, free: 45.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/16.48, allocations: 7.75 kB / 5.371 GB, free: 45.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/16.49, allocations: 298.2 kB / 5.372 GB, free: 45.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007701/16.49, allocations: 1.048 MB / 5.373 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004715/16.49, allocations: 63 kB / 5.373 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/16.5, allocations: 1.926 MB / 5.375 GB, free: 44.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.229e-06/16.5, allocations: 6.625 kB / 5.375 GB, free: 44.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/16.51, allocations: 4.638 MB / 5.379 GB, free: 43.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/16.51, allocations: 404.1 kB / 5.38 GB, free: 43.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006778/16.51, allocations: 46.84 kB / 5.38 GB, free: 43.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002675/16.51, allocations: 164.7 kB / 5.38 GB, free: 43.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/16.51, allocations: 125 kB / 5.38 GB, free: 43.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003467/16.51, allocations: 102.6 kB / 5.38 GB, free: 43.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002974/16.52, allocations: 1.508 MB / 5.381 GB, free: 43.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.642e-06/16.52, allocations: 0 / 5.381 GB, free: 43.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01098/16.53, allocations: 3.09 MB / 5.384 GB, free: 43.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 148 * 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 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01146/16.54, allocations: 3.914 MB / 5.388 GB, free: 42.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01125/16.55, allocations: 4.583 MB / 5.393 GB, free: 42.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/16.55, allocations: 6.938 kB / 5.393 GB, free: 42.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002969/16.55, allocations: 1.178 MB / 5.394 GB, free: 42.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007605/16.56, allocations: 1.223 MB / 5.395 GB, free: 42.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008495/16.57, allocations: 3.717 MB / 5.399 GB, free: 41.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/16.57, allocations: 1.708 MB / 5.4 GB, free: 40.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/16.57, allocations: 267.7 kB / 5.401 GB, free: 40.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.671e-06/16.57, allocations: 2.062 kB / 5.401 GB, free: 40.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.1361/16.71, allocations: 89.06 MB / 5.488 GB, free: 35.46 MB / 0.6198 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop696.cpp:113:65: error: use of undeclared identifier '_Closure64_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706531_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure64_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706531_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[3], /*box double*/_system->_junction_P_port_1_P_h_outflow_, /*box BaseArray*//*t4*/tmp1260), 190.0, 647.0, 1e-13, tmp1261); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop696.cpp:141:65: error: use of undeclared identifier '_Closure65_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706534_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure65_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706534_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[3], /*box double*/_system->_junction_P_port_3_P_h_outflow_, /*box BaseArray*/_system->_pipe4_P_port_b_P_Xi_outflow_), 190.0, 647.0, 1e-13, tmp1272); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgLoopMain.cpp:18: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop207.cpp:144:65: error: use of undeclared identifier '_Closure66_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706534_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure66_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706534_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[3], /*box double*/_system->_junction_P_port_3_P_h_outflow_, /*box BaseArray*/_system->_pipe4_P_port_b_P_Xi_outflow_), 190.0, 647.0, 1e-13, tmp1307); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop207.cpp:148:65: error: use of undeclared identifier '_Closure67_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706531_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure67_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706531_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[3], /*box double*/_system->_junction_P_port_1_P_h_outflow_, /*box BaseArray*//*t4*/tmp1308), 190.0, 647.0, 1e-13, tmp1309); ^ 4 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.o] Error 1