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.GroupStatus.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.GroupStatus,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_GroupStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_GroupStatus",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 2.047/2.047, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001097/0.001097, allocations: 181.2 kB / 490.8 MB, free: 1.922 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.36/1.36, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.001035/0.001035, allocations: 92.25 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5753/0.5764, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.8301, allocations: 143 MB / 1.212 GB, free: 39.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7441/1.574, allocations: 157.4 MB / 1.365 GB, free: 17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.575, allocations: 79.19 kB / 1.365 GB, free: 17 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.09738/1.672, allocations: 34.75 MB / 1.399 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.672, allocations: 9 kB / 1.399 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/1.673, allocations: 230.2 kB / 1.4 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/1.677, allocations: 1.18 MB / 1.401 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.677, allocations: 52.83 kB / 1.401 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007924/1.678, allocations: 143.3 kB / 1.401 GB, free: 21.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002575/1.68, allocations: 1.035 MB / 1.402 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/1.683, allocations: 1.436 MB / 1.403 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.683, allocations: 7.938 kB / 1.403 GB, free: 20.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.683, allocations: 7.984 kB / 1.403 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/1.683, allocations: 32 kB / 1.403 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00849/1.691, allocations: 5.503 MB / 1.409 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/1.692, allocations: 0.697 MB / 1.409 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/1.693, allocations: 358.6 kB / 1.41 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/1.693, allocations: 8 kB / 1.41 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008331/1.694, allocations: 0.6077 MB / 1.41 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=90): time 5.831e-06/1.694, allocations: 0 / 1.41 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.002034/1.696, allocations: 0.8716 MB / 1.411 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/1.696, allocations: 318.4 kB / 1.412 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/1.698, allocations: 0.9904 MB / 1.413 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004489/1.698, allocations: 67.94 kB / 1.413 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006702/1.699, allocations: 0.5217 MB / 1.413 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/1.699, allocations: 205.3 kB / 1.413 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/1.699, allocations: 27.88 kB / 1.413 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.699, allocations: 359.9 kB / 1.414 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/1.701, allocations: 0.9726 MB / 1.415 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.703, allocations: 1.468 MB / 1.416 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/1.705, allocations: 1.088 MB / 1.417 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.705, allocations: 7.906 kB / 1.417 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005609/1.711, allocations: 2.553 MB / 1.42 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.711, allocations: 4.219 kB / 1.42 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.711, allocations: 16 kB / 1.42 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/1.711, allocations: 20 kB / 1.42 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/1.712, allocations: 110.6 kB / 1.42 GB, free: 6.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/1.712, allocations: 23.92 kB / 1.42 GB, free: 6.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/1.715, allocations: 0.6898 MB / 1.42 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/1.715, allocations: 105.6 kB / 1.421 GB, free: 5.383 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 98 ($whenCondition35,$whenCondition36,$whenCondition33,$whenCondition34,zonGroSta.yOpeWin,zonGroSta.booToInt2[1].y,zonGroSta.booToInt2[2].y,$PRE.winSta[1].y,winSta[1].y,$PRE.winSta[3].y,winSta[3].y,$PRE.winSta[2].y,winSta[2].y,$whenCondition31,$whenCondition32,$PRE.tim3.passed,tim3.passed,$PRE.tim1.passed,tim1.passed,$whenCondition29,$whenCondition30,$whenCondition27,$whenCondition28,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$PRE.lowOccHea[2].y,lowOccHea[2].y,and2[2].y,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,zonGroSta.yColZon,zonGroSta.booToInt[1].y,zonGroSta.booToInt[2].y,$PRE.lowUnoHea1[1].y,lowUnoHea1[1].y,$PRE.lowUnoHea1[3].y,lowUnoHea1[3].y,$PRE.lowUnoHea1[2].y,lowUnoHea1[2].y,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,zonGroSta.yEndSetBac,$PRE.endSetBac[1].y,endSetBac[1].y,$PRE.endSetBac[3].y,endSetBac[3].y,$PRE.endSetBac[2].y,endSetBac[2].y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,zonGroSta.uGroOcc,zonGroSta.yOccHeaHig,zonGroSta.schOcc.uTemp[2],$PRE.zonOcc1.y,zonOcc1.y,$PRE.zonOcc3.y,zonOcc3.y,$PRE.tim1.entryTime,tim1.entryTime,$PRE.tim3.entryTime,tim3.entryTime,$PRE.lowOccHea[1].y,lowOccHea[1].y,$PRE.lowOccHea[3].y,lowOccHea[3].y,and2[1].y,and2[3].y,zonGroSta.oveRidOcc.uTemp[2],zonGroSta.totZon.y,$PRE.zonGroSta.hysSetBac.y,zonGroSta.hysSetBac.y,$PRE.zonGroSta.hysSetUp.y,zonGroSta.hysSetUp.y,$PRE.zonTem3.booPul.y,zonTem3.booPul.y,zonGroSta.yEndSetUp,zonGroSta.yHotZon,zonGroSta.booToInt1[2].y,zonGroSta.booToInt1[1].y,zonGroSta.yHigOccCoo) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 15 * 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.0004256/1.715, allocations: 218 kB / 1.421 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/1.716, allocations: 118.1 kB / 1.421 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009372/1.717, allocations: 496.1 kB / 1.421 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.717, allocations: 12 kB / 1.421 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/1.717, allocations: 11.94 kB / 1.421 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.717, allocations: 3.984 kB / 1.421 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/1.719, allocations: 1.445 MB / 1.423 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.719, allocations: 0 / 1.423 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/1.719, allocations: 86.3 kB / 1.423 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/1.719, allocations: 8 kB / 1.423 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/1.719, allocations: 19.91 kB / 1.423 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/1.719, allocations: 15.97 kB / 1.423 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.719, allocations: 3.938 kB / 1.423 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001255/1.72, allocations: 1.104 MB / 1.424 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001291/1.722, allocations: 1.508 MB / 1.426 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/1.722, allocations: 193.9 kB / 1.426 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/1.722, allocations: 19.02 kB / 1.426 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/1.722, allocations: 42.58 kB / 1.426 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/1.723, allocations: 110.2 kB / 1.426 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/1.723, allocations: 41.55 kB / 1.426 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000773/1.724, allocations: 0.6748 MB / 1.427 GB, free: 72 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001961/1.725, allocations: 374.4 kB / 1.427 GB, free: 15.71 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 71 ($whenCondition1,$whenCondition2,zonGroSta.hysSetBac.y,zonGroSta.hysSetUp.y,zonTem3.booPul.y,$whenCondition3,$whenCondition4,endSetBac[2].y,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,zonGroSta.yEndSetBac,endSetBac[1].y,endSetBac[3].y,$whenCondition9,$whenCondition10,lowUnoHea1[2].y,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,zonGroSta.yColZon,zonGroSta.booToInt[1].y,zonGroSta.booToInt[2].y,lowUnoHea1[1].y,lowUnoHea1[3].y,$whenCondition15,$whenCondition16,lowOccHea[2].y,and2[2].y,$whenCondition29,$whenCondition30,$whenCondition27,$whenCondition28,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,zonGroSta.uGroOcc,zonGroSta.yOccHeaHig,zonGroSta.schOcc.uTemp[2],zonOcc1.y,zonOcc3.y,tim1.passed,tim1.entryTime,tim3.passed,tim3.entryTime,lowOccHea[1].y,lowOccHea[3].y,and2[1].y,and2[3].y,$whenCondition31,$whenCondition32,winSta[2].y,$whenCondition35,$whenCondition36,$whenCondition33,$whenCondition34,zonGroSta.yOpeWin,zonGroSta.booToInt2[1].y,zonGroSta.booToInt2[2].y,winSta[1].y,winSta[3].y,zonGroSta.yHotZon) * Number of discrete states: 4 (tim3.entryTime,tim1.entryTime,zonGroSta.hysSetBac.y,zonGroSta.hysSetUp.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 71 * 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.0002428/1.726, allocations: 162.7 kB / 1.427 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002832/1.729, allocations: 2.018 MB / 1.429 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.729, allocations: 0 / 1.429 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006942/1.729, allocations: 480.5 kB / 1.429 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/1.73, allocations: 181.1 kB / 1.43 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/1.734, allocations: 1.966 MB / 1.432 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.736, allocations: 1.469 MB / 1.433 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/1.736, allocations: 4 kB / 1.433 GB, free: 10.14 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_GroupStatus_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_GroupStatus.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus_res.mat does not exist to compare? outputFormat=mat