Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",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.815/1.815, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.0008896/0.0008895, allocations: 189.2 kB / 490.8 MB, free: 1.965 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.133/1.133, allocations: 221.4 MB / 0.7863 GB, free: 13.74 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.0008651/0.0008651, allocations: 101 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4227/0.4236, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.6047, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/1.129, allocations: 150.4 MB / 1.359 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.13, allocations: 72.03 kB / 1.359 GB, free: 17.16 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.01535/1.145, allocations: 5.477 MB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/1.145, allocations: 9.375 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/1.145, allocations: 39.06 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/1.145, allocations: 211.5 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/1.145, allocations: 6.25 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/1.145, allocations: 19.77 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002867/1.146, allocations: 110.6 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/1.146, allocations: 146.2 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.146, allocations: 1.094 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/1.146, allocations: 0.9375 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/1.146, allocations: 4.188 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/1.147, allocations: 0.6963 MB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/1.148, allocations: 163.7 kB / 1.365 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/1.148, allocations: 64.58 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/1.148, allocations: 1.469 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/1.148, allocations: 128.1 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/1.148, allocations: 0 / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003356/1.148, allocations: 155.5 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/1.148, allocations: 54.16 kB / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/1.149, allocations: 197 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/1.149, allocations: 34.61 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/1.149, allocations: 135.7 kB / 1.366 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/1.149, allocations: 37.62 kB / 1.366 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/1.149, allocations: 6.781 kB / 1.366 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.149, allocations: 335.1 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.149, allocations: 99 kB / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/1.149, allocations: 156.5 kB / 1.367 GB, free: 31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/1.15, allocations: 122.4 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.15, allocations: 1.375 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000699/1.151, allocations: 304.3 kB / 1.367 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.151, allocations: 9.969 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/1.151, allocations: 1.031 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/1.151, allocations: 2.688 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/1.151, allocations: 21.98 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.151, allocations: 5.406 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/1.151, allocations: 111 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/1.151, allocations: 21.41 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,$PRE.uCoo.booPul.y,uCoo.booPul.y,$PRE.uHea.booPul.y,uHea.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0001081/1.151, allocations: 124 kB / 1.367 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/1.151, allocations: 16.81 kB / 1.367 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/1.151, allocations: 26.55 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/1.152, allocations: 6.5 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.152, allocations: 0 / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.152, allocations: 1.172 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/1.152, allocations: 265.2 kB / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.152, allocations: 0 / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/1.152, allocations: 17.98 kB / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.152, allocations: 10.33 kB / 1.368 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/1.152, allocations: 2.516 kB / 1.368 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.152, allocations: 1.25 kB / 1.368 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.152, allocations: 0 / 1.368 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002474/1.152, allocations: 189.5 kB / 1.368 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003518/1.153, allocations: 0.5532 MB / 1.368 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/1.153, allocations: 91.36 kB / 1.369 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/1.153, allocations: 7.297 kB / 1.369 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/1.153, allocations: 23.42 kB / 1.369 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/1.153, allocations: 31.53 kB / 1.369 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/1.153, allocations: 15.98 kB / 1.369 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001172/1.153, allocations: 134.8 kB / 1.369 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008869/1.154, allocations: 60.3 kB / 1.369 GB, free: 29.88 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001703/1.154, allocations: 120.3 kB / 1.369 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004396/1.154, allocations: 267.1 kB / 1.369 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.154, allocations: 3.938 kB / 1.369 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/1.155, allocations: 81.7 kB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/1.155, allocations: 41.81 kB / 1.369 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/1.156, allocations: 247 kB / 1.37 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/1.156, allocations: 0.7739 MB / 1.37 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.156, allocations: 1.031 kB / 1.37 GB, free: 28.87 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat does not exist to compare? outputFormat=mat