Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") [: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.303/1.303, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009418/0.0009418, allocations: 177.2 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 1.011/1.011, allocations: 205.1 MB / 0.6195 GB, free: 11.91 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.0007975/0.0007976, allocations: 89.98 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.64e-06, allocations: 0 / 0.8511 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.421, allocations: 115.3 MB / 0.9637 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.5651, allocations: 146 MB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.5654, allocations: 77.61 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03144/0.5968, allocations: 12 MB / 1.118 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.145e-05/0.5969, allocations: 12 kB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001274/0.5982, allocations: 0.9487 MB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.5982, allocations: 12.53 kB / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.5983, allocations: 90.88 kB / 1.119 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/0.599, allocations: 492 kB / 1.12 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.5991, allocations: 23.91 kB / 1.12 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/0.5992, allocations: 40 kB / 1.12 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006418/0.5998, allocations: 366.6 kB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.6006, allocations: 0.4918 MB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.6006, allocations: 3.984 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.6007, allocations: 0.9375 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.6007, allocations: 16 kB / 1.12 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.6033, allocations: 1.972 MB / 1.122 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.605, allocations: 0.835 MB / 1.123 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.6053, allocations: 202.6 kB / 1.123 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.6054, allocations: 4.438 kB / 1.123 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.6057, allocations: 245.5 kB / 1.124 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.294e-06/0.6057, allocations: 0 / 1.124 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.0007296/0.6065, allocations: 407.6 kB / 1.124 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.6065, allocations: 111.3 kB / 1.124 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.6069, allocations: 386 kB / 1.125 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.607, allocations: 33.7 kB / 1.125 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.6072, allocations: 264.9 kB / 1.125 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.6073, allocations: 173.5 kB / 1.125 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.6074, allocations: 0 / 1.125 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6075, allocations: 378.7 kB / 1.125 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.6078, allocations: 161.3 kB / 1.125 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.6082, allocations: 317.5 kB / 1.126 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.6086, allocations: 198.9 kB / 1.126 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6087, allocations: 4 kB / 1.126 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009547/0.6096, allocations: 0.5258 MB / 1.126 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002509/0.6099, allocations: 0.7054 MB / 1.127 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.6099, allocations: 4 kB / 1.127 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6099, allocations: 4 kB / 1.127 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.6104, allocations: 109.6 kB / 1.127 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.6104, allocations: 7.984 kB / 1.127 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.6109, allocations: 103.6 kB / 1.127 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.6109, allocations: 23.98 kB / 1.127 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.611, allocations: 9.625 kB / 1.127 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008306/0.6118, allocations: 441.5 kB / 1.128 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6118, allocations: 5.797 kB / 1.128 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.6118, allocations: 7.75 kB / 1.128 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.6122, allocations: 91.83 kB / 1.128 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.6122, allocations: 4 kB / 1.128 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.6127, allocations: 95.84 kB / 1.128 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.6127, allocations: 23.94 kB / 1.128 GB, free: 3.477 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0001276/0.6128, allocations: 134.5 kB / 1.128 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.6129, allocations: 59.25 kB / 1.128 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.613, allocations: 61.83 kB / 1.128 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6131, allocations: 4 kB / 1.128 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6131, allocations: 3.984 kB / 1.128 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6131, allocations: 0 / 1.128 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.6145, allocations: 1.088 MB / 1.129 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.6145, allocations: 4 kB / 1.129 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.6149, allocations: 91.83 kB / 1.129 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.615, allocations: 4.062 kB / 1.129 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.615, allocations: 7.984 kB / 1.129 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.615, allocations: 4 kB / 1.129 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.615, allocations: 0 / 1.129 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000984/0.616, allocations: 0.7509 MB / 1.13 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.6161, allocations: 140.3 kB / 1.13 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.327e-05/0.6162, allocations: 8.094 kB / 1.13 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.6165, allocations: 35.97 kB / 1.13 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.6166, allocations: 44.27 kB / 1.13 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.6166, allocations: 21.38 kB / 1.13 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002825/0.6169, allocations: 291 kB / 1.131 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006835/0.6176, allocations: 262.9 kB / 1.131 GB, free: 384 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002355/0.6179, allocations: 166.9 kB / 1.131 GB, free: 208 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.619, allocations: 0.7891 MB / 1.132 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.619, allocations: 4 kB / 1.132 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.6193, allocations: 201.6 kB / 1.132 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.6199, allocations: 90.22 kB / 1.132 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.6214, allocations: 0.8155 MB / 1.133 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006299/0.622, allocations: 0.9857 MB / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.622, allocations: 0 / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.01495/0.637, allocations: 9.359 MB / 1.143 GB, free: 4.07 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)