Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [: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.414/1.414, allocations: 289.8 MB / 297.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 189.2 kB / 366.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.113/1.113, allocations: 205.1 MB / 0.6256 GB, free: 11.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008129/0.0008129, allocations: 90.17 kB / 0.7396 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.392e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 116.3 MB / 0.9726 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.5548, allocations: 138.4 MB / 1.108 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.5551, allocations: 73.09 kB / 1.108 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.01591/0.571, allocations: 5.868 MB / 1.114 GB, free: 16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.571, allocations: 3 kB / 1.114 GB, free: 16 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003716/0.5714, allocations: 0.5406 MB / 1.114 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.5714, allocations: 8.719 kB / 1.114 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.68e-05/0.5715, allocations: 25.97 kB / 1.114 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.5717, allocations: 217.9 kB / 1.114 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5717, allocations: 8.125 kB / 1.114 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.5717, allocations: 19 kB / 1.114 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.722e-05/0.5718, allocations: 47.78 kB / 1.114 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.572, allocations: 114.8 kB / 1.114 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.572, allocations: 0.75 kB / 1.115 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.572, allocations: 1.938 kB / 1.115 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.572, allocations: 2.062 kB / 1.115 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.5727, allocations: 0.8542 MB / 1.115 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.243e-05/0.5728, allocations: 109.1 kB / 1.115 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.5729, allocations: 49.78 kB / 1.115 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.5729, allocations: 6.672 kB / 1.115 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.5731, allocations: 138.6 kB / 1.116 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.5731, allocations: 3.938 kB / 1.116 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16): time 0.0002616/0.5733, allocations: 151.6 kB / 1.116 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.5734, allocations: 137.8 kB / 1.116 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.5735, allocations: 206.6 kB / 1.116 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.5736, allocations: 32.95 kB / 1.116 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.5737, allocations: 112.8 kB / 1.116 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.5737, allocations: 35.28 kB / 1.116 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.5737, allocations: 6.094 kB / 1.116 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.5738, allocations: 332.3 kB / 1.117 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.574, allocations: 131.4 kB / 1.117 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.5743, allocations: 207.1 kB / 1.117 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.5748, allocations: 166.2 kB / 1.117 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5748, allocations: 1.672 kB / 1.117 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009808/0.5758, allocations: 434.1 kB / 1.117 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.5758, allocations: 5.594 kB / 1.118 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5759, allocations: 7.125 kB / 1.118 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5759, allocations: 4.766 kB / 1.118 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.5759, allocations: 18.53 kB / 1.118 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.576, allocations: 5.266 kB / 1.118 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.5766, allocations: 163.5 kB / 1.118 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.5767, allocations: 26.41 kB / 1.118 GB, free: 13.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 8.204e-05/0.5768, allocations: 121.5 kB / 1.118 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.5768, allocations: 21.89 kB / 1.118 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.5768, allocations: 21.97 kB / 1.118 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5768, allocations: 7.031 kB / 1.118 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5769, allocations: 5.438 kB / 1.118 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5769, allocations: 2.109 kB / 1.118 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.577, allocations: 227.3 kB / 1.118 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.577, allocations: 0.9688 kB / 1.118 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.5771, allocations: 14.58 kB / 1.118 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5771, allocations: 1.156 kB / 1.118 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.5771, allocations: 7.891 kB / 1.118 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5771, allocations: 1.75 kB / 1.118 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5771, allocations: 1.188 kB / 1.118 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001918/0.5773, allocations: 225 kB / 1.118 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.5774, allocations: 95.41 kB / 1.118 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.5774, allocations: 11.55 kB / 1.118 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.5775, allocations: 1.891 kB / 1.118 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.5775, allocations: 14.61 kB / 1.118 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.5776, allocations: 7.125 kB / 1.118 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001014/0.5777, allocations: 161.5 kB / 1.119 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003002/0.578, allocations: 61.44 kB / 1.119 GB, free: 12.83 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001212/0.5781, allocations: 120.6 kB / 1.119 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004332/0.5785, allocations: 350.7 kB / 1.119 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5785, allocations: 0 / 1.119 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.5786, allocations: 61.52 kB / 1.119 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.579, allocations: 66.84 kB / 1.119 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.5794, allocations: 232.1 kB / 1.119 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.5797, allocations: 0.7593 MB / 1.12 GB, free: 27.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5797, allocations: 0 / 1.12 GB, free: 27.75 MB / 0.698 GB Notification: Performance of Templates: time 0.006517/0.5862, allocations: 3.77 MB / 1.124 GB, free: 27.44 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)