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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) [: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.371/1.371, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.0009759/0.000976, allocations: 181.3 kB / 366.3 MB, free: 2 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.097/1.097, allocations: 205.2 MB / 0.6256 GB, free: 5.785 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.000847/0.0008471, allocations: 95.7 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2047/0.2055, allocations: 122.5 MB / 0.8591 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.6622, allocations: 116.3 MB / 0.9727 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.8059, allocations: 141.5 MB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.8061, allocations: 79.88 kB / 1.111 GB, free: 6.867 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.05403/0.8602, allocations: 21.47 MB / 1.132 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.8602, allocations: 8 kB / 1.132 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.8605, allocations: 162.1 kB / 1.132 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/0.8614, allocations: 0.6784 MB / 1.133 GB, free: 464 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.8615, allocations: 63.83 kB / 1.133 GB, free: 400 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.8616, allocations: 87.98 kB / 1.133 GB, free: 312 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001364/0.863, allocations: 0.7236 MB / 1.134 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.8646, allocations: 0.9703 MB / 1.135 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.8646, allocations: 0 / 1.135 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/0.8647, allocations: 7.984 kB / 1.135 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.8647, allocations: 28 kB / 1.135 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.8692, allocations: 2.966 MB / 1.137 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.8705, allocations: 0.7516 MB / 1.138 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.8709, allocations: 287.2 kB / 1.138 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.735e-05/0.871, allocations: 20.47 kB / 1.139 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/0.8717, allocations: 0.5202 MB / 1.139 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=105): time 2.555e-06/0.8717, allocations: 0 / 1.139 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=105): time 0.00126/0.873, allocations: 0.7373 MB / 1.14 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.8731, allocations: 260 kB / 1.14 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/0.8737, allocations: 0.5619 MB / 1.141 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.8738, allocations: 37.7 kB / 1.141 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.8741, allocations: 447.7 kB / 1.141 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.8743, allocations: 260.2 kB / 1.141 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.8744, allocations: 5.312 kB / 1.141 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.8745, allocations: 402.7 kB / 1.142 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.875, allocations: 270.6 kB / 1.142 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.8756, allocations: 0.5168 MB / 1.142 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.8767, allocations: 385.2 kB / 1.143 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.8767, allocations: 4 kB / 1.143 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001899/0.8786, allocations: 0.9569 MB / 1.144 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.8786, allocations: 11.92 kB / 1.144 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.8786, allocations: 8 kB / 1.144 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.8787, allocations: 16 kB / 1.144 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.8794, allocations: 171.7 kB / 1.144 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.8794, allocations: 23.94 kB / 1.144 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.8802, allocations: 171.5 kB / 1.144 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.8803, allocations: 51.98 kB / 1.144 GB, free: 4.438 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.0002075/0.8805, allocations: 173.7 kB / 1.144 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.8806, allocations: 94.88 kB / 1.144 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.8819, allocations: 0.7426 MB / 1.145 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.8819, allocations: 12 kB / 1.145 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8819, allocations: 0 / 1.145 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.8819, allocations: 7.984 kB / 1.145 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.8849, allocations: 2.513 MB / 1.148 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.8849, allocations: 0 / 1.148 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.8854, allocations: 107.8 kB / 1.148 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.8854, allocations: 4.25 kB / 1.148 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.8855, allocations: 19.98 kB / 1.148 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.8855, allocations: 8 kB / 1.148 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8855, allocations: 8.969 kB / 1.148 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001205/0.8867, allocations: 1.083 MB / 1.149 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00128/0.888, allocations: 1.458 MB / 1.15 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.8881, allocations: 175.8 kB / 1.15 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.8883, allocations: 15.98 kB / 1.15 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005705/0.8888, allocations: 75.84 kB / 1.15 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.889, allocations: 96.31 kB / 1.151 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/0.8891, allocations: 47.97 kB / 1.151 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0004092/0.8895, allocations: 399.2 kB / 1.151 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001331/0.8909, allocations: 247.6 kB / 1.151 GB, free: 12.88 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.0002163/0.8911, allocations: 164.7 kB / 1.151 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.8923, allocations: 0.7839 MB / 1.152 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8923, allocations: 0 / 1.152 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.893, allocations: 479.7 kB / 1.153 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.8936, allocations: 93.98 kB / 1.153 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.8961, allocations: 1.37 MB / 1.154 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000859/0.897, allocations: 1.21 MB / 1.155 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of SimCode: time 2.9e-07/0.897, allocations: 0 / 1.155 GB, free: 8.703 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)