Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints",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 9.1.1-maint.9.1.x/package.mo): time 1.827/1.827, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.0009294/0.0009293, allocations: 177.3 kB / 487 MB, free: 5.426 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.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.000836, allocations: 113.9 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4413/0.4422, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.634, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5329/1.167, allocations: 152.3 MB / 1.354 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.167, allocations: 74.91 kB / 1.354 GB, free: 15.96 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.06548/1.233, allocations: 29.76 MB / 1.383 GB, free: 12.91 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.233, allocations: 9 kB / 1.383 GB, free: 12.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/1.233, allocations: 249 kB / 1.383 GB, free: 12.66 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/1.235, allocations: 1.085 MB / 1.384 GB, free: 11.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.236, allocations: 82.38 kB / 1.385 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/1.236, allocations: 124 kB / 1.385 GB, free: 11.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002381/1.238, allocations: 1.199 MB / 1.386 GB, free: 10.84 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/1.241, allocations: 1.471 MB / 1.387 GB, free: 9.746 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.487e-05/1.241, allocations: 4 kB / 1.387 GB, free: 9.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/1.241, allocations: 3.984 kB / 1.387 GB, free: 9.738 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/1.241, allocations: 52 kB / 1.387 GB, free: 9.688 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007022/1.248, allocations: 4.51 MB / 1.392 GB, free: 6.34 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/1.249, allocations: 0.9931 MB / 1.393 GB, free: 5.613 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005932/1.25, allocations: 385.9 kB / 1.393 GB, free: 5.387 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.975e-05/1.25, allocations: 15.75 kB / 1.393 GB, free: 5.375 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007391/1.251, allocations: 0.5533 MB / 1.394 GB, free: 4.957 MB / 0.823 GB Notification: Performance of pre-optimization done (n=120): time 2.916e-06/1.251, allocations: 0 / 1.394 GB, free: 4.957 MB / 0.823 GB Notification: Performance of matching and sorting (n=120): time 0.001317/1.252, allocations: 0.7919 MB / 1.394 GB, free: 4.375 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/1.252, allocations: 273.4 kB / 1.395 GB, free: 4.051 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/1.253, allocations: 0.7389 MB / 1.395 GB, free: 3.492 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.616e-05/1.253, allocations: 44.7 kB / 1.395 GB, free: 3.449 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/1.254, allocations: 0.6812 MB / 1.396 GB, free: 2.855 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/1.254, allocations: 356.5 kB / 1.396 GB, free: 2.551 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/1.254, allocations: 0 / 1.396 GB, free: 2.551 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.254, allocations: 353.2 kB / 1.397 GB, free: 2.219 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/1.255, allocations: 377.6 kB / 1.397 GB, free: 2.02 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/1.255, allocations: 0.5317 MB / 1.398 GB, free: 1.625 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008611/1.256, allocations: 385.6 kB / 1.398 GB, free: 1.395 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.256, allocations: 3.984 kB / 1.398 GB, free: 1.391 MB / 0.823 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001802/1.258, allocations: 1.052 MB / 1.399 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.258, allocations: 10.59 kB / 1.399 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.258, allocations: 8.031 kB / 1.399 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.258, allocations: 8 kB / 1.399 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/1.259, allocations: 230.6 kB / 1.399 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.259, allocations: 8 kB / 1.399 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.26, allocations: 247 kB / 1.4 GB, free: 136 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.26, allocations: 49.98 kB / 1.4 GB, free: 96 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noSenZon.notOccMod.y,noSenZon.modAreBreAir.u2,$PRE.noSenZon.cooSup.greHys.y,noSenZon.cooSup.greHys.y,winSenZon.notOccMod.y,winSenZon.modAreBreAir.u2,$PRE.winSenZon.cooSup.greHys.y,winSenZon.cooSup.greHys.y,occSenZon.notOccMod.y,occSenZon.modAreBreAir.u2,$PRE.occSenZon.cooSup.greHys.y,occSenZon.cooSup.greHys.y,co2SenZon.notOccMod.y,co2SenZon.modAreBreAir.u2,$PRE.co2SenZon.cooSup.greHys.y,co2SenZon.cooSup.greHys.y,co2SenZonParFan.notOccMod.y,co2SenZonParFan.modAreBreAir.u2,$PRE.co2SenZonParFan.cooSup.greHys.y,co2SenZonParFan.cooSup.greHys.y,co2SenZonParFan.uZonSta,co2SenZonParFan.inCooSta.y,co2SenSZVAV.notOccMod.y,co2SenSZVAV.modAreBreAir.u2,$PRE.co2SenSZVAV.cooSup.greHys.y,co2SenSZVAV.cooSup.greHys.y,booToInt.u,booToInt.y,$PRE.winSta.y,winSta.y,$PRE.occSta.y,occSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 145 * 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.0002063/1.26, allocations: 143.1 kB / 1.4 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/1.26, allocations: 122.5 kB / 1.4 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/1.262, allocations: 0.8979 MB / 1.401 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.262, allocations: 16 kB / 1.401 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.262, allocations: 0 / 1.401 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.262, allocations: 11.97 kB / 1.401 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/1.265, allocations: 2.501 MB / 1.403 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.265, allocations: 4 kB / 1.403 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008337/1.266, allocations: 222.7 kB / 1.403 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/1.266, allocations: 15.98 kB / 1.403 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/1.266, allocations: 8 kB / 1.403 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/1.266, allocations: 11.98 kB / 1.403 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.266, allocations: 11.94 kB / 1.403 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001522/1.268, allocations: 1.277 MB / 1.405 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001554/1.269, allocations: 1.677 MB / 1.406 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/1.27, allocations: 209.9 kB / 1.407 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.27, allocations: 21.39 kB / 1.407 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/1.27, allocations: 123.9 kB / 1.407 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/1.271, allocations: 151.6 kB / 1.407 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/1.271, allocations: 42.17 kB / 1.407 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005261/1.271, allocations: 0.5075 MB / 1.407 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0013/1.273, allocations: 357.6 kB / 1.408 GB, free: 9.133 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noSenZon.notOccMod.y,noSenZon.modAreBreAir.u2,noSenZon.cooSup.greHys.y,winSenZon.notOccMod.y,winSenZon.modAreBreAir.u2,winSenZon.cooSup.greHys.y,occSenZon.notOccMod.y,occSenZon.modAreBreAir.u2,occSenZon.cooSup.greHys.y,co2SenZon.notOccMod.y,co2SenZon.modAreBreAir.u2,co2SenZon.cooSup.greHys.y,co2SenZonParFan.notOccMod.y,co2SenZonParFan.modAreBreAir.u2,co2SenZonParFan.cooSup.greHys.y,co2SenZonParFan.uZonSta,co2SenZonParFan.inCooSta.y,co2SenSZVAV.notOccMod.y,co2SenSZVAV.modAreBreAir.u2,co2SenSZVAV.cooSup.greHys.y,booToInt.u,booToInt.y,winSta.y,occSta.y) * Number of discrete states: 6 (co2SenSZVAV.cooSup.greHys.y,co2SenZonParFan.cooSup.greHys.y,co2SenZon.cooSup.greHys.y,occSenZon.cooSup.greHys.y,winSenZon.cooSup.greHys.y,noSenZon.cooSup.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 124 * 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.0002238/1.273, allocations: 153.7 kB / 1.408 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.274, allocations: 0.9727 MB / 1.409 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.274, allocations: 4.25 kB / 1.409 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008269/1.275, allocations: 0.5337 MB / 1.409 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/1.276, allocations: 102.9 kB / 1.409 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/1.279, allocations: 1.982 MB / 1.411 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.281, allocations: 1.459 MB / 1.413 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.281, allocations: 0 / 1.413 GB, free: 4.57 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat does not exist to compare? outputFormat=mat