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.CoolingCoil.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.CoolingCoil,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",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.845/1.845, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009254/0.0009253, allocations: 176.5 kB / 487 MB, free: 5.41 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.17/1.17, allocations: 221.3 MB / 0.7819 GB, free: 1.473 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.0008471/0.000847, allocations: 101.9 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5035/0.5044, allocations: 148.5 MB / 1.066 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.7204, allocations: 142.3 MB / 1.205 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.8826, allocations: 151.2 MB / 1.353 GB, free: 7.594 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.8828, allocations: 83.88 kB / 1.353 GB, free: 7.512 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0137/0.8965, allocations: 5.75 MB / 1.359 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.8966, allocations: 8.5 kB / 1.359 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.8966, allocations: 39.53 kB / 1.359 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.8971, allocations: 318 kB / 1.359 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.8971, allocations: 15.91 kB / 1.359 GB, free: 1.293 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.8972, allocations: 16 kB / 1.359 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002483/0.8974, allocations: 128.9 kB / 1.359 GB, free: 1.152 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.8977, allocations: 197 kB / 1.359 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.8977, allocations: 3.984 kB / 1.359 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.8978, allocations: 0 / 1.359 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.8978, allocations: 11.94 kB / 1.359 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.8988, allocations: 0.8178 MB / 1.36 GB, free: 72 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.456/1.355, allocations: 153.2 kB / 1.36 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/1.355, allocations: 58.7 kB / 1.36 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/1.355, allocations: 4.594 kB / 1.36 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/1.355, allocations: 102.2 kB / 1.361 GB, free: 106 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=16): time 2.896e-06/1.355, allocations: 3.469 kB / 1.361 GB, free: 106 MB / 0.9948 GB Notification: Performance of matching and sorting (n=16): time 0.0003215/1.355, allocations: 143 kB / 1.361 GB, free: 106 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/1.356, allocations: 86.77 kB / 1.361 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/1.356, allocations: 209.3 kB / 1.361 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/1.356, allocations: 27.92 kB / 1.361 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/1.356, allocations: 154.3 kB / 1.361 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/1.356, allocations: 48.91 kB / 1.361 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/1.356, allocations: 0 / 1.361 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.915e-05/1.356, allocations: 332.3 kB / 1.361 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/1.356, allocations: 62.91 kB / 1.362 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/1.356, allocations: 113.1 kB / 1.362 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/1.356, allocations: 75.2 kB / 1.362 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.356, allocations: 0 / 1.362 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000397/1.357, allocations: 226.8 kB / 1.362 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/1.357, allocations: 362.4 kB / 1.362 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.357, allocations: 2.656 kB / 1.362 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/1.357, allocations: 3.156 kB / 1.362 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/1.357, allocations: 44.59 kB / 1.362 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/1.357, allocations: 1.5 kB / 1.362 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/1.357, allocations: 75.03 kB / 1.362 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/1.357, allocations: 10.47 kB / 1.362 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/1.357, allocations: 3.625 kB / 1.362 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003539/1.358, allocations: 170.8 kB / 1.363 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-06/1.358, allocations: 3.969 kB / 1.363 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-06/1.358, allocations: 0 / 1.363 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/1.358, allocations: 38.34 kB / 1.363 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-06/1.358, allocations: 0 / 1.363 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/1.358, allocations: 63.86 kB / 1.363 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/1.358, allocations: 7.938 kB / 1.363 GB, free: 104.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.booPul.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 8.121e-05/1.358, allocations: 109.9 kB / 1.363 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/1.358, allocations: 25.02 kB / 1.363 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/1.359, allocations: 23.88 kB / 1.363 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.359, allocations: 3.938 kB / 1.363 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.359, allocations: 0.5625 kB / 1.363 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.359, allocations: 5.844 kB / 1.363 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.359, allocations: 274.3 kB / 1.363 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.359, allocations: 3.625 kB / 1.363 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/1.359, allocations: 36.27 kB / 1.363 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.359, allocations: 7.469 kB / 1.363 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/1.359, allocations: 0 / 1.363 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.359, allocations: 0.5312 kB / 1.363 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.359, allocations: 4.125 kB / 1.363 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002014/1.359, allocations: 173 kB / 1.363 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002391/1.359, allocations: 0.5429 MB / 1.364 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/1.359, allocations: 101.9 kB / 1.364 GB, free: 104 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/1.36, allocations: 0 / 1.364 GB, free: 104 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/1.36, allocations: 27.08 kB / 1.364 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/1.36, allocations: 14.34 kB / 1.364 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/1.36, allocations: 13.19 kB / 1.364 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0001098/1.36, allocations: 158.7 kB / 1.364 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001537/1.361, allocations: 104.2 kB / 1.364 GB, free: 103.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001375/1.362, allocations: 111.3 kB / 1.364 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003979/1.362, allocations: 306.2 kB / 1.365 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.362, allocations: 3.281 kB / 1.365 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.695e-05/1.362, allocations: 58.34 kB / 1.365 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/1.362, allocations: 65.06 kB / 1.365 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/1.363, allocations: 318.6 kB / 1.365 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.363, allocations: 0.7836 MB / 1.366 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of SimCode: time 2.3e-07/1.363, allocations: 4 kB / 1.366 GB, free: 102.8 MB / 0.9948 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1)