Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.188/2.188, allocations: 284.8 MB / 292.1 MB, free: 10.69 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.001598/0.001598, allocations: 181.2 kB / 360.3 MB, free: 7.488 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.678/1.678, allocations: 205.1 MB / 0.6187 GB, free: 12.5 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.001215/0.001214, allocations: 88.58 kB / 0.7317 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2383/0.2396, allocations: 121.4 MB / 0.8502 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.7923, allocations: 115.3 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/1.005, allocations: 140.4 MB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.005, allocations: 77.41 kB / 1.1 GB, free: 336 kB / 0.698 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.09235/1.097, allocations: 21.49 MB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.097, allocations: 8.5 kB / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005311/1.098, allocations: 170.1 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/1.1, allocations: 0.6744 MB / 1.122 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/1.1, allocations: 60.52 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/1.1, allocations: 87.98 kB / 1.122 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002746/1.103, allocations: 0.7275 MB / 1.123 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/1.106, allocations: 0.9692 MB / 1.124 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/1.106, allocations: 0 / 1.124 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/1.106, allocations: 15.98 kB / 1.124 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/1.106, allocations: 31 kB / 1.124 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008782/1.115, allocations: 2.963 MB / 1.126 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/1.117, allocations: 0.7426 MB / 1.127 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008678/1.118, allocations: 287.2 kB / 1.127 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/1.118, allocations: 20.48 kB / 1.127 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/1.12, allocations: 0.5201 MB / 1.128 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 3.396e-06/1.12, allocations: 4 kB / 1.128 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of matching and sorting (n=105): time 0.002388/1.122, allocations: 0.7292 MB / 1.129 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/1.122, allocations: 255.8 kB / 1.129 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/1.124, allocations: 0.558 MB / 1.13 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/1.124, allocations: 37.89 kB / 1.13 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/1.124, allocations: 459.7 kB / 1.13 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/1.125, allocations: 256.2 kB / 1.13 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-05/1.125, allocations: 4 kB / 1.13 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002572/1.125, allocations: 402.7 kB / 1.131 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009607/1.126, allocations: 274.5 kB / 1.131 GB, free: 468 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/1.127, allocations: 0.513 MB / 1.131 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/1.129, allocations: 377.4 kB / 1.132 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.129, allocations: 6.438 kB / 1.132 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003632/1.133, allocations: 0.9601 MB / 1.133 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.133, allocations: 4.781 kB / 1.133 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/1.133, allocations: 12 kB / 1.133 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/1.133, allocations: 16 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.134, allocations: 175.7 kB / 1.133 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.081e-05/1.134, allocations: 23.92 kB / 1.133 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/1.136, allocations: 163.2 kB / 1.133 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/1.136, allocations: 47.98 kB / 1.133 GB, free: 14.07 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.0003662/1.137, allocations: 181.2 kB / 1.133 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/1.137, allocations: 98.86 kB / 1.133 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/1.139, allocations: 0.7352 MB / 1.134 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/1.139, allocations: 16 kB / 1.134 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.139, allocations: 2.188 kB / 1.134 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/1.139, allocations: 11.97 kB / 1.134 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/1.145, allocations: 2.509 MB / 1.137 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.145, allocations: 0 / 1.137 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/1.146, allocations: 111.8 kB / 1.137 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/1.146, allocations: 4 kB / 1.137 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.289e-05/1.146, allocations: 19.97 kB / 1.137 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/1.146, allocations: 8 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/1.146, allocations: 0 / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002467/1.149, allocations: 1.092 MB / 1.138 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002561/1.151, allocations: 1.461 MB / 1.139 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/1.151, allocations: 167.8 kB / 1.139 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/1.152, allocations: 15.98 kB / 1.139 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.153, allocations: 81.61 kB / 1.139 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/1.153, allocations: 92.38 kB / 1.14 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.153, allocations: 43.97 kB / 1.14 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0008866/1.154, allocations: 399.2 kB / 1.14 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002167/1.156, allocations: 252.5 kB / 1.14 GB, free: 6.5 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.000348/1.157, allocations: 151 kB / 1.14 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002379/1.159, allocations: 0.7802 MB / 1.141 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.159, allocations: 12.25 kB / 1.141 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/1.161, allocations: 477.5 kB / 1.142 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/1.162, allocations: 94.61 kB / 1.142 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/1.166, allocations: 1.37 MB / 1.143 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/1.168, allocations: 1.207 MB / 1.144 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of SimCode: time 1.573e-06/1.168, allocations: 4 kB / 1.144 GB, free: 2.336 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)