Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.33/1.33, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.000947/0.000947, allocations: 181.3 kB / 366.3 MB, free: 1.957 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.05/1.05, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.000854/0.000854, allocations: 94.34 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.942e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4219, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.575, allocations: 147 MB / 1.116 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.5752, allocations: 71.97 kB / 1.116 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03157/0.6068, allocations: 12 MB / 1.128 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.627e-05/0.6069, allocations: 16 kB / 1.128 GB, free: 5.375 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.001579/0.6085, allocations: 0.941 MB / 1.129 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.6085, allocations: 9.156 kB / 1.129 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.6088, allocations: 90.88 kB / 1.129 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/0.6096, allocations: 492 kB / 1.129 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.6097, allocations: 27.91 kB / 1.129 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.6098, allocations: 43.98 kB / 1.129 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006865/0.6105, allocations: 362.5 kB / 1.13 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008105/0.6113, allocations: 495.7 kB / 1.13 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.6113, allocations: 0 / 1.13 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.6114, allocations: 7.984 kB / 1.13 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.6114, allocations: 20 kB / 1.13 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.6142, allocations: 1.964 MB / 1.132 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.6159, allocations: 0.8555 MB / 1.133 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.6163, allocations: 194.6 kB / 1.133 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.6163, allocations: 8.438 kB / 1.133 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.6166, allocations: 232.8 kB / 1.133 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=57): time 2.124e-06/0.6167, allocations: 0 / 1.133 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=57): time 0.0007131/0.6174, allocations: 411.6 kB / 1.134 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.6174, allocations: 115.3 kB / 1.134 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.6179, allocations: 382.2 kB / 1.134 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.6179, allocations: 41.62 kB / 1.134 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.6181, allocations: 264.3 kB / 1.135 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.6183, allocations: 169.5 kB / 1.135 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.6183, allocations: 0 / 1.135 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6184, allocations: 378.7 kB / 1.135 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.6187, allocations: 163.3 kB / 1.135 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.6191, allocations: 312.3 kB / 1.136 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.6196, allocations: 206.9 kB / 1.136 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6196, allocations: 0 / 1.136 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009869/0.6206, allocations: 0.5221 MB / 1.136 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.6209, allocations: 0.712 MB / 1.137 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.6209, allocations: 4 kB / 1.137 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6209, allocations: 4 kB / 1.137 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.6213, allocations: 111.8 kB / 1.137 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.6214, allocations: 4 kB / 1.137 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.6219, allocations: 107.6 kB / 1.137 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.622, allocations: 20 kB / 1.137 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.622, allocations: 7.906 kB / 1.137 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008101/0.6228, allocations: 437.5 kB / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6228, allocations: 7.984 kB / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.6228, allocations: 4 kB / 1.138 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.6232, allocations: 87.84 kB / 1.138 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6232, allocations: 4 kB / 1.138 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.6236, allocations: 99.78 kB / 1.138 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.6237, allocations: 23.98 kB / 1.138 GB, free: 10.74 MB / 0.7448 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.0001409/0.6238, allocations: 134.1 kB / 1.138 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.6239, allocations: 63.25 kB / 1.138 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.6241, allocations: 65.81 kB / 1.138 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.6241, allocations: 4 kB / 1.138 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6241, allocations: 0 / 1.138 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.6241, allocations: 3.984 kB / 1.138 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.6256, allocations: 1.094 MB / 1.139 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6256, allocations: 0 / 1.139 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.626, allocations: 87.89 kB / 1.139 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.626, allocations: 9.375 kB / 1.139 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.6261, allocations: 4 kB / 1.139 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6261, allocations: 0 / 1.139 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6261, allocations: 0 / 1.139 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001052/0.6271, allocations: 0.7587 MB / 1.14 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6273, allocations: 140.3 kB / 1.14 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.6273, allocations: 0 / 1.14 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.6277, allocations: 39.97 kB / 1.14 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.6278, allocations: 40.28 kB / 1.14 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.6278, allocations: 19.98 kB / 1.14 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003075/0.6281, allocations: 291 kB / 1.141 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007383/0.6289, allocations: 258.9 kB / 1.141 GB, free: 7.645 MB / 0.7448 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.0002778/0.6291, allocations: 175.2 kB / 1.141 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.6304, allocations: 0.7968 MB / 1.142 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6304, allocations: 0.75 kB / 1.142 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.6307, allocations: 201.6 kB / 1.142 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.6312, allocations: 93.36 kB / 1.142 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.6329, allocations: 0.8108 MB / 1.143 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/0.6335, allocations: 0.985 MB / 1.144 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of SimCode: time 2.81e-07/0.6336, allocations: 0 / 1.144 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of Templates: time 0.01603/0.6496, allocations: 9.36 MB / 1.153 GB, free: 11.28 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)