Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.003968/0.003968, allocations: 175.9 kB / 7.449 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.671/1.671, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00179/0.00179, allocations: 115.9 kB / 217.7 MB, free: 8.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2232/0.2232, allocations: 37.98 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.111e-05, allocations: 1.125 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.494/8.625, allocations: 3.622 GB / 4.011 GB, free: 70.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/8.626, allocations: 83.95 kB / 4.011 GB, free: 70.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.338/9.964, allocations: 302 MB / 4.306 GB, free: 65.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.712e-05/9.964, allocations: 15.58 kB / 4.306 GB, free: 65.95 MB / 426.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.006972/9.971, allocations: 1.593 MB / 4.308 GB, free: 64.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/9.971, allocations: 10.84 kB / 4.308 GB, free: 64.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000609/9.972, allocations: 57.36 kB / 4.308 GB, free: 64.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/9.973, allocations: 402.1 kB / 4.308 GB, free: 64.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/9.973, allocations: 11.16 kB / 4.308 GB, free: 64.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/9.973, allocations: 21.38 kB / 4.308 GB, free: 64.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009854/9.974, allocations: 427.1 kB / 4.309 GB, free: 64.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/9.975, allocations: 443.6 kB / 4.309 GB, free: 64.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/9.975, allocations: 0 / 4.309 GB, free: 64.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/9.975, allocations: 0 / 4.309 GB, free: 64.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/9.975, allocations: 15.5 kB / 4.309 GB, free: 64.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004639/9.98, allocations: 2.729 MB / 4.312 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008446/9.981, allocations: 327.7 kB / 4.312 GB, free: 62.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/9.981, allocations: 92.75 kB / 4.312 GB, free: 62.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/9.981, allocations: 98.91 kB / 4.312 GB, free: 62.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/9.981, allocations: 37.59 kB / 4.312 GB, free: 62.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.075e-06/9.981, allocations: 0 / 4.312 GB, free: 62.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007494/9.982, allocations: 238 kB / 4.313 GB, free: 62.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/9.982, allocations: 108.1 kB / 4.313 GB, free: 61.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/9.983, allocations: 287.5 kB / 4.313 GB, free: 61.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/9.983, allocations: 29.48 kB / 4.313 GB, free: 61.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/9.983, allocations: 244.3 kB / 4.313 GB, free: 61.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/9.983, allocations: 74.56 kB / 4.313 GB, free: 61.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/9.983, allocations: 3.938 kB / 4.313 GB, free: 61.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/9.983, allocations: 344.7 kB / 4.314 GB, free: 61.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/9.983, allocations: 96.72 kB / 4.314 GB, free: 61.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/9.983, allocations: 274.5 kB / 4.314 GB, free: 61.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/9.984, allocations: 242.4 kB / 4.314 GB, free: 61.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/9.984, allocations: 3.531 kB / 4.314 GB, free: 61.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00116/9.985, allocations: 486.9 kB / 4.315 GB, free: 60.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/9.985, allocations: 3.094 kB / 4.315 GB, free: 60.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/9.985, allocations: 12.77 kB / 4.315 GB, free: 60.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/9.986, allocations: 12.84 kB / 4.315 GB, free: 60.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/9.986, allocations: 109.2 kB / 4.315 GB, free: 60.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/9.986, allocations: 6.531 kB / 4.315 GB, free: 60.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/9.986, allocations: 54.64 kB / 4.315 GB, free: 60.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/9.987, allocations: 25.12 kB / 4.315 GB, free: 60.95 MB / 426.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.0001371/9.987, allocations: 125.2 kB / 4.315 GB, free: 60.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/9.987, allocations: 38.44 kB / 4.315 GB, free: 60.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006331/9.987, allocations: 291.9 kB / 4.315 GB, free: 60.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/9.987, allocations: 3.469 kB / 4.315 GB, free: 60.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/9.987, allocations: 0 / 4.315 GB, free: 60.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/9.988, allocations: 7.391 kB / 4.315 GB, free: 60.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/9.989, allocations: 1.006 MB / 4.316 GB, free: 60.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/9.989, allocations: 7.188 kB / 4.316 GB, free: 60.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/9.989, allocations: 50.42 kB / 4.316 GB, free: 60.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/9.989, allocations: 6.25 kB / 4.316 GB, free: 60.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/9.989, allocations: 6.969 kB / 4.316 GB, free: 60.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/9.989, allocations: 11.05 kB / 4.316 GB, free: 60.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/9.989, allocations: 3.781 kB / 4.316 GB, free: 60.12 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00057/9.99, allocations: 0.573 MB / 4.317 GB, free: 59.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/9.99, allocations: 117.7 kB / 4.317 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/9.99, allocations: 6.469 kB / 4.317 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/9.99, allocations: 19.66 kB / 4.317 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/9.99, allocations: 27.69 kB / 4.317 GB, free: 59.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/9.99, allocations: 10 kB / 4.317 GB, free: 59.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002386/9.991, allocations: 218 kB / 4.317 GB, free: 59.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002164/9.993, allocations: 448.9 kB / 4.318 GB, free: 59.32 MB / 426.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.003483/9.996, allocations: 1.393 MB / 4.319 GB, free: 59.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005422/9.997, allocations: 294.5 kB / 4.319 GB, free: 58.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/9.997, allocations: 3.875 kB / 4.319 GB, free: 58.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/9.997, allocations: 86.89 kB / 4.32 GB, free: 58.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/9.998, allocations: 153.9 kB / 4.32 GB, free: 58.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/9.999, allocations: 0.5591 MB / 4.32 GB, free: 58.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/10, allocations: 0.8853 MB / 4.321 GB, free: 57.96 MB / 426.7 MB Notification: Performance of SimCode: time 6.02e-07/10, allocations: 0 / 4.321 GB, free: 57.96 MB / 426.7 MB Notification: Performance of Templates: time 0.03075/10.03, allocations: 15.08 MB / 4.336 GB, free: 56.57 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1)