Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") [: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.6904/0.6904, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001036/0.001036, allocations: 185.3 kB / 164.4 MB, free: 6.871 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.599/1.599, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.001215/0.001214, allocations: 87.11 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.071e-05/1.105e-05, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1992, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5579/0.7572, allocations: 103.8 MB / 0.7223 GB, free: 8.527 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.7575, allocations: 75.95 kB / 0.7224 GB, free: 8.453 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.009445/0.767, allocations: 3.202 MB / 0.7255 GB, free: 5.258 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.767, allocations: 8 kB / 0.7255 GB, free: 5.25 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006371/0.7677, allocations: 434.5 kB / 0.726 GB, free: 4.781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.7677, allocations: 12.03 kB / 0.726 GB, free: 4.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.7678, allocations: 15.81 kB / 0.726 GB, free: 4.754 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.7681, allocations: 234.7 kB / 0.7262 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.7682, allocations: 4 kB / 0.7262 GB, free: 4.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.7682, allocations: 11.91 kB / 0.7262 GB, free: 4.469 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/0.7683, allocations: 35.98 kB / 0.7263 GB, free: 4.434 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.7685, allocations: 117.9 kB / 0.7264 GB, free: 4.297 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.7685, allocations: 4 kB / 0.7264 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.7686, allocations: 4 kB / 0.7264 GB, free: 4.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.7686, allocations: 4 kB / 0.7264 GB, free: 4.285 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.7696, allocations: 0.7085 MB / 0.7271 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.348e-05/0.7696, allocations: 39.44 kB / 0.7271 GB, free: 3.477 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.7697, allocations: 20.86 kB / 0.7271 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.7697, allocations: 0 / 0.7271 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.7699, allocations: 106.6 kB / 0.7272 GB, free: 3.324 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.7699, allocations: 0 / 0.7272 GB, free: 3.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.000262/0.7702, allocations: 97.42 kB / 0.7273 GB, free: 3.223 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.7702, allocations: 132.5 kB / 0.7274 GB, free: 3.062 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.7704, allocations: 153.5 kB / 0.7276 GB, free: 2.906 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.7704, allocations: 25.7 kB / 0.7276 GB, free: 2.875 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.7705, allocations: 119.8 kB / 0.7277 GB, free: 2.754 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.7706, allocations: 35.45 kB / 0.7278 GB, free: 2.719 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.7706, allocations: 4 kB / 0.7278 GB, free: 2.715 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7707, allocations: 326.9 kB / 0.7281 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.7708, allocations: 24.38 kB / 0.7281 GB, free: 2.359 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.7709, allocations: 135.8 kB / 0.7282 GB, free: 2.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.771, allocations: 39.92 kB / 0.7283 GB, free: 2.141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.771, allocations: 0 / 0.7283 GB, free: 2.141 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002337/0.7712, allocations: 149.5 kB / 0.7284 GB, free: 1.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7712, allocations: 8 kB / 0.7284 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7713, allocations: 4 kB / 0.7284 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.7713, allocations: 4 kB / 0.7284 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.7714, allocations: 40.67 kB / 0.7285 GB, free: 1.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.7715, allocations: 11.84 kB / 0.7285 GB, free: 1.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.7716, allocations: 28.19 kB / 0.7285 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.7716, allocations: 8 kB / 0.7285 GB, free: 1.887 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001191/0.7718, allocations: 124.6 kB / 0.7286 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.7718, allocations: 15.81 kB / 0.7286 GB, free: 1.742 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.7719, allocations: 21.39 kB / 0.7287 GB, free: 1.723 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7719, allocations: 4 kB / 0.7287 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7719, allocations: 3.938 kB / 0.7287 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.7719, allocations: 4 kB / 0.7287 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.7725, allocations: 466.4 kB / 0.7291 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.7725, allocations: 3.984 kB / 0.7291 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.7726, allocations: 23.98 kB / 0.7291 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7726, allocations: 0 / 0.7291 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.7727, allocations: 7.906 kB / 0.7292 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.7727, allocations: 3.938 kB / 0.7292 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7727, allocations: 7.938 kB / 0.7292 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003171/0.773, allocations: 339.2 kB / 0.7295 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.7731, allocations: 88.92 kB / 0.7296 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.7731, allocations: 12.12 kB / 0.7296 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.7733, allocations: 23.97 kB / 0.7296 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.7734, allocations: 7.984 kB / 0.7296 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.7734, allocations: 4 kB / 0.7296 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.548e-05/0.7735, allocations: 127.2 kB / 0.7297 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.7738, allocations: 35.84 kB / 0.7298 GB, free: 492 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001899/0.774, allocations: 103.2 kB / 0.7299 GB, free: 380 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.7742, allocations: 71.88 kB / 0.7299 GB, free: 308 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7742, allocations: 112 / 0.7299 GB, free: 308 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.7743, allocations: 40.86 kB / 0.73 GB, free: 268 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.7748, allocations: 55.36 kB / 0.73 GB, free: 216 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.7754, allocations: 247.6 kB / 0.7303 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.7757, allocations: 0.751 MB / 0.731 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of SimCode: time 3e-07/0.7757, allocations: 0 / 0.731 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.004665/0.7804, allocations: 1.764 MB / 0.7327 GB, free: 13.41 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)