Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003778/0.003777, allocations: 183.7 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.25/1.25, allocations: 194.2 MB / 202.1 MB, free: 8.75 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001953/0.001953, allocations: 115.8 kB / 247.1 MB, free: 6.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1749/0.1749, allocations: 39.94 MB / 331.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.443e-06/6.473e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09032, allocations: 54.87 MB / 447.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.514/6.604, allocations: 3.629 GB / 4.066 GB, free: 39.47 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/6.604, allocations: 83.95 kB / 4.066 GB, free: 39.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.137/7.741, allocations: 303.8 MB / 4.363 GB, free: 84.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.229e-05/7.741, allocations: 13.16 kB / 4.363 GB, free: 84.74 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.005966/7.747, allocations: 1.589 MB / 4.365 GB, free: 83.63 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/7.747, allocations: 13.06 kB / 4.365 GB, free: 83.63 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/7.748, allocations: 56.34 kB / 4.365 GB, free: 83.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009335/7.749, allocations: 404.4 kB / 4.365 GB, free: 83.37 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/7.749, allocations: 14.88 kB / 4.365 GB, free: 83.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/7.749, allocations: 23.25 kB / 4.365 GB, free: 83.37 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007995/7.75, allocations: 428.3 kB / 4.366 GB, free: 83.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/7.75, allocations: 440.8 kB / 4.366 GB, free: 83.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/7.751, allocations: 3.938 kB / 4.366 GB, free: 83.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/7.751, allocations: 0 / 4.366 GB, free: 83.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/7.751, allocations: 7.438 kB / 4.366 GB, free: 83.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/7.754, allocations: 2.843 MB / 4.369 GB, free: 81.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/7.755, allocations: 324.1 kB / 4.369 GB, free: 80.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/7.755, allocations: 95.41 kB / 4.369 GB, free: 80.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/7.755, allocations: 98.61 kB / 4.369 GB, free: 80.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/7.755, allocations: 41.53 kB / 4.369 GB, free: 80.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/7.755, allocations: 0 / 4.369 GB, free: 80.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.000572/7.756, allocations: 235.5 kB / 4.37 GB, free: 80.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/7.756, allocations: 106.6 kB / 4.37 GB, free: 80.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/7.756, allocations: 288.1 kB / 4.37 GB, free: 80.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/7.756, allocations: 29.58 kB / 4.37 GB, free: 80.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/7.756, allocations: 247.6 kB / 4.37 GB, free: 80.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/7.756, allocations: 72.8 kB / 4.37 GB, free: 80.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/7.756, allocations: 0 / 4.37 GB, free: 80.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/7.756, allocations: 349 kB / 4.371 GB, free: 79.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/7.756, allocations: 97.58 kB / 4.371 GB, free: 79.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/7.757, allocations: 268.5 kB / 4.371 GB, free: 79.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/7.757, allocations: 236 kB / 4.371 GB, free: 79.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/7.757, allocations: 3.562 kB / 4.371 GB, free: 79.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009695/7.758, allocations: 486.3 kB / 4.372 GB, free: 79.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/7.758, allocations: 5.188 kB / 4.372 GB, free: 79.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/7.758, allocations: 15.31 kB / 4.372 GB, free: 79.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/7.758, allocations: 11.59 kB / 4.372 GB, free: 79.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/7.759, allocations: 106.6 kB / 4.372 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/7.759, allocations: 14.98 kB / 4.372 GB, free: 79.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/7.759, allocations: 58.55 kB / 4.372 GB, free: 79.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/7.759, allocations: 25.66 kB / 4.372 GB, free: 79.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (53): * Single equations (assignments): 51 * 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.0001037/7.759, allocations: 129.1 kB / 4.372 GB, free: 79.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/7.76, allocations: 33.75 kB / 4.372 GB, free: 79.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/7.76, allocations: 283.6 kB / 4.372 GB, free: 78.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/7.76, allocations: 2 kB / 4.372 GB, free: 78.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/7.76, allocations: 10.58 kB / 4.372 GB, free: 78.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/7.76, allocations: 0 / 4.372 GB, free: 78.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/7.761, allocations: 1.021 MB / 4.373 GB, free: 78.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/7.761, allocations: 3.812 kB / 4.373 GB, free: 78.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/7.762, allocations: 47.8 kB / 4.373 GB, free: 78.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/7.762, allocations: 4 kB / 4.373 GB, free: 78.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/7.762, allocations: 12.53 kB / 4.373 GB, free: 78.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/7.762, allocations: 3.969 kB / 4.373 GB, free: 78.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/7.762, allocations: 3.812 kB / 4.373 GB, free: 78.14 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005669/7.762, allocations: 0.5705 MB / 4.374 GB, free: 77.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/7.762, allocations: 117.4 kB / 4.374 GB, free: 77.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.408e-05/7.763, allocations: 9.734 kB / 4.374 GB, free: 77.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/7.763, allocations: 23.02 kB / 4.374 GB, free: 77.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/7.763, allocations: 20.19 kB / 4.374 GB, free: 77.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/7.763, allocations: 11.75 kB / 4.374 GB, free: 77.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002427/7.763, allocations: 219.1 kB / 4.374 GB, free: 77.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002113/7.765, allocations: 440.9 kB / 4.375 GB, free: 77.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.003605/7.769, allocations: 1.395 MB / 4.376 GB, free: 76.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005501/7.769, allocations: 302.3 kB / 4.376 GB, free: 76.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/7.769, allocations: 1.344 kB / 4.376 GB, free: 76.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/7.77, allocations: 91.11 kB / 4.376 GB, free: 76.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/7.77, allocations: 146.1 kB / 4.377 GB, free: 76.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/7.772, allocations: 0.5799 MB / 4.377 GB, free: 76.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/7.772, allocations: 0.8773 MB / 4.378 GB, free: 75.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/7.772, allocations: 3.969 kB / 4.378 GB, free: 75.6 MB / 474.7 MB Notification: Performance of Templates: time 0.02883/7.801, allocations: 15.09 MB / 4.393 GB, free: 67.57 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1)