Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",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.821/1.821, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009565/0.0009564, allocations: 173.3 kB / 487 MB, free: 5.367 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.143/1.143, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008823/0.0008826, allocations: 88.69 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4029/0.4038, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.5858, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5019/1.088, allocations: 153.3 MB / 1.355 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/1.088, allocations: 82.02 kB / 1.355 GB, free: 15.87 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.02049/1.108, allocations: 8.694 MB / 1.364 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/1.108, allocations: 11.98 kB / 1.364 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/1.109, allocations: 39.53 kB / 1.364 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/1.109, allocations: 321.3 kB / 1.364 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/1.109, allocations: 22.89 kB / 1.364 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/1.109, allocations: 12 kB / 1.364 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002086/1.109, allocations: 121.5 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/1.109, allocations: 166.2 kB / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.109, allocations: 0 / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/1.11, allocations: 0 / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.11, allocations: 4 kB / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/1.11, allocations: 0.6371 MB / 1.365 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/1.111, allocations: 175.2 kB / 1.365 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/1.111, allocations: 78.34 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/1.111, allocations: 7.938 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/1.111, allocations: 119.6 kB / 1.365 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/1.111, allocations: 0 / 1.365 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002559/1.111, allocations: 168.2 kB / 1.365 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.584e-05/1.111, allocations: 55.41 kB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/1.111, allocations: 324.1 kB / 1.366 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/1.111, allocations: 29.7 kB / 1.366 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/1.111, allocations: 130.3 kB / 1.366 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/1.112, allocations: 53.58 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/1.112, allocations: 0 / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/1.112, allocations: 344.3 kB / 1.366 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/1.112, allocations: 90.73 kB / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/1.112, allocations: 146.8 kB / 1.367 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/1.112, allocations: 116 kB / 1.367 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.112, allocations: 0 / 1.367 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003982/1.112, allocations: 283 kB / 1.367 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/1.112, allocations: 4 kB / 1.367 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1.113, allocations: 7.922 kB / 1.367 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/1.113, allocations: 0 / 1.367 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/1.113, allocations: 35.97 kB / 1.367 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.113, allocations: 7.938 kB / 1.367 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/1.113, allocations: 35.86 kB / 1.367 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.113, allocations: 14.92 kB / 1.367 GB, free: 9.852 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,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,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 6.613e-05/1.113, allocations: 126.3 kB / 1.367 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/1.113, allocations: 23.72 kB / 1.367 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/1.113, allocations: 198.8 kB / 1.367 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.113, allocations: 4 kB / 1.367 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.113, allocations: 0 / 1.367 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.113, allocations: 3.984 kB / 1.367 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/1.113, allocations: 288.6 kB / 1.368 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.113, allocations: 0 / 1.368 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.131e-05/1.114, allocations: 23.23 kB / 1.368 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/1.114, allocations: 4 kB / 1.368 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.114, allocations: 7.984 kB / 1.368 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.114, allocations: 3.938 kB / 1.368 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.114, allocations: 0 / 1.368 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002095/1.114, allocations: 205.6 kB / 1.368 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002385/1.114, allocations: 0.5806 MB / 1.368 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/1.114, allocations: 108.7 kB / 1.369 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/1.114, allocations: 4 kB / 1.369 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/1.114, allocations: 19.98 kB / 1.369 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/1.114, allocations: 39.75 kB / 1.369 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/1.114, allocations: 11.98 kB / 1.369 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001447/1.115, allocations: 218.3 kB / 1.369 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008139/1.115, allocations: 74.53 kB / 1.369 GB, free: 8.086 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,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,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * 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.0005318/1.116, allocations: 326.6 kB / 1.369 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002552/1.116, allocations: 195.7 kB / 1.369 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.116, allocations: 0 / 1.369 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/1.116, allocations: 81.44 kB / 1.369 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/1.117, allocations: 42.62 kB / 1.37 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/1.117, allocations: 372.3 kB / 1.37 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/1.118, allocations: 0.8212 MB / 1.371 GB, free: 22.45 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/1.118, allocations: 0 / 1.371 GB, free: 22.45 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)