Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.5/1.5, allocations: 289.8 MB / 297.1 MB, free: 12.61 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 176.2 kB / 366.3 MB, free: 11.91 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 0.6256 GB, free: 2.027 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001108, allocations: 96.52 kB / 0.7395 GB, free: 47.06 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.885e-06, allocations: 4 kB / 0.859 GB, free: 7.195 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4761, allocations: 116.3 MB / 0.9725 GB, free: 81.47 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.627, allocations: 140.2 MB / 1.109 GB, free: 3.801 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.6272, allocations: 75.95 kB / 1.11 GB, free: 3.727 MB / 0.7058 GB Notification: Performance of FrontEnd: time 0.008995/0.6362, allocations: 3.163 MB / 1.113 GB, free: 0.6016 MB / 0.7058 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.6363, allocations: 0 / 1.113 GB, free: 0.6016 MB / 0.7058 GB 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.0005713/0.6369, allocations: 454.5 kB / 1.113 GB, free: 116 kB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.6369, allocations: 8.875 kB / 1.113 GB, free: 108 kB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.637, allocations: 19.72 kB / 1.113 GB, free: 88 kB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.6373, allocations: 223.6 kB / 1.113 GB, free: 15.83 MB / 0.7214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6373, allocations: 5.25 kB / 1.113 GB, free: 15.82 MB / 0.7214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.6374, allocations: 8 kB / 1.113 GB, free: 15.82 MB / 0.7214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001023/0.6375, allocations: 32 kB / 1.113 GB, free: 15.79 MB / 0.7214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.6376, allocations: 127.5 kB / 1.113 GB, free: 15.64 MB / 0.7214 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6377, allocations: 0 / 1.113 GB, free: 15.64 MB / 0.7214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.6377, allocations: 0 / 1.113 GB, free: 15.64 MB / 0.7214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.6377, allocations: 4.562 kB / 1.113 GB, free: 15.64 MB / 0.7214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.6386, allocations: 0.7085 MB / 1.114 GB, free: 14.88 MB / 0.7214 GB Notification: Performance of preOpt comSubExp (simulation): time 6.81e-05/0.6387, allocations: 34.56 kB / 1.114 GB, free: 14.83 MB / 0.7214 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.6387, allocations: 20.86 kB / 1.114 GB, free: 14.81 MB / 0.7214 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.6387, allocations: 0 / 1.114 GB, free: 14.81 MB / 0.7214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.6389, allocations: 106.7 kB / 1.114 GB, free: 14.68 MB / 0.7214 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.6389, allocations: 0.9375 kB / 1.114 GB, free: 14.68 MB / 0.7214 GB Notification: Performance of matching and sorting (n=11): time 0.0002353/0.6391, allocations: 98.47 kB / 1.114 GB, free: 14.58 MB / 0.7214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.6392, allocations: 132.5 kB / 1.115 GB, free: 14.42 MB / 0.7214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.6393, allocations: 157.4 kB / 1.115 GB, free: 14.25 MB / 0.7214 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.6394, allocations: 25.7 kB / 1.115 GB, free: 14.22 MB / 0.7214 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.6394, allocations: 119.9 kB / 1.115 GB, free: 14.1 MB / 0.7214 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.6395, allocations: 43.59 kB / 1.115 GB, free: 14.06 MB / 0.7214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.6395, allocations: 0 / 1.115 GB, free: 14.06 MB / 0.7214 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6396, allocations: 322.8 kB / 1.115 GB, free: 13.73 MB / 0.7214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.6397, allocations: 28.38 kB / 1.115 GB, free: 13.7 MB / 0.7214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.6398, allocations: 129.7 kB / 1.115 GB, free: 13.53 MB / 0.7214 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.397e-05/0.6399, allocations: 39.92 kB / 1.115 GB, free: 13.49 MB / 0.7214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6399, allocations: 0 / 1.115 GB, free: 13.49 MB / 0.7214 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002285/0.6401, allocations: 157.2 kB / 1.115 GB, free: 13.33 MB / 0.7214 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.6401, allocations: 5.562 kB / 1.115 GB, free: 13.32 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6401, allocations: 4 kB / 1.115 GB, free: 13.32 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.6402, allocations: 8 kB / 1.116 GB, free: 13.31 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.6403, allocations: 36.39 kB / 1.116 GB, free: 13.28 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.6403, allocations: 12.8 kB / 1.116 GB, free: 13.27 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.6405, allocations: 23.89 kB / 1.116 GB, free: 13.24 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.6405, allocations: 9.031 kB / 1.116 GB, free: 13.23 MB / 0.7214 GB 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 7.483e-05/0.6406, allocations: 124.9 kB / 1.116 GB, free: 13.11 MB / 0.7214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.6406, allocations: 19.81 kB / 1.116 GB, free: 13.09 MB / 0.7214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.6407, allocations: 22.03 kB / 1.116 GB, free: 13.07 MB / 0.7214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6407, allocations: 4 kB / 1.116 GB, free: 13.06 MB / 0.7214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6407, allocations: 3.984 kB / 1.116 GB, free: 13.06 MB / 0.7214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6407, allocations: 4 kB / 1.116 GB, free: 13.05 MB / 0.7214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.6413, allocations: 460 kB / 1.116 GB, free: 12.56 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6413, allocations: 0 / 1.116 GB, free: 12.56 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.6414, allocations: 23.98 kB / 1.116 GB, free: 12.54 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6414, allocations: 0 / 1.116 GB, free: 12.54 MB / 0.7214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.6415, allocations: 9.016 kB / 1.116 GB, free: 12.53 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6415, allocations: 0 / 1.116 GB, free: 12.53 MB / 0.7214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6415, allocations: 11.94 kB / 1.116 GB, free: 12.52 MB / 0.7214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003019/0.6418, allocations: 337.4 kB / 1.117 GB, free: 12.15 MB / 0.7214 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.6418, allocations: 92.92 kB / 1.117 GB, free: 12.04 MB / 0.7214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.6419, allocations: 0 / 1.117 GB, free: 12.04 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.6421, allocations: 15.98 kB / 1.117 GB, free: 12.02 MB / 0.7214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.6421, allocations: 21.38 kB / 1.117 GB, free: 12 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.6421, allocations: 12.11 kB / 1.117 GB, free: 11.99 MB / 0.7214 GB Notification: Performance of sort global known variables: time 9.372e-05/0.6422, allocations: 120.4 kB / 1.117 GB, free: 11.88 MB / 0.7214 GB Notification: Performance of remove unused functions: time 0.0003145/0.6426, allocations: 31.88 kB / 1.117 GB, free: 11.84 MB / 0.7214 GB 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.0001231/0.6427, allocations: 104.9 kB / 1.117 GB, free: 11.73 MB / 0.7214 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.6429, allocations: 76.75 kB / 1.117 GB, free: 11.66 MB / 0.7214 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6429, allocations: 0 / 1.117 GB, free: 11.66 MB / 0.7214 GB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.6429, allocations: 40.05 kB / 1.117 GB, free: 11.62 MB / 0.7214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.6434, allocations: 58.08 kB / 1.117 GB, free: 11.56 MB / 0.7214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.6439, allocations: 245.1 kB / 1.117 GB, free: 11.29 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.6442, allocations: 0.747 MB / 1.118 GB, free: 10.52 MB / 0.7214 GB Notification: Performance of SimCode: time 3.61e-07/0.6442, allocations: 4 kB / 1.118 GB, free: 10.52 MB / 0.7214 GB Notification: Performance of Templates: time 0.004184/0.6483, allocations: 1.758 MB / 1.12 GB, free: 8.816 MB / 0.7214 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)