Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.875e-05, allocations: 0 / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1318, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.6017/0.7336, allocations: 143.6 MB / 0.5415 GB, free: 8.66 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.7376, allocations: 1.712 MB / 0.5432 GB, free: 6.945 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.738, allocations: 11.88 kB / 0.5432 GB, free: 6.934 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.7386, allocations: 155.3 kB / 0.5433 GB, free: 6.781 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.7393, allocations: 203.3 kB / 0.5435 GB, free: 6.582 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.744, allocations: 1.215 MB / 0.5447 GB, free: 5.363 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009471/0.7449, allocations: 412.6 kB / 0.5451 GB, free: 4.957 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.7454, allocations: 222.3 kB / 0.5453 GB, free: 4.742 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003714/0.7491, allocations: 1.146 MB / 0.5464 GB, free: 3.594 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005401/0.7497, allocations: 203.4 kB / 0.5466 GB, free: 3.395 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006159/0.7559, allocations: 2.317 MB / 0.5489 GB, free: 1.074 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006771/0.7566, allocations: 88 kB / 0.549 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.7569, allocations: 163.6 kB / 0.5491 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.7572, allocations: 52 kB / 0.5492 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.7607, allocations: 1.258 MB / 0.5504 GB, free: 15.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7607, allocations: 4 kB / 0.5504 GB, free: 15.52 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.7607, allocations: 0 / 0.5504 GB, free: 15.52 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.7607, allocations: 0 / 0.5504 GB, free: 15.52 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002308/0.7631, allocations: 0.8989 MB / 0.5513 GB, free: 14.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.7631, allocations: 8.031 kB / 0.5513 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.7635, allocations: 55.44 kB / 0.5514 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.7643, allocations: 370 kB / 0.5517 GB, free: 14.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.7643, allocations: 33 kB / 0.5517 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.7644, allocations: 36 kB / 0.5518 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.7659, allocations: 0.5157 MB / 0.5523 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.766, allocations: 11.92 kB / 0.5523 GB, free: 13.47 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.7661, allocations: 20 kB / 0.5523 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.7661, allocations: 8 kB / 0.5523 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.7676, allocations: 499.6 kB / 0.5528 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.7722, allocations: 1.979 MB / 0.5547 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.7735, allocations: 473 kB / 0.5552 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.7747, allocations: 0.9375 MB / 0.5561 GB, free: 9.188 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.7748, allocations: 42.55 kB / 0.5561 GB, free: 9.137 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 2.966e-06/0.7748, allocations: 0 / 0.5561 GB, free: 9.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.001966/0.7768, allocations: 0.5011 MB / 0.5566 GB, free: 8.629 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.7769, allocations: 110.8 kB / 0.5567 GB, free: 8.496 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.7775, allocations: 356.8 kB / 0.5571 GB, free: 8.141 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/0.7776, allocations: 37.7 kB / 0.5571 GB, free: 8.098 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.7778, allocations: 266.7 kB / 0.5574 GB, free: 7.836 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.778, allocations: 98.47 kB / 0.5575 GB, free: 7.738 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.778, allocations: 8 kB / 0.5575 GB, free: 7.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7782, allocations: 326.8 kB / 0.5578 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.7788, allocations: 152.6 kB / 0.5579 GB, free: 7.254 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.7795, allocations: 266.2 kB / 0.5582 GB, free: 6.949 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.7802, allocations: 244.3 kB / 0.5584 GB, free: 6.699 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7802, allocations: 3.938 kB / 0.5584 GB, free: 6.695 MB / 474.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001655/0.7818, allocations: 0.5435 MB / 0.5589 GB, free: 6.133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/0.7819, allocations: 67.34 kB / 0.559 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.782, allocations: 4 kB / 0.559 GB, free: 6.051 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.782, allocations: 4 kB / 0.559 GB, free: 6.047 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.7827, allocations: 91.83 kB / 0.5591 GB, free: 5.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.7828, allocations: 4.344 kB / 0.5591 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.7835, allocations: 55.48 kB / 0.5592 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/0.7836, allocations: 23.98 kB / 0.5592 GB, free: 5.875 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003759/0.784, allocations: 189.6 kB / 0.5594 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.7842, allocations: 39.53 kB / 0.5594 GB, free: 5.641 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.7859, allocations: 0.4983 MB / 0.5599 GB, free: 5.125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.7859, allocations: 4 kB / 0.5599 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7859, allocations: 0 / 0.5599 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.786, allocations: 0 / 0.5599 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/0.7906, allocations: 2.446 MB / 0.5623 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.7906, allocations: 4 kB / 0.5623 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.7913, allocations: 63.89 kB / 0.5623 GB, free: 2.262 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.7913, allocations: 4 kB / 0.5623 GB, free: 2.258 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.7913, allocations: 8 kB / 0.5624 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.405e-06/0.7913, allocations: 4.188 kB / 0.5624 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7914, allocations: 4 kB / 0.5624 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.7928, allocations: 0.7348 MB / 0.5631 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.793, allocations: 148.4 kB / 0.5632 GB, free: 1.258 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.7932, allocations: 12.05 kB / 0.5632 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/0.794, allocations: 27.92 kB / 0.5633 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.7941, allocations: 35.86 kB / 0.5633 GB, free: 1.184 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.7942, allocations: 27.92 kB / 0.5633 GB, free: 1.156 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006688/0.7949, allocations: 351.1 kB / 0.5637 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7949, allocations: 0 / 0.5637 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001497/0.7964, allocations: 335.7 kB / 0.564 GB, free: 500 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/0.7981, allocations: 483.1 kB / 0.5644 GB, free: 20 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.7996, allocations: 479.1 kB / 0.5649 GB, free: 15.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.7996, allocations: 0 / 0.5649 GB, free: 15.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.8002, allocations: 167.7 kB / 0.5651 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.8024, allocations: 249.8 kB / 0.5653 GB, free: 15.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.8046, allocations: 0.9615 MB / 0.5662 GB, free: 14.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.8052, allocations: 0.851 MB / 0.5671 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.8055, allocations: 47.42 kB / 0.5671 GB, free: 13.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8055, allocations: 0 / 0.5671 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Templates: time 0.02794/0.8334, allocations: 11.29 MB / 0.5781 GB, free: 1.949 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesFunctions.cpp:650:34: error: use of undeclared identifier 'boundary_prescriberho_1_' tmp133.push_back(Slice(1, 1, boundary_prescriberho_1_.Medium_.nXi_)); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesFunctions.cpp:1067:34: error: use of undeclared identifier 'boundary_prescriberho_2_' tmp164.push_back(Slice(1, 1, boundary_prescriberho_2_.Medium_.nXi_)); ^ 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o] Error 1