Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.134/2.134, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001622/0.001622, allocations: 185.2 kB / 360.3 MB, free: 7.543 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.648/1.648, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001204/0.001203, allocations: 88.38 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2449/0.2461, allocations: 121.4 MB / 0.8503 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.8049, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/1.014, allocations: 139.6 MB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.014, allocations: 79.94 kB / 1.099 GB, free: 1.172 MB / 0.698 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.02493/1.039, allocations: 5.822 MB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.039, allocations: 12.5 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/1.039, allocations: 35.53 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/1.04, allocations: 333.8 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/1.04, allocations: 8 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/1.04, allocations: 16.52 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004759/1.041, allocations: 140.8 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/1.041, allocations: 201 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.041, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/1.041, allocations: 4.594 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.041, allocations: 8 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/1.043, allocations: 0.8354 MB / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/1.044, allocations: 167.1 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/1.044, allocations: 56.86 kB / 1.107 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/1.044, allocations: 0 / 1.107 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/1.044, allocations: 99.38 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.936e-06/1.044, allocations: 4.703 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004856/1.045, allocations: 157.6 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/1.045, allocations: 81.11 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/1.045, allocations: 213 kB / 1.107 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/1.045, allocations: 29.7 kB / 1.107 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/1.045, allocations: 156.2 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/1.046, allocations: 39.36 kB / 1.107 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/1.046, allocations: 7.938 kB / 1.107 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.046, allocations: 338.7 kB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/1.046, allocations: 68.19 kB / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/1.046, allocations: 113.5 kB / 1.108 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/1.047, allocations: 73.05 kB / 1.108 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.047, allocations: 4.875 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008146/1.048, allocations: 226.5 kB / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/1.048, allocations: 367.9 kB / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.048, allocations: 3.984 kB / 1.109 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/1.048, allocations: 4 kB / 1.109 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/1.048, allocations: 35.98 kB / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.048, allocations: 0 / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/1.049, allocations: 75.78 kB / 1.109 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/1.049, allocations: 8 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/1.049, allocations: 9.438 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006991/1.05, allocations: 173 kB / 1.109 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.05, allocations: 7.984 kB / 1.109 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/1.05, allocations: 0 / 1.109 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/1.05, allocations: 31.98 kB / 1.109 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/1.05, allocations: 4 kB / 1.109 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/1.051, allocations: 64.61 kB / 1.109 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/1.051, allocations: 4.938 kB / 1.109 GB, free: 7.043 MB / 0.7136 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 0.0001413/1.051, allocations: 120.7 kB / 1.109 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/1.051, allocations: 19.72 kB / 1.109 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/1.051, allocations: 30.84 kB / 1.109 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.051, allocations: 3.984 kB / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.051, allocations: 0 / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.051, allocations: 4.516 kB / 1.109 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/1.051, allocations: 286 kB / 1.109 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.051, allocations: 0 / 1.109 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/1.052, allocations: 39.97 kB / 1.109 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/1.052, allocations: 4.875 kB / 1.109 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/1.052, allocations: 4 kB / 1.109 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.052, allocations: 11.78 kB / 1.109 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.052, allocations: 0 / 1.109 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004084/1.052, allocations: 172.8 kB / 1.11 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005469/1.053, allocations: 0.5466 MB / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/1.053, allocations: 105.4 kB / 1.11 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/1.053, allocations: 0 / 1.11 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/1.053, allocations: 29.83 kB / 1.11 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/1.053, allocations: 15.97 kB / 1.11 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/1.053, allocations: 4 kB / 1.11 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002583/1.054, allocations: 173.2 kB / 1.11 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00218/1.056, allocations: 95.94 kB / 1.111 GB, free: 5.305 MB / 0.7136 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.0001997/1.056, allocations: 107.2 kB / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000904/1.057, allocations: 320.7 kB / 1.111 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.057, allocations: 4 kB / 1.111 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/1.057, allocations: 63.92 kB / 1.111 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/1.058, allocations: 45.69 kB / 1.111 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.059, allocations: 312.9 kB / 1.111 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/1.06, allocations: 0.7868 MB / 1.112 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of SimCode: time 9.81e-07/1.06, allocations: 0 / 1.112 GB, free: 3.613 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_8.0.0_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_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1)