Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.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.ASHRAE62_1.Validation.Setpoints,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.83/1.83, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0009205/0.0009205, allocations: 177.3 kB / 490.8 MB, free: 1.938 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.139/1.139, allocations: 221.4 MB / 0.7863 GB, free: 13.75 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.0008189/0.0008188, allocations: 91.17 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4221/0.4229, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.6052, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5306/1.136, allocations: 153.1 MB / 1.361 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.136, allocations: 74.38 kB / 1.361 GB, free: 17.2 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.07865/1.215, allocations: 29.93 MB / 1.391 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.215, allocations: 9.5 kB / 1.391 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/1.216, allocations: 253.8 kB / 1.391 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/1.219, allocations: 1.089 MB / 1.392 GB, free: 24.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/1.219, allocations: 79.75 kB / 1.392 GB, free: 24.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/1.219, allocations: 130.7 kB / 1.392 GB, free: 24.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003076/1.222, allocations: 1.206 MB / 1.393 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/1.225, allocations: 1.489 MB / 1.395 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/1.225, allocations: 0 / 1.395 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/1.225, allocations: 1.062 kB / 1.395 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/1.226, allocations: 53.06 kB / 1.395 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008277/1.234, allocations: 4.528 MB / 1.399 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/1.235, allocations: 0.9926 MB / 1.4 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/1.236, allocations: 386.6 kB / 1.4 GB, free: 21.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.2e-05/1.236, allocations: 20.55 kB / 1.401 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000884/1.237, allocations: 0.5566 MB / 1.401 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=120): time 3.026e-06/1.237, allocations: 0 / 1.401 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=120): time 0.00173/1.239, allocations: 0.7922 MB / 1.402 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/1.239, allocations: 276.1 kB / 1.402 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.24, allocations: 0.7388 MB / 1.403 GB, free: 20.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/1.24, allocations: 41.22 kB / 1.403 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/1.241, allocations: 0.6823 MB / 1.404 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/1.241, allocations: 353.2 kB / 1.404 GB, free: 20.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/1.241, allocations: 4.094 kB / 1.404 GB, free: 20.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.241, allocations: 351 kB / 1.404 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008338/1.242, allocations: 378.1 kB / 1.405 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008678/1.243, allocations: 0.5317 MB / 1.405 GB, free: 19.67 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000968/1.244, allocations: 383.5 kB / 1.405 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.244, allocations: 0 / 1.405 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002367/1.246, allocations: 1.064 MB / 1.406 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.246, allocations: 9.328 kB / 1.406 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.246, allocations: 1.094 kB / 1.406 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.246, allocations: 6.688 kB / 1.406 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.248, allocations: 222.2 kB / 1.407 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.248, allocations: 10.66 kB / 1.407 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.249, allocations: 250.6 kB / 1.407 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.249, allocations: 50.16 kB / 1.407 GB, free: 19.17 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: 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.0002439/1.249, allocations: 144.1 kB / 1.407 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.249, allocations: 121.6 kB / 1.407 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/1.251, allocations: 0.9024 MB / 1.408 GB, free: 18.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.251, allocations: 12 kB / 1.408 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.251, allocations: 0 / 1.408 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/1.251, allocations: 3.984 kB / 1.408 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/1.255, allocations: 2.519 MB / 1.411 GB, free: 16.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.255, allocations: 4 kB / 1.411 GB, free: 16.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/1.256, allocations: 214 kB / 1.411 GB, free: 16.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/1.256, allocations: 8 kB / 1.411 GB, free: 16.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/1.256, allocations: 19.11 kB / 1.411 GB, free: 16.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.256, allocations: 11.98 kB / 1.411 GB, free: 16.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/1.256, allocations: 7.938 kB / 1.411 GB, free: 16.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001417/1.257, allocations: 1.28 MB / 1.412 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001834/1.259, allocations: 1.679 MB / 1.414 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/1.259, allocations: 218.1 kB / 1.414 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/1.259, allocations: 11.62 kB / 1.414 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008352/1.26, allocations: 127.9 kB / 1.414 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/1.261, allocations: 160.8 kB / 1.414 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/1.261, allocations: 42.11 kB / 1.414 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006804/1.261, allocations: 0.5042 MB / 1.415 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001701/1.263, allocations: 354.2 kB / 1.415 GB, free: 12.2 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.0002643/1.263, allocations: 151.2 kB / 1.415 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00177/1.265, allocations: 0.9769 MB / 1.416 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.265, allocations: 0 / 1.416 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/1.266, allocations: 0.5311 MB / 1.417 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/1.267, allocations: 101.8 kB / 1.417 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/1.271, allocations: 1.987 MB / 1.419 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/1.272, allocations: 1.464 MB / 1.42 GB, free: 7.633 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.272, allocations: 0 / 1.42 GB, free: 7.633 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat does not exist to compare? outputFormat=mat