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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0008664/0.0008663, allocations: 185.2 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.998/0.998, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007337/0.0007337, allocations: 91.31 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1732/0.174, allocations: 121.5 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.5754, allocations: 115.3 MB / 0.9638 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.7087, allocations: 140.5 MB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.709, allocations: 76.88 kB / 1.101 GB, free: 15.38 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.05085/0.7598, allocations: 21.49 MB / 1.122 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7599, allocations: 8.5 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.7601, allocations: 166.1 kB / 1.122 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009059/0.761, allocations: 0.6744 MB / 1.123 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/0.7611, allocations: 59.89 kB / 1.123 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.7612, allocations: 87.98 kB / 1.123 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001269/0.7625, allocations: 0.7314 MB / 1.124 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.764, allocations: 0.9653 MB / 1.125 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.7641, allocations: 4 kB / 1.125 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.7642, allocations: 7.984 kB / 1.125 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.7642, allocations: 34.25 kB / 1.125 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.7682, allocations: 2.967 MB / 1.128 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.7694, allocations: 0.7426 MB / 1.128 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.7698, allocations: 287.2 kB / 1.129 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.087e-05/0.7699, allocations: 16.48 kB / 1.129 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.7706, allocations: 0.5197 MB / 1.129 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 2.405e-06/0.7706, allocations: 0 / 1.129 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=105): time 0.001167/0.7718, allocations: 0.7384 MB / 1.13 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/0.7719, allocations: 251.8 kB / 1.13 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.7725, allocations: 0.5619 MB / 1.131 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.7725, allocations: 33.7 kB / 1.131 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.7728, allocations: 455.7 kB / 1.131 GB, free: 460 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.773, allocations: 260.2 kB / 1.131 GB, free: 196 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.773, allocations: 4 kB / 1.131 GB, free: 192 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7732, allocations: 406.8 kB / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.7737, allocations: 270.6 kB / 1.132 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.7742, allocations: 0.509 MB / 1.133 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.7752, allocations: 381.4 kB / 1.133 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7752, allocations: 0 / 1.133 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001786/0.777, allocations: 0.9675 MB / 1.134 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.7771, allocations: 7.938 kB / 1.134 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.7771, allocations: 8 kB / 1.134 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.7771, allocations: 19.98 kB / 1.134 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.7778, allocations: 185.5 kB / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.7778, allocations: 15.94 kB / 1.134 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.7785, allocations: 163.2 kB / 1.134 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.7786, allocations: 54.3 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.000184/0.7788, allocations: 168.6 kB / 1.134 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.779, allocations: 102.9 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.7801, allocations: 0.7346 MB / 1.135 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.7802, allocations: 15.98 kB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7802, allocations: 4 kB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.7802, allocations: 7.984 kB / 1.135 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.7831, allocations: 2.507 MB / 1.138 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7831, allocations: 4 kB / 1.138 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.7835, allocations: 113.8 kB / 1.138 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.7836, allocations: 8 kB / 1.138 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.7836, allocations: 23.95 kB / 1.138 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.7836, allocations: 9.328 kB / 1.138 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7836, allocations: 0 / 1.138 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001217/0.7849, allocations: 1.086 MB / 1.139 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001276/0.7861, allocations: 1.458 MB / 1.14 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.7863, allocations: 175.8 kB / 1.141 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.7864, allocations: 17.05 kB / 1.141 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005542/0.787, allocations: 75.83 kB / 1.141 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.7872, allocations: 92.38 kB / 1.141 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/0.7872, allocations: 43.97 kB / 1.141 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004081/0.7876, allocations: 403.2 kB / 1.141 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00123/0.7889, allocations: 252.5 kB / 1.141 GB, free: 5.551 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.000238/0.7891, allocations: 152.5 kB / 1.142 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.7903, allocations: 0.7766 MB / 1.142 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7904, allocations: 4 kB / 1.142 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.7911, allocations: 490 kB / 1.143 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.7917, allocations: 90.3 kB / 1.143 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.7942, allocations: 1.366 MB / 1.144 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008878/0.7951, allocations: 1.21 MB / 1.145 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.7951, allocations: 4 kB / 1.145 GB, free: 1.387 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)