Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.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.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.346/1.346, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.0009183/0.0009182, allocations: 181.3 kB / 366.3 MB, free: 1.984 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.844 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.0009035/0.0009036, allocations: 97 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.903e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4789, allocations: 116.3 MB / 0.9726 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.6303, allocations: 141.5 MB / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.6306, allocations: 75.89 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05048/0.6811, allocations: 20.01 MB / 1.13 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.856e-05/0.6812, allocations: 31.98 kB / 1.13 GB, free: 2.914 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.002186/0.6834, allocations: 1.43 MB / 1.132 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.6834, allocations: 8.031 kB / 1.132 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.6837, allocations: 163.5 kB / 1.132 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009281/0.6846, allocations: 0.6823 MB / 1.133 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.6847, allocations: 55.89 kB / 1.133 GB, free: 472 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.6849, allocations: 91.92 kB / 1.133 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/0.6862, allocations: 0.7276 MB / 1.134 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.6877, allocations: 0.9615 MB / 1.134 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.6878, allocations: 4 kB / 1.134 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.6879, allocations: 7.984 kB / 1.134 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.6879, allocations: 32 kB / 1.134 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004327/0.6922, allocations: 2.969 MB / 1.137 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6934, allocations: 0.746 MB / 1.138 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.6939, allocations: 283.2 kB / 1.138 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.6939, allocations: 21.03 kB / 1.138 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007145/0.6947, allocations: 0.5201 MB / 1.139 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=105): time 2.776e-06/0.6947, allocations: 0.75 kB / 1.139 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=105): time 0.00123/0.6959, allocations: 0.7368 MB / 1.14 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.696, allocations: 251.8 kB / 1.14 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/0.6966, allocations: 0.5736 MB / 1.14 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/0.6967, allocations: 33.7 kB / 1.14 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.697, allocations: 447.8 kB / 1.141 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.6972, allocations: 260.2 kB / 1.141 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.6972, allocations: 12.19 kB / 1.141 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6974, allocations: 399.3 kB / 1.142 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.6979, allocations: 274.6 kB / 1.142 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.6985, allocations: 0.5051 MB / 1.142 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.6995, allocations: 389.2 kB / 1.143 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6995, allocations: 3.938 kB / 1.143 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001876/0.7014, allocations: 0.9604 MB / 1.144 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7014, allocations: 10.38 kB / 1.144 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.7014, allocations: 8.844 kB / 1.144 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.7015, allocations: 16 kB / 1.144 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/0.7021, allocations: 175.7 kB / 1.144 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.7022, allocations: 19.92 kB / 1.144 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007397/0.7029, allocations: 163.2 kB / 1.144 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.703, allocations: 55.98 kB / 1.144 GB, free: 4.504 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.0001915/0.7032, allocations: 176.6 kB / 1.144 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.7034, allocations: 98.86 kB / 1.144 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.7046, allocations: 0.727 MB / 1.145 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.7046, allocations: 12 kB / 1.145 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7046, allocations: 4 kB / 1.145 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.7046, allocations: 7.984 kB / 1.145 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.7075, allocations: 2.517 MB / 1.147 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.7075, allocations: 4.25 kB / 1.147 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.708, allocations: 107.8 kB / 1.148 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.708, allocations: 8 kB / 1.148 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.7081, allocations: 15.98 kB / 1.148 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.7081, allocations: 11.98 kB / 1.148 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.7081, allocations: 3.938 kB / 1.148 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001218/0.7093, allocations: 1.078 MB / 1.149 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.7095, allocations: 171.8 kB / 1.149 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.7096, allocations: 15.98 kB / 1.149 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005448/0.7101, allocations: 75.92 kB / 1.149 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.7103, allocations: 96.28 kB / 1.149 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/0.7104, allocations: 47.97 kB / 1.149 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0004208/0.7108, allocations: 399.7 kB / 1.149 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000698/0.7115, allocations: 244.5 kB / 1.15 GB, free: 14.51 MB / 0.7605 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.0002253/0.7118, allocations: 163.8 kB / 1.15 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.7129, allocations: 0.7749 MB / 1.151 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7129, allocations: 2 kB / 1.151 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006964/0.7136, allocations: 485.5 kB / 1.151 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.7142, allocations: 90.05 kB / 1.151 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.7167, allocations: 1.37 MB / 1.152 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000869/0.7176, allocations: 1.21 MB / 1.154 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of SimCode: time 2.5e-07/0.7176, allocations: 0 / 1.154 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of Templates: time 0.0173/0.7349, allocations: 9.718 MB / 1.163 GB, free: 0.7383 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)