Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.292/2.292, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001629/0.001629, allocations: 181.2 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001191, allocations: 88.77 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.212e-05/1.228e-05, allocations: 4 kB / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6137, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.018/5.632, allocations: 2.127 GB / 3.09 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/5.632, allocations: 96.38 kB / 3.09 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.092/8.725, allocations: 0.6558 GB / 3.746 GB, free: 179 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001196/8.725, allocations: 29.31 kB / 3.746 GB, free: 179 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004342/8.729, allocations: 1.323 MB / 3.747 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/8.729, allocations: 10.94 kB / 3.747 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/8.732, allocations: 263 kB / 3.747 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/8.736, allocations: 1.108 MB / 3.748 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/8.737, allocations: 31.81 kB / 3.748 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/8.737, allocations: 55.81 kB / 3.748 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00245/8.739, allocations: 0.7725 MB / 3.749 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/8.742, allocations: 1.004 MB / 3.75 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/8.742, allocations: 5.219 kB / 3.75 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/8.742, allocations: 0 / 3.75 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/8.742, allocations: 32.22 kB / 3.75 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008488/8.751, allocations: 5.677 MB / 3.756 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/8.752, allocations: 0.5222 MB / 3.756 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/8.752, allocations: 299.5 kB / 3.756 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008186/8.753, allocations: 315.6 kB / 3.757 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/8.753, allocations: 41.16 kB / 3.757 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=49): time 3.106e-06/8.753, allocations: 0 / 3.757 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.002283/8.756, allocations: 0.6058 MB / 3.757 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/8.756, allocations: 55.81 kB / 3.757 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/8.757, allocations: 0.5173 MB / 3.758 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/8.757, allocations: 29.05 kB / 3.758 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/8.757, allocations: 420.4 kB / 3.758 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/8.757, allocations: 171 kB / 3.759 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/8.758, allocations: 0 / 3.759 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001459/8.758, allocations: 390.9 kB / 3.759 GB, free: 173 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/8.758, allocations: 227.6 kB / 3.759 GB, free: 173 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007802/8.759, allocations: 0.5583 MB / 3.76 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000984/8.76, allocations: 371.4 kB / 3.76 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/8.76, allocations: 7.188 kB / 3.76 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002129/8.762, allocations: 0.782 MB / 3.761 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/8.762, allocations: 4.812 kB / 3.761 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/8.762, allocations: 15.75 kB / 3.761 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/8.762, allocations: 13.72 kB / 3.761 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/8.763, allocations: 159.2 kB / 3.761 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/8.764, allocations: 14.97 kB / 3.761 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/8.765, allocations: 104.4 kB / 3.761 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/8.765, allocations: 36.28 kB / 3.761 GB, free: 172.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.0002198/8.766, allocations: 133.8 kB / 3.761 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/8.766, allocations: 77.41 kB / 3.761 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/8.768, allocations: 0.6157 MB / 3.762 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/8.768, allocations: 3.906 kB / 3.762 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/8.768, allocations: 0 / 3.762 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/8.769, allocations: 0.5159 MB / 3.762 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/8.773, allocations: 1.557 MB / 3.764 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/8.773, allocations: 10.8 kB / 3.764 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/8.774, allocations: 109.7 kB / 3.764 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/8.774, allocations: 3.375 kB / 3.764 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/8.774, allocations: 16.86 kB / 3.764 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/8.774, allocations: 3.938 kB / 3.764 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/8.774, allocations: 7.203 kB / 3.764 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002302/8.777, allocations: 1.121 MB / 3.765 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007294/8.778, allocations: 217.5 kB / 3.765 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/8.778, allocations: 6.719 kB / 3.765 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/8.779, allocations: 59.81 kB / 3.765 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/8.779, allocations: 25.95 kB / 3.765 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/8.779, allocations: 20.88 kB / 3.766 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007247/8.78, allocations: 401 kB / 3.766 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002068/8.782, allocations: 427.4 kB / 3.766 GB, free: 171.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.003841/8.786, allocations: 2.124 MB / 3.768 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00165/8.787, allocations: 0.572 MB / 3.769 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/8.787, allocations: 0 / 3.769 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/8.788, allocations: 260.8 kB / 3.769 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/8.792, allocations: 360.1 kB / 3.77 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/8.796, allocations: 1.493 MB / 3.771 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/8.798, allocations: 1.211 MB / 3.772 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.343e-06/8.798, allocations: 0 / 3.772 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.06271/8.86, allocations: 23.96 MB / 3.796 GB, free: 169.1 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)