Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001013/0.001013, allocations: 185.3 kB / 361.1 MB, free: 7.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9917/0.9917, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000732/0.0007319, allocations: 95.73 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1692/0.17, allocations: 121.5 MB / 0.8512 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.5716, allocations: 115.3 MB / 0.9638 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.7011, allocations: 139.8 MB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.7013, allocations: 71.95 kB / 1.1 GB, free: 104 kB / 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.01405/0.7154, allocations: 5.832 MB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.7154, allocations: 8.5 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/0.7155, allocations: 39.53 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.716, allocations: 321.9 kB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.716, allocations: 8 kB / 1.106 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.7161, allocations: 21.34 kB / 1.106 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002644/0.7163, allocations: 136.9 kB / 1.107 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.7167, allocations: 197.8 kB / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7167, allocations: 0 / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.7167, allocations: 4 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7167, allocations: 8 kB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.7178, allocations: 0.8479 MB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.7182, allocations: 157.7 kB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.7183, allocations: 57.38 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.7183, allocations: 7.984 kB / 1.108 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.7185, allocations: 99.39 kB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.7185, allocations: 0 / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002876/0.7188, allocations: 146 kB / 1.108 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.7188, allocations: 81.11 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.719, allocations: 227.1 kB / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.7191, allocations: 25.7 kB / 1.108 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/0.7192, allocations: 148.2 kB / 1.109 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.7192, allocations: 51.36 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.7192, allocations: 0 / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7194, allocations: 338.7 kB / 1.109 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.7195, allocations: 72.11 kB / 1.109 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.7196, allocations: 111 kB / 1.109 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.7199, allocations: 79.98 kB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7199, allocations: 0 / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004634/0.7204, allocations: 230.2 kB / 1.109 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.7205, allocations: 360.6 kB / 1.11 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7205, allocations: 0 / 1.11 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.7205, allocations: 4 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.7207, allocations: 43.91 kB / 1.11 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.7207, allocations: 4 kB / 1.11 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.7211, allocations: 71.8 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.7211, allocations: 13.86 kB / 1.11 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.7211, allocations: 10.03 kB / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003993/0.7215, allocations: 175 kB / 1.11 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.7215, allocations: 0 / 1.11 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-06/0.7215, allocations: 4 kB / 1.11 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.7217, allocations: 34.45 kB / 1.11 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.7217, allocations: 7.766 kB / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.722, allocations: 59.86 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.722, allocations: 12.69 kB / 1.11 GB, free: 5.961 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.0001192/0.7221, allocations: 112.9 kB / 1.11 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.7222, allocations: 23.72 kB / 1.11 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.7222, allocations: 25.89 kB / 1.11 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7223, allocations: 0 / 1.11 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7223, allocations: 4 kB / 1.11 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7223, allocations: 3.906 kB / 1.11 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.7225, allocations: 286.6 kB / 1.111 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7225, allocations: 0 / 1.111 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.7227, allocations: 42.09 kB / 1.111 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7227, allocations: 0 / 1.111 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.7227, allocations: 3.938 kB / 1.111 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.7227, allocations: 3.906 kB / 1.111 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.7227, allocations: 3.984 kB / 1.111 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002214/0.723, allocations: 172.8 kB / 1.111 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002991/0.7233, allocations: 0.5519 MB / 1.111 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.7233, allocations: 100.8 kB / 1.111 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.7234, allocations: 0 / 1.111 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.7235, allocations: 32.48 kB / 1.111 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.7236, allocations: 7.984 kB / 1.111 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.7236, allocations: 8 kB / 1.111 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001344/0.7237, allocations: 165.2 kB / 1.112 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001456/0.7252, allocations: 99.92 kB / 1.112 GB, free: 4.234 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.0001385/0.7253, allocations: 115 kB / 1.112 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.7258, allocations: 328.8 kB / 1.112 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7258, allocations: 0 / 1.112 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.7259, allocations: 64 kB / 1.112 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.7262, allocations: 49.38 kB / 1.112 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.727, allocations: 313.8 kB / 1.113 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.7273, allocations: 0.7876 MB / 1.113 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of SimCode: time 1.442e-06/0.7273, allocations: 0 / 1.113 GB, free: 2.531 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1)