Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.247/1.247, allocations: 249.4 MB / 256.7 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 181.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.106/1.106, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008215/0.0008215, allocations: 87.34 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3298/0.3306, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.4956, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.9816, allocations: 135.5 MB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.9818, allocations: 74.55 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.04585/1.028, allocations: 18.31 MB / 1.035 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.028, allocations: 8 kB / 1.035 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/1.028, allocations: 146.3 kB / 1.035 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/1.028, allocations: 360.4 kB / 1.035 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/1.028, allocations: 51.61 kB / 1.035 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.029, allocations: 79.98 kB / 1.036 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/1.03, allocations: 0.704 MB / 1.036 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/1.031, allocations: 0.9157 MB / 1.037 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/1.031, allocations: 0 / 1.037 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/1.031, allocations: 15.45 kB / 1.037 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/1.032, allocations: 28 kB / 1.037 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/1.036, allocations: 2.638 MB / 1.04 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/1.037, allocations: 0.779 MB / 1.041 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/1.037, allocations: 289.5 kB / 1.041 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/1.037, allocations: 24.67 kB / 1.041 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007085/1.038, allocations: 0.5273 MB / 1.041 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=107): time 2.775e-06/1.038, allocations: 0 / 1.041 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=107): time 0.001246/1.039, allocations: 0.7232 MB / 1.042 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.039, allocations: 263.6 kB / 1.042 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/1.04, allocations: 471.2 kB / 1.043 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/1.04, allocations: 33.08 kB / 1.043 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/1.04, allocations: 406.7 kB / 1.043 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/1.041, allocations: 266.3 kB / 1.043 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/1.041, allocations: 0 / 1.043 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.041, allocations: 389.3 kB / 1.044 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/1.041, allocations: 251.8 kB / 1.044 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/1.042, allocations: 0.5016 MB / 1.045 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/1.042, allocations: 293.7 kB / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/1.042, allocations: 0 / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001288/1.043, allocations: 0.8364 MB / 1.046 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.043, allocations: 9 kB / 1.046 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.044, allocations: 8 kB / 1.046 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/1.044, allocations: 16 kB / 1.046 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/1.044, allocations: 172.5 kB / 1.046 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/1.044, allocations: 19.92 kB / 1.046 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/1.045, allocations: 99.33 kB / 1.046 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/1.045, allocations: 52.67 kB / 1.046 GB, free: 10.72 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition12,$PRE.trimRespondLogic1.tim.t_next,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition15,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition16,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.y,$whenCondition13,$whenCondition14,$whenCondition8,$whenCondition9,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.greEquThr1.y,trimRespondLogic.greEquThr1.y,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.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.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic2.greEquThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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.0002089/1.045, allocations: 183.7 kB / 1.046 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/1.045, allocations: 83.06 kB / 1.046 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/1.046, allocations: 0.7343 MB / 1.047 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/1.046, allocations: 15.91 kB / 1.047 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.046, allocations: 4 kB / 1.047 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/1.047, allocations: 11.97 kB / 1.047 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/1.049, allocations: 2.457 MB / 1.049 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.049, allocations: 4 kB / 1.049 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/1.05, allocations: 107.2 kB / 1.049 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.05, allocations: 8 kB / 1.049 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/1.05, allocations: 26.97 kB / 1.05 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/1.05, allocations: 4 kB / 1.05 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.05, allocations: 7.938 kB / 1.05 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00123/1.051, allocations: 1.069 MB / 1.051 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001245/1.053, allocations: 1.455 MB / 1.052 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/1.053, allocations: 162.8 kB / 1.052 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.053, allocations: 15.36 kB / 1.052 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/1.053, allocations: 75.92 kB / 1.052 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.054, allocations: 90.36 kB / 1.052 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.788e-05/1.054, allocations: 49.39 kB / 1.052 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002979/1.054, allocations: 326.1 kB / 1.053 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001307/1.055, allocations: 219.1 kB / 1.053 GB, free: 4.68 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 58 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.y,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.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 (107): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 19 * 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.0002093/1.055, allocations: 158.1 kB / 1.053 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.057, allocations: 0.7322 MB / 1.054 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.057, allocations: 0 / 1.054 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007398/1.057, allocations: 487.8 kB / 1.054 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/1.058, allocations: 77.09 kB / 1.054 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/1.06, allocations: 1.263 MB / 1.056 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008393/1.061, allocations: 1.142 MB / 1.057 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of SimCode: time 6.41e-07/1.061, allocations: 0 / 1.057 GB, free: 1.328 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)