Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.335/2.335, allocations: 248.6 MB / 255.9 MB, free: 7.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 186.8 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.1 MB / 0.5658 GB, free: 276 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 86.45 kB / 0.67 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4479/0.4493, allocations: 112.4 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.6499, allocations: 106.2 MB / 0.8835 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6482/1.298, allocations: 135.4 MB / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.298, allocations: 87.64 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.03115/1.33, allocations: 5.646 MB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.31e-05/1.33, allocations: 12 kB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/1.33, allocations: 35.53 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/1.331, allocations: 319.4 kB / 1.022 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/1.331, allocations: 8 kB / 1.022 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.46e-05/1.331, allocations: 16 kB / 1.022 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008659/1.332, allocations: 158.9 kB / 1.022 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/1.333, allocations: 231.2 kB / 1.022 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/1.333, allocations: 0 / 1.022 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/1.333, allocations: 0 / 1.022 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/1.333, allocations: 4 kB / 1.022 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/1.336, allocations: 0.8841 MB / 1.023 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/1.336, allocations: 164.1 kB / 1.023 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/1.336, allocations: 67.53 kB / 1.023 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/1.336, allocations: 4 kB / 1.023 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/1.337, allocations: 110.4 kB / 1.023 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.116e-06/1.337, allocations: 3.938 kB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005909/1.337, allocations: 155.2 kB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/1.337, allocations: 85.05 kB / 1.024 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/1.338, allocations: 221.8 kB / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/1.338, allocations: 25.7 kB / 1.024 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/1.338, allocations: 165.5 kB / 1.024 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/1.338, allocations: 49.33 kB / 1.024 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/1.338, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.338, allocations: 340.8 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/1.339, allocations: 57.73 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/1.339, allocations: 90.11 kB / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/1.339, allocations: 50.08 kB / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.339, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000549/1.34, allocations: 195.7 kB / 1.025 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.34, allocations: 178.1 kB / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.34, allocations: 7.906 kB / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.34, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/1.34, allocations: 66.94 kB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.34, allocations: 3.938 kB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/1.341, allocations: 47.81 kB / 1.025 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/1.341, allocations: 7.75 kB / 1.025 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.341, allocations: 4 kB / 1.025 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004439/1.341, allocations: 124.8 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.341, allocations: 4.031 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/1.341, allocations: 7.984 kB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/1.342, allocations: 47.91 kB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/1.342, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/1.342, allocations: 39.88 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/1.342, allocations: 7.188 kB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.T_start,zonSta.T_start,$PRE.zonSta.count,zonSta.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 0.0001577/1.343, allocations: 116 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/1.343, allocations: 31.56 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/1.343, allocations: 23.77 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.343, allocations: 4 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.343, allocations: 0 / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.343, allocations: 0 / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009819/1.344, allocations: 0.5273 MB / 1.026 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.344, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/1.344, allocations: 59.36 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/1.344, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/1.344, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.344, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.344, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005185/1.345, allocations: 283.8 kB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000671/1.346, allocations: 0.6452 MB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/1.346, allocations: 100.6 kB / 1.027 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/1.346, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/1.346, allocations: 35.88 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/1.346, allocations: 30.89 kB / 1.027 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/1.346, allocations: 4 kB / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002638/1.347, allocations: 170 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002361/1.349, allocations: 94.09 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.T_start,zonSta.count) * Number of discrete states: 1 (zonSta.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.0002412/1.349, allocations: 114.3 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007422/1.35, allocations: 228.3 kB / 1.028 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.35, allocations: 3.938 kB / 1.028 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/1.35, allocations: 75.98 kB / 1.028 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/1.351, allocations: 54.23 kB / 1.028 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/1.352, allocations: 327.4 kB / 1.028 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/1.353, allocations: 0.7992 MB / 1.029 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of SimCode: time 9.71e-07/1.353, allocations: 0 / 1.029 GB, free: 9.023 MB / 0.6511 GB