Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 1.966/1.966, allocations: 390.4 MB / 397.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 180.7 kB / 490.8 MB, free: 1.859 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009907, allocations: 99.28 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.623/0.624, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.8749, allocations: 143 MB / 1.212 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6844/1.559, allocations: 153.8 MB / 1.362 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.56, allocations: 81.52 kB / 1.362 GB, free: 17.54 MB / 0.823 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.05784/1.618, allocations: 21.39 MB / 1.383 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.618, allocations: 8.219 kB / 1.383 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/1.618, allocations: 158.5 kB / 1.383 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/1.619, allocations: 0.6743 MB / 1.384 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.9e-05/1.619, allocations: 52.02 kB / 1.384 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/1.619, allocations: 92.33 kB / 1.384 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0017/1.621, allocations: 0.7106 MB / 1.384 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/1.623, allocations: 0.955 MB / 1.385 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/1.623, allocations: 1.25 kB / 1.385 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.61e-05/1.623, allocations: 6.422 kB / 1.385 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/1.623, allocations: 34.12 kB / 1.385 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005367/1.628, allocations: 2.906 MB / 1.388 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/1.63, allocations: 0.7282 MB / 1.389 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/1.631, allocations: 314.2 kB / 1.389 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.661e-05/1.631, allocations: 19.52 kB / 1.389 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009425/1.632, allocations: 0.5122 MB / 1.39 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=105): time 3.226e-06/1.632, allocations: 0 / 1.39 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=105): time 0.001534/1.633, allocations: 0.7135 MB / 1.391 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.633, allocations: 255.8 kB / 1.391 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/1.634, allocations: 0.5351 MB / 1.391 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.573e-05/1.634, allocations: 33.64 kB / 1.391 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/1.634, allocations: 449.2 kB / 1.392 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/1.635, allocations: 267.7 kB / 1.392 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/1.635, allocations: 2.5 kB / 1.392 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.635, allocations: 401.8 kB / 1.392 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/1.635, allocations: 262.3 kB / 1.393 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/1.636, allocations: 0.5062 MB / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/1.637, allocations: 372.9 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.637, allocations: 5.359 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002067/1.639, allocations: 0.944 MB / 1.394 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.639, allocations: 8.781 kB / 1.394 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.639, allocations: 11.41 kB / 1.394 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/1.639, allocations: 15.25 kB / 1.394 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/1.64, allocations: 186.1 kB / 1.395 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/1.64, allocations: 17.75 kB / 1.395 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/1.641, allocations: 163.5 kB / 1.395 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.641, allocations: 49.39 kB / 1.395 GB, free: 24.44 MB / 0.8386 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.0002784/1.641, allocations: 176.2 kB / 1.395 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/1.641, allocations: 95.8 kB / 1.395 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/1.643, allocations: 0.7133 MB / 1.396 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.643, allocations: 11.12 kB / 1.396 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.643, allocations: 2.75 kB / 1.396 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.643, allocations: 6.734 kB / 1.396 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/1.646, allocations: 2.464 MB / 1.398 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.646, allocations: 2.688 kB / 1.398 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/1.647, allocations: 107.9 kB / 1.398 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/1.647, allocations: 7.094 kB / 1.398 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/1.647, allocations: 15.52 kB / 1.398 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/1.647, allocations: 10.52 kB / 1.398 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.647, allocations: 9.719 kB / 1.398 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001533/1.648, allocations: 1.056 MB / 1.399 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001696/1.65, allocations: 1.438 MB / 1.401 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/1.65, allocations: 178.1 kB / 1.401 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/1.651, allocations: 14.08 kB / 1.401 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/1.651, allocations: 76.44 kB / 1.401 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/1.651, allocations: 97.55 kB / 1.401 GB, free: 21.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.652, allocations: 39.48 kB / 1.401 GB, free: 21.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007095/1.652, allocations: 381.3 kB / 1.402 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002449/1.655, allocations: 248 kB / 1.402 GB, free: 20.82 MB / 0.8386 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.0003901/1.655, allocations: 151.6 kB / 1.402 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001846/1.657, allocations: 0.7623 MB / 1.403 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.657, allocations: 1.188 kB / 1.403 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009314/1.658, allocations: 477.2 kB / 1.403 GB, free: 20.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/1.659, allocations: 100.4 kB / 1.403 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/1.662, allocations: 1.332 MB / 1.405 GB, free: 19.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.663, allocations: 1.193 MB / 1.406 GB, free: 19.07 MB / 0.8386 GB Notification: Performance of SimCode: time 1.193e-06/1.663, allocations: 0 / 1.406 GB, free: 19.07 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)