Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6967/0.6967, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 181.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 97.81 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.208e-06/9.247e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1659, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.54/4.706, allocations: 2.159 GB / 2.78 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/4.707, allocations: 91.94 kB / 2.78 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.756/7.462, allocations: 0.6576 GB / 3.438 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001723/7.463, allocations: 26.78 kB / 3.438 GB, free: 100.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.006801/7.469, allocations: 1.438 MB / 3.439 GB, free: 99.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.194e-05/7.47, allocations: 9.188 kB / 3.439 GB, free: 99.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/7.473, allocations: 270.6 kB / 3.44 GB, free: 99.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003873/7.477, allocations: 0.8462 MB / 3.44 GB, free: 99.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/7.477, allocations: 34.91 kB / 3.44 GB, free: 99.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/7.477, allocations: 63.16 kB / 3.44 GB, free: 99.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003114/7.481, allocations: 0.9171 MB / 3.441 GB, free: 99.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/7.484, allocations: 1.103 MB / 3.442 GB, free: 98.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/7.484, allocations: 4.938 kB / 3.442 GB, free: 98.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/7.484, allocations: 2.938 kB / 3.442 GB, free: 98.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/7.484, allocations: 36.47 kB / 3.442 GB, free: 98.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009951/7.494, allocations: 6.058 MB / 3.448 GB, free: 94.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/7.495, allocations: 0.565 MB / 3.449 GB, free: 94.03 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/7.496, allocations: 303.9 kB / 3.449 GB, free: 93.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005641/7.497, allocations: 223.2 kB / 3.449 GB, free: 93.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/7.497, allocations: 43.62 kB / 3.449 GB, free: 93.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.366e-06/7.497, allocations: 0 / 3.449 GB, free: 93.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.002008/7.499, allocations: 0.6055 MB / 3.45 GB, free: 93.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/7.499, allocations: 86.58 kB / 3.45 GB, free: 93.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/7.5, allocations: 0.566 MB / 3.451 GB, free: 93.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/7.5, allocations: 28.39 kB / 3.451 GB, free: 93.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/7.501, allocations: 469.8 kB / 3.451 GB, free: 92.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/7.501, allocations: 189.7 kB / 3.451 GB, free: 92.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/7.501, allocations: 1.094 kB / 3.451 GB, free: 92.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001802/7.501, allocations: 385.9 kB / 3.452 GB, free: 92.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/7.502, allocations: 256 kB / 3.452 GB, free: 92.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007299/7.502, allocations: 0.5948 MB / 3.453 GB, free: 91.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008812/7.503, allocations: 406.2 kB / 3.453 GB, free: 91.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/7.503, allocations: 2.719 kB / 3.453 GB, free: 91.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001887/7.505, allocations: 0.8704 MB / 3.454 GB, free: 91.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/7.505, allocations: 8.203 kB / 3.454 GB, free: 91.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/7.505, allocations: 10.94 kB / 3.454 GB, free: 91.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.255e-05/7.505, allocations: 14.62 kB / 3.454 GB, free: 91.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/7.506, allocations: 179.9 kB / 3.454 GB, free: 91.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/7.506, allocations: 20.31 kB / 3.454 GB, free: 91.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/7.507, allocations: 127.8 kB / 3.454 GB, free: 91.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/7.508, allocations: 44.58 kB / 3.454 GB, free: 91.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 1 * 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.0002027/7.508, allocations: 124 kB / 3.454 GB, free: 90.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/7.508, allocations: 84.83 kB / 3.454 GB, free: 90.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/7.509, allocations: 0.6054 MB / 3.455 GB, free: 90.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/7.509, allocations: 9.656 kB / 3.455 GB, free: 90.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/7.509, allocations: 0 / 3.455 GB, free: 90.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009234/7.51, allocations: 0.5143 MB / 3.455 GB, free: 90.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/7.514, allocations: 1.567 MB / 3.457 GB, free: 89.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/7.514, allocations: 3.469 kB / 3.457 GB, free: 89.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/7.515, allocations: 114.7 kB / 3.457 GB, free: 89.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/7.515, allocations: 3.625 kB / 3.457 GB, free: 89.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/7.515, allocations: 6.188 kB / 3.457 GB, free: 89.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/7.515, allocations: 14.77 kB / 3.457 GB, free: 89.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/7.515, allocations: 2.578 kB / 3.457 GB, free: 89.71 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001815/7.517, allocations: 1.192 MB / 3.458 GB, free: 89.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/7.517, allocations: 237.3 kB / 3.459 GB, free: 88.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/7.517, allocations: 7.531 kB / 3.459 GB, free: 88.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/7.518, allocations: 60.59 kB / 3.459 GB, free: 88.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/7.518, allocations: 34.47 kB / 3.459 GB, free: 88.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/7.518, allocations: 23.36 kB / 3.459 GB, free: 88.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0007346/7.519, allocations: 428.7 kB / 3.459 GB, free: 88.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002293/7.522, allocations: 466.8 kB / 3.459 GB, free: 88.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.004452/7.526, allocations: 2.166 MB / 3.462 GB, free: 87.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001213/7.527, allocations: 0.6367 MB / 3.462 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/7.527, allocations: 7.938 kB / 3.462 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/7.528, allocations: 268 kB / 3.462 GB, free: 87.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/7.53, allocations: 377.3 kB / 3.463 GB, free: 87.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/7.534, allocations: 1.562 MB / 3.464 GB, free: 86.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/7.535, allocations: 1.254 MB / 3.466 GB, free: 85.97 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/7.535, allocations: 0 / 3.466 GB, free: 85.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.0484/7.584, allocations: 25.53 MB / 3.491 GB, free: 67.99 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)