Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.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.VentilationZones.Title24.Validation.Setpoints,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_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 10.0.0-master/package.mo): time 1.754/1.754, allocations: 390.4 MB / 397.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 180.7 kB / 490.8 MB, free: 13.25 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.096/1.096, allocations: 221.4 MB / 0.7863 GB, free: 2.645 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008171/0.0008171, allocations: 97.56 kB / 0.9264 GB, free: 39.98 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2231/0.2239, allocations: 149.2 MB / 1.072 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.7082, allocations: 143 MB / 1.212 GB, free: 63.21 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.8609, allocations: 152.7 MB / 1.361 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.8611, allocations: 71.95 kB / 1.361 GB, free: 4.148 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 426 * Number of variables: 426 Notification: Performance of Generate backend data structure: time 0.05199/0.9131, allocations: 23.5 MB / 1.384 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.9132, allocations: 8 kB / 1.384 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.9135, allocations: 193.7 kB / 1.384 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.9146, allocations: 0.7514 MB / 1.385 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.929e-05/0.9147, allocations: 71.98 kB / 1.385 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.9148, allocations: 100 kB / 1.385 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001731/0.9166, allocations: 0.9518 MB / 1.386 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.9186, allocations: 1.273 MB / 1.387 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.9186, allocations: 0 / 1.387 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.9187, allocations: 4 kB / 1.387 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.9187, allocations: 40 kB / 1.387 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006351/0.9251, allocations: 5.15 MB / 1.392 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.9261, allocations: 0.5349 MB / 1.393 GB, free: 3.184 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.9265, allocations: 209 kB / 1.393 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.9265, allocations: 16.42 kB / 1.393 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.927, allocations: 383.5 kB / 1.393 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.326e-06/0.927, allocations: 0 / 1.393 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.0008659/0.9279, allocations: 0.5094 MB / 1.394 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.9281, allocations: 401.5 kB / 1.394 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007474/0.9288, allocations: 0.6601 MB / 1.395 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.9289, allocations: 29.7 kB / 1.395 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.9293, allocations: 0.6235 MB / 1.395 GB, free: 196 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.9294, allocations: 212.9 kB / 1.396 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.9295, allocations: 8 kB / 1.396 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.9296, allocations: 342 kB / 1.396 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.9301, allocations: 274 kB / 1.396 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.9307, allocations: 418.3 kB / 1.397 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/0.9314, allocations: 322.9 kB / 1.397 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.9314, allocations: 0 / 1.397 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001514/0.9329, allocations: 0.8308 MB / 1.398 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.9329, allocations: 8.062 kB / 1.398 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.933, allocations: 7.938 kB / 1.398 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.933, allocations: 8 kB / 1.398 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.9337, allocations: 187.8 kB / 1.398 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.9337, allocations: 7.938 kB / 1.398 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.9346, allocations: 187 kB / 1.398 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/0.9347, allocations: 39.98 kB / 1.398 GB, free: 13.31 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,winSenZon.havCO2Sen.y,$PRE.winSta.y,winSta.y,occSenZon.havCO2Sen.y,$PRE.occSta.y,occSta.y,co2SenSZVAV.havCO2Sen.y,co2SenZon.havCO2Sen.y,co2SenZon.booToRea.u,co2SenZonParFan.uZonSta,co2SenZonParFan.booToRea.u,co2SenZonParFan.inCooSta.y,co2SenSZVAV.booToRea.u,booToInt.u,booToInt.y,noSenZon.havCO2Sen.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.0001593/0.9348, allocations: 135.3 kB / 1.398 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.935, allocations: 94.86 kB / 1.398 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.9357, allocations: 439.6 kB / 1.399 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.9357, allocations: 12 kB / 1.399 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9357, allocations: 8 kB / 1.399 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.9358, allocations: 7.984 kB / 1.399 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.9381, allocations: 2.082 MB / 1.401 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9381, allocations: 8.094 kB / 1.401 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.9387, allocations: 143.8 kB / 1.401 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.9387, allocations: 12 kB / 1.401 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/0.9387, allocations: 12 kB / 1.401 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.9388, allocations: 16.08 kB / 1.401 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9388, allocations: 4 kB / 1.401 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001049/0.9398, allocations: 0.9892 MB / 1.402 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001138/0.941, allocations: 1.378 MB / 1.403 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.9411, allocations: 187.8 kB / 1.404 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/0.9412, allocations: 7.938 kB / 1.404 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.9417, allocations: 67.94 kB / 1.404 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.9419, allocations: 67.83 kB / 1.404 GB, free: 7.145 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.9419, allocations: 27.98 kB / 1.404 GB, free: 7.117 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0004862/0.9424, allocations: 463.2 kB / 1.404 GB, free: 6.672 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001171/0.9436, allocations: 270.6 kB / 1.404 GB, free: 6.406 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 13 (co2SenZon.booToRea.u,co2SenZonParFan.uZonSta,co2SenZonParFan.booToRea.u,co2SenZonParFan.inCooSta.y,co2SenSZVAV.booToRea.u,booToInt.u,booToInt.y,$whenCondition1,$whenCondition2,occSta.y,$whenCondition3,$whenCondition4,winSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * 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.0001775/0.9438, allocations: 146.3 kB / 1.405 GB, free: 6.254 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.9449, allocations: 0.6837 MB / 1.405 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.9449, allocations: 0 / 1.405 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.9455, allocations: 331.6 kB / 1.405 GB, free: 5.238 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.9459, allocations: 68.86 kB / 1.406 GB, free: 5.172 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.9487, allocations: 1.513 MB / 1.407 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009659/0.9496, allocations: 1.281 MB / 1.408 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of SimCode: time 1.473e-06/0.9496, allocations: 4 kB / 1.408 GB, free: 2.238 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints_res.mat does not exist to compare? outputFormat=mat