Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.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.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") [: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.316/1.316, 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.0009157/0.0009157, allocations: 189.2 kB / 361.1 MB, free: 7.07 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.014/1.014, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007569/0.0007571, allocations: 100.6 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.905e-06, allocations: 4 kB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4438, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.5823, allocations: 140.5 MB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/0.5825, allocations: 71.95 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05119/0.6337, allocations: 20.03 MB / 1.121 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.188e-05/0.6339, allocations: 28 kB / 1.121 GB, free: 11.5 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002975/0.6369, allocations: 1.426 MB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6369, allocations: 8.531 kB / 1.122 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.6373, allocations: 162.1 kB / 1.122 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.6384, allocations: 0.6822 MB / 1.123 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.71e-05/0.6385, allocations: 55.89 kB / 1.123 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.6386, allocations: 91.98 kB / 1.123 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001413/0.6401, allocations: 0.7275 MB / 1.124 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.6417, allocations: 0.9693 MB / 1.125 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.6418, allocations: 3.938 kB / 1.125 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.6418, allocations: 4.844 kB / 1.125 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.6419, allocations: 28 kB / 1.125 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.6465, allocations: 2.966 MB / 1.128 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.6478, allocations: 0.7513 MB / 1.128 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.6483, allocations: 287.2 kB / 1.129 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.341e-05/0.6484, allocations: 12.48 kB / 1.129 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008946/0.6493, allocations: 0.5275 MB / 1.129 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 2.875e-06/0.6493, allocations: 0 / 1.129 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of matching and sorting (n=105): time 0.001476/0.6508, allocations: 0.733 MB / 1.13 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.6509, allocations: 248 kB / 1.13 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/0.6516, allocations: 0.5697 MB / 1.131 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.775e-05/0.6517, allocations: 33.7 kB / 1.131 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.652, allocations: 447.8 kB / 1.131 GB, free: 460 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.6523, allocations: 268.2 kB / 1.131 GB, free: 188 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.6524, allocations: 0 / 1.131 GB, free: 188 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.6525, allocations: 398.7 kB / 1.132 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/0.6531, allocations: 274.6 kB / 1.132 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.6539, allocations: 0.5168 MB / 1.132 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6551, allocations: 385.3 kB / 1.133 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.6551, allocations: 4 kB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002218/0.6573, allocations: 0.9641 MB / 1.134 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6573, allocations: 8 kB / 1.134 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.6573, allocations: 8 kB / 1.134 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.6574, allocations: 15.98 kB / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.6582, allocations: 175.7 kB / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.6582, allocations: 19.92 kB / 1.134 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.6591, allocations: 163.4 kB / 1.134 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6592, allocations: 51.98 kB / 1.134 GB, free: 13.12 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 72 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$whenCondition13,$PRE.trimRespondLogic1.tim.t_next,$whenCondition8,$PRE.trimRespondLogic.tim.t_next,$whenCondition11,trimRespondLogic.uniDel.sampleTrigger,$whenCondition12,trimRespondLogic.sampler.sampleTrigger,$whenCondition16,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition17,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$whenCondition6,$whenCondition7,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,reaToInt1.y,trimRespondLogic1.greThr1.y,trimRespondLogic.greThr1.y,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.u,trimRespondLogic2.tim.y,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,$PRE.booPul.y,booPul.y,reaToInt2.y,trimRespondLogic2.greThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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 0.0002431/0.6595, allocations: 170.2 kB / 1.134 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.6597, allocations: 98.86 kB / 1.134 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.6611, allocations: 0.7424 MB / 1.135 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.6611, allocations: 12 kB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.6612, allocations: 4 kB / 1.135 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.6612, allocations: 7.969 kB / 1.135 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.6646, allocations: 2.51 MB / 1.138 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6646, allocations: 4 kB / 1.138 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/0.6651, allocations: 112.4 kB / 1.138 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.6652, allocations: 14.48 kB / 1.138 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.6652, allocations: 12.23 kB / 1.138 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.6652, allocations: 11.98 kB / 1.138 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6653, allocations: 4 kB / 1.138 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001223/0.6665, allocations: 1.082 MB / 1.139 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.6666, allocations: 171.8 kB / 1.139 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.6667, allocations: 14.05 kB / 1.139 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.6673, allocations: 79.92 kB / 1.139 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.6675, allocations: 88.28 kB / 1.139 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/0.6675, allocations: 47.97 kB / 1.139 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004024/0.6679, allocations: 399.2 kB / 1.14 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007115/0.6687, allocations: 255.6 kB / 1.14 GB, free: 7.109 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 56 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.y,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition17,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition10,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y) * Number of discrete states: 6 (trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.uniDel.u,trimRespondLogic.uniDel.u,trimRespondLogic2.tim.t_next,trimRespondLogic2.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002293/0.6689, allocations: 157.5 kB / 1.14 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.67, allocations: 0.7728 MB / 1.141 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.67, allocations: 12.12 kB / 1.141 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006822/0.6707, allocations: 485.5 kB / 1.141 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.6713, allocations: 91.02 kB / 1.141 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.6737, allocations: 1.362 MB / 1.143 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008542/0.6746, allocations: 1.21 MB / 1.144 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.6746, allocations: 4 kB / 1.144 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.01753/0.6921, allocations: 9.707 MB / 1.153 GB, free: 9.484 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)