Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.441/2.441, allocations: 248.6 MB / 255.9 MB, free: 7.078 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.001733/0.001733, allocations: 199.7 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.23/2.23, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001433/0.001433, allocations: 94.7 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4734/0.4749, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.688, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.747/6.435, allocations: 2.194 GB / 3.078 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/6.435, allocations: 83.33 kB / 3.078 GB, free: 174.6 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 2.988/9.423, allocations: 0.5916 GB / 3.669 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/9.423, allocations: 7.594 kB / 3.669 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003889/9.427, allocations: 369.3 kB / 3.67 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/9.43, allocations: 0.8664 MB / 3.671 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/9.43, allocations: 33.69 kB / 3.671 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/9.43, allocations: 60.53 kB / 3.671 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003122/9.433, allocations: 1.024 MB / 3.672 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/9.436, allocations: 0.9869 MB / 3.673 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/9.436, allocations: 0 / 3.673 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/9.437, allocations: 0 / 3.673 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-05/9.437, allocations: 65.19 kB / 3.673 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/9.447, allocations: 5.166 MB / 3.678 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/9.449, allocations: 0.863 MB / 3.679 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/9.451, allocations: 0.543 MB / 3.679 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.022e-05/9.451, allocations: 16.38 kB / 3.679 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/9.452, allocations: 481 kB / 3.68 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 4.449e-06/9.452, allocations: 6.812 kB / 3.68 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.002824/9.455, allocations: 0.8256 MB / 3.68 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/9.455, allocations: 59.62 kB / 3.68 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009221/9.456, allocations: 438.4 kB / 3.681 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/9.456, allocations: 28.64 kB / 3.681 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/9.456, allocations: 381.5 kB / 3.681 GB, free: 168 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003884/9.457, allocations: 264.7 kB / 3.682 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/9.457, allocations: 0 / 3.682 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001488/9.457, allocations: 374.3 kB / 3.682 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008164/9.458, allocations: 322.1 kB / 3.682 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008684/9.459, allocations: 444.7 kB / 3.683 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/9.46, allocations: 400.1 kB / 3.683 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/9.46, allocations: 0 / 3.683 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00231/9.462, allocations: 0.881 MB / 3.684 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/9.462, allocations: 7.531 kB / 3.684 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/9.462, allocations: 3.812 kB / 3.684 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.682e-05/9.462, allocations: 11.53 kB / 3.684 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/9.464, allocations: 154.2 kB / 3.684 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/9.464, allocations: 11.19 kB / 3.684 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/9.466, allocations: 111.3 kB / 3.684 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/9.466, allocations: 34.05 kB / 3.684 GB, free: 167.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0003202/9.466, allocations: 114.5 kB / 3.684 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/9.467, allocations: 77.91 kB / 3.684 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/9.467, allocations: 102.9 kB / 3.684 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/9.467, allocations: 7.094 kB / 3.684 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/9.467, allocations: 2.562 kB / 3.684 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001921/9.469, allocations: 1.069 MB / 3.686 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/9.474, allocations: 1.872 MB / 3.687 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/9.474, allocations: 0 / 3.687 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/9.476, allocations: 194.6 kB / 3.688 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/9.476, allocations: 0 / 3.688 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/9.476, allocations: 10.27 kB / 3.688 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/9.476, allocations: 3.25 kB / 3.688 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/9.476, allocations: 0 / 3.688 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003207/9.479, allocations: 1.486 MB / 3.689 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004761/9.484, allocations: 2.499 MB / 3.691 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/9.485, allocations: 264.2 kB / 3.692 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/9.486, allocations: 3.938 kB / 3.692 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/9.487, allocations: 85.39 kB / 3.692 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/9.488, allocations: 44.86 kB / 3.692 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/9.488, allocations: 25 kB / 3.692 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006519/9.488, allocations: 334.7 kB / 3.692 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003503/9.492, allocations: 0.6536 MB / 3.693 GB, free: 165.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.003048/9.495, allocations: 1.808 MB / 3.695 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002066/9.497, allocations: 0.7837 MB / 3.695 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/9.497, allocations: 7 kB / 3.695 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009381/9.498, allocations: 421.4 kB / 3.696 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004674/9.503, allocations: 487.9 kB / 3.696 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/9.509, allocations: 1.799 MB / 3.698 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/9.511, allocations: 1.268 MB / 3.699 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.903e-06/9.511, allocations: 0 / 3.699 GB, free: 163.8 MB / 0.8698 GB