Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.18/2.18, allocations: 253.1 MB / 260.4 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 177.3 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 89.52 kB / 0.6746 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.029e-05/1.037e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.766/6.015, allocations: 2.194 GB / 3.082 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/6.015, allocations: 86.83 kB / 3.082 GB, free: 164.7 MB / 0.8698 GB [/var/lib/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: Performance of FrontEnd: time 2.937/8.952, allocations: 0.5901 GB / 3.672 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001075/8.952, allocations: 28.47 kB / 3.672 GB, free: 169.8 MB / 0.8698 GB 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 0.00695/8.959, allocations: 1.585 MB / 3.674 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/8.959, allocations: 7.312 kB / 3.674 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00383/8.963, allocations: 365 kB / 3.674 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/8.966, allocations: 0.8709 MB / 3.675 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.256e-05/8.966, allocations: 33.97 kB / 3.675 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/8.967, allocations: 59.81 kB / 3.675 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003307/8.97, allocations: 1.025 MB / 3.676 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/8.973, allocations: 0.9829 MB / 3.677 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/8.973, allocations: 0 / 3.677 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/8.973, allocations: 2.75 kB / 3.677 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.919e-05/8.974, allocations: 65.47 kB / 3.677 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/8.984, allocations: 5.171 MB / 3.682 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/8.986, allocations: 0.864 MB / 3.683 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/8.988, allocations: 0.5419 MB / 3.684 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.248e-05/8.988, allocations: 13.97 kB / 3.684 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/8.989, allocations: 484.8 kB / 3.684 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.927e-06/8.989, allocations: 0 / 3.684 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.002579/8.992, allocations: 0.8247 MB / 3.685 GB, free: 166 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/8.992, allocations: 62.97 kB / 3.685 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008298/8.992, allocations: 431.7 kB / 3.685 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/8.993, allocations: 28.17 kB / 3.685 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/8.993, allocations: 382.4 kB / 3.686 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/8.993, allocations: 262.6 kB / 3.686 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/8.993, allocations: 0 / 3.686 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001357/8.993, allocations: 379.7 kB / 3.686 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007545/8.994, allocations: 322.5 kB / 3.687 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008162/8.995, allocations: 447.2 kB / 3.687 GB, free: 165 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009055/8.996, allocations: 397.4 kB / 3.688 GB, free: 165 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/8.996, allocations: 0 / 3.688 GB, free: 165 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00217/8.998, allocations: 0.882 MB / 3.688 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/8.998, allocations: 3.562 kB / 3.688 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/8.998, allocations: 6.656 kB / 3.688 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/8.998, allocations: 6.812 kB / 3.688 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/9, allocations: 158.1 kB / 3.689 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/9, allocations: 10.06 kB / 3.689 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/9.002, allocations: 110.8 kB / 3.689 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/9.002, allocations: 26.44 kB / 3.689 GB, free: 164.9 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.0002756/9.002, allocations: 123.4 kB / 3.689 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/9.002, allocations: 81.44 kB / 3.689 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/9.003, allocations: 97.3 kB / 3.689 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/9.003, allocations: 9.625 kB / 3.689 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/9.003, allocations: 0 / 3.689 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001838/9.005, allocations: 1.067 MB / 3.69 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004686/9.009, allocations: 1.874 MB / 3.692 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/9.009, allocations: 2.688 kB / 3.692 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/9.011, allocations: 188 kB / 3.692 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/9.011, allocations: 5.75 kB / 3.692 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.485e-05/9.011, allocations: 3.969 kB / 3.692 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/9.011, allocations: 11 kB / 3.692 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/9.011, allocations: 3.844 kB / 3.692 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003086/9.015, allocations: 1.485 MB / 3.694 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000959/9.016, allocations: 262.1 kB / 3.694 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/9.016, allocations: 7.469 kB / 3.694 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/9.017, allocations: 85.02 kB / 3.694 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/9.018, allocations: 49.55 kB / 3.694 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.32e-05/9.018, allocations: 23.02 kB / 3.694 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005969/9.018, allocations: 333.1 kB / 3.694 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001919/9.02, allocations: 464.3 kB / 3.695 GB, free: 163.5 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.002754/9.023, allocations: 1.817 MB / 3.697 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00196/9.025, allocations: 0.781 MB / 3.697 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/9.025, allocations: 3.094 kB / 3.697 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008768/9.026, allocations: 425.2 kB / 3.698 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004498/9.031, allocations: 477.2 kB / 3.698 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/9.036, allocations: 1.798 MB / 3.7 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/9.037, allocations: 1.25 MB / 3.701 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.423e-06/9.037, allocations: 0 / 3.701 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.06973/9.107, allocations: 27.03 MB / 3.728 GB, free: 160.6 MB / 0.8698 GB