Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.388/1.388, allocations: 289.8 MB / 297 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 181.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.086/1.086, allocations: 205.1 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008678/0.0008676, allocations: 88.59 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.209/0.2099, allocations: 122.5 MB / 0.8592 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.6492, allocations: 116.3 MB / 0.9727 GB, free: 68.55 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.7923, allocations: 140.7 MB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.7926, allocations: 72.48 kB / 1.11 GB, free: 7.629 MB / 0.7136 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.01427/0.8069, allocations: 5.836 MB / 1.116 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.8069, allocations: 8 kB / 1.116 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/0.807, allocations: 39.53 kB / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.8075, allocations: 321.9 kB / 1.116 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.8075, allocations: 8 kB / 1.116 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.8076, allocations: 19.94 kB / 1.116 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002566/0.8078, allocations: 132.9 kB / 1.116 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.8081, allocations: 205 kB / 1.117 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8082, allocations: 0 / 1.117 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.8082, allocations: 4 kB / 1.117 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.8082, allocations: 4 kB / 1.117 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.8093, allocations: 0.8513 MB / 1.117 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.8097, allocations: 154.6 kB / 1.118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.824e-05/0.8098, allocations: 56.86 kB / 1.118 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.8098, allocations: 0 / 1.118 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.81, allocations: 108.9 kB / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.81, allocations: 0 / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002799/0.8103, allocations: 149.3 kB / 1.118 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.8103, allocations: 81.11 kB / 1.118 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.8105, allocations: 221 kB / 1.118 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.8106, allocations: 25.7 kB / 1.118 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.8106, allocations: 152.2 kB / 1.118 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.8107, allocations: 51.31 kB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.8107, allocations: 1.125 kB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.8108, allocations: 334.7 kB / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.811, allocations: 72.17 kB / 1.119 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.8111, allocations: 108.3 kB / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.8114, allocations: 83.92 kB / 1.119 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8114, allocations: 4 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004568/0.8119, allocations: 230.2 kB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.812, allocations: 356.6 kB / 1.12 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.812, allocations: 4 kB / 1.12 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.812, allocations: 0 / 1.12 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.8122, allocations: 47.91 kB / 1.12 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.8122, allocations: 4 kB / 1.12 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.8125, allocations: 73.02 kB / 1.12 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.8126, allocations: 11.98 kB / 1.12 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.8126, allocations: 6.5 kB / 1.12 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000389/0.813, allocations: 171.8 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.813, allocations: 0 / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.918e-06/0.813, allocations: 4 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.8132, allocations: 36.02 kB / 1.12 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/0.8132, allocations: 0 / 1.12 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.8135, allocations: 59.86 kB / 1.12 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.8135, allocations: 15.98 kB / 1.12 GB, free: 13.41 MB / 0.7292 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.164e-05/0.8136, allocations: 110.1 kB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.8136, allocations: 23.72 kB / 1.12 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.8137, allocations: 21.89 kB / 1.12 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.8137, allocations: 4.656 kB / 1.12 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8137, allocations: 0 / 1.12 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.8137, allocations: 3.906 kB / 1.12 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.8139, allocations: 290 kB / 1.12 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.814, allocations: 0 / 1.12 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.8141, allocations: 43.91 kB / 1.12 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.8141, allocations: 0 / 1.12 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.8142, allocations: 5.344 kB / 1.12 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8142, allocations: 3.906 kB / 1.12 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8142, allocations: 4 kB / 1.12 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002293/0.8144, allocations: 178.5 kB / 1.121 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000304/0.8147, allocations: 0.5479 MB / 1.121 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.8148, allocations: 100.8 kB / 1.121 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.8148, allocations: 0 / 1.121 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.815, allocations: 31.88 kB / 1.121 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.815, allocations: 11.98 kB / 1.121 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.8151, allocations: 4 kB / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001344/0.8152, allocations: 169.2 kB / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001534/0.8167, allocations: 99.92 kB / 1.122 GB, free: 11.68 MB / 0.7292 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.0001386/0.8169, allocations: 112.5 kB / 1.122 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000478/0.8174, allocations: 327.3 kB / 1.122 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8174, allocations: 0 / 1.122 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.8175, allocations: 65.16 kB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.8178, allocations: 52.98 kB / 1.122 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.8186, allocations: 315.8 kB / 1.122 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.8189, allocations: 0.7907 MB / 1.123 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of SimCode: time 1.363e-06/0.8189, allocations: 0 / 1.123 GB, free: 9.961 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1)