Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [: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.0.1-maint.8.0.x/package.mo): time 1.305/1.305, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.000942/0.000942, allocations: 181.3 kB / 361.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9766/0.9766, allocations: 205.1 MB / 0.6195 GB, free: 10.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000741/0.000741, allocations: 85.72 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.169e-06/5.19e-06, allocations: 0 / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3917, allocations: 115.3 MB / 0.9637 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.5245, allocations: 138.4 MB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.5247, allocations: 93.14 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006805/0.5316, allocations: 2.101 MB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5316, allocations: 4 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004796/0.5321, allocations: 420 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.5321, allocations: 12.53 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.5322, allocations: 13.84 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5323, allocations: 178.1 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5323, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.5324, allocations: 8 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001047/0.5325, allocations: 30.06 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.5326, allocations: 65.67 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5326, allocations: 0 / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5326, allocations: 4 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5326, allocations: 4.75 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.5332, allocations: 359.5 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.5332, allocations: 39.38 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.5333, allocations: 16.86 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.5333, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.427e-05/0.5334, allocations: 75.27 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.5334, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001674/0.5336, allocations: 61.69 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5336, allocations: 55.31 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.5337, allocations: 124.7 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.5337, allocations: 25.7 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.5338, allocations: 100 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.5338, allocations: 11.81 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.5338, allocations: 0 / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.534, allocations: 318.8 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.534, allocations: 35.98 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.5342, allocations: 67.98 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.5344, allocations: 44.45 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5344, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003321/0.5347, allocations: 135.2 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.5347, allocations: 6.25 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5347, allocations: 96 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5348, allocations: 8 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.5349, allocations: 12.69 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.5349, allocations: 2.109 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.5351, allocations: 67.8 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.5352, allocations: 7.984 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 7.125e-05/0.5352, allocations: 105 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.5353, allocations: 7.906 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.5353, allocations: 8.375 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5353, allocations: 4 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5353, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5353, allocations: 0.7969 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.5354, allocations: 174.1 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5355, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.5355, allocations: 16.73 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5355, allocations: 0 / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.5356, allocations: 4 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5356, allocations: 3.938 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5356, allocations: 0 / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001258/0.5357, allocations: 94.22 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.5357, allocations: 81.02 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.5358, allocations: 4 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.5359, allocations: 15.98 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.5359, allocations: 15.3 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.5359, allocations: 8 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.743e-05/0.536, allocations: 91.27 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002409/0.5362, allocations: 20 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0001353/0.5364, allocations: 123 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.5366, allocations: 94.88 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5366, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.5367, allocations: 23.94 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.5368, allocations: 12.11 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.5371, allocations: 108.2 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.5374, allocations: 0.7036 MB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.5374, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.00342/0.5408, allocations: 1.402 MB / 1.106 GB, free: 9.883 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)