Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.174/2.174, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001745/0.001745, allocations: 181.2 kB / 315.1 MB, free: 4.285 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.006/2.006, allocations: 205.1 MB / 0.5658 GB, free: 380 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.001319/0.001319, allocations: 91.31 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5003/0.5017, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.7338, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.737/6.471, allocations: 2.192 GB / 3.076 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/6.471, allocations: 89.25 kB / 3.076 GB, free: 176.6 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 3.19/9.661, allocations: 0.64 GB / 3.716 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.083e-05/9.661, allocations: 8.281 kB / 3.716 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005468/9.667, allocations: 408.7 kB / 3.716 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/9.67, allocations: 0.8547 MB / 3.717 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/9.67, allocations: 34.23 kB / 3.717 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/9.671, allocations: 50.47 kB / 3.717 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002889/9.674, allocations: 0.7782 MB / 3.718 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/9.677, allocations: 0.9256 MB / 3.719 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/9.677, allocations: 4.312 kB / 3.719 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/9.677, allocations: 2.125 kB / 3.719 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.778e-05/9.677, allocations: 36.39 kB / 3.719 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/9.688, allocations: 4.538 MB / 3.723 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/9.69, allocations: 0.6385 MB / 3.724 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/9.692, allocations: 443.4 kB / 3.724 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008014/9.692, allocations: 0.6744 MB / 3.725 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/9.692, allocations: 41.44 kB / 3.725 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.226e-06/9.692, allocations: 0.9688 kB / 3.725 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.004183/9.697, allocations: 0.7689 MB / 3.726 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/9.697, allocations: 66.42 kB / 3.726 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/9.698, allocations: 495.8 kB / 3.726 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002385/9.698, allocations: 26.77 kB / 3.726 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/9.699, allocations: 328.1 kB / 3.727 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004264/9.699, allocations: 243.8 kB / 3.727 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/9.699, allocations: 0 / 3.727 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002262/9.699, allocations: 381.3 kB / 3.727 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008192/9.7, allocations: 266.8 kB / 3.727 GB, free: 169 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/9.701, allocations: 366.1 kB / 3.728 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/9.702, allocations: 343.8 kB / 3.728 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/9.702, allocations: 0 / 3.728 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00287/9.705, allocations: 0.7765 MB / 3.729 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/9.705, allocations: 5.281 kB / 3.729 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/9.705, allocations: 2.781 kB / 3.729 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/9.705, allocations: 8.156 kB / 3.729 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/9.707, allocations: 153.1 kB / 3.729 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/9.707, allocations: 5.094 kB / 3.729 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/9.71, allocations: 93.5 kB / 3.729 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/9.71, allocations: 23.19 kB / 3.729 GB, free: 168.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0002837/9.71, allocations: 115.3 kB / 3.729 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/9.71, allocations: 84.83 kB / 3.729 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/9.713, allocations: 0.7959 MB / 3.73 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/9.713, allocations: 7.203 kB / 3.73 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.599e-06/9.713, allocations: 1 kB / 3.73 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002087/9.715, allocations: 0.8197 MB / 3.731 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/9.722, allocations: 1.777 MB / 3.733 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/9.722, allocations: 0.7969 kB / 3.733 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/9.724, allocations: 179.2 kB / 3.733 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/9.724, allocations: 1.969 kB / 3.733 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/9.724, allocations: 16.34 kB / 3.733 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/9.724, allocations: 2.531 kB / 3.733 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/9.724, allocations: 1.344 kB / 3.733 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003796/9.728, allocations: 1.295 MB / 3.734 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005926/9.734, allocations: 2.203 MB / 3.736 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/9.735, allocations: 258.2 kB / 3.737 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005062/9.736, allocations: 6.953 kB / 3.737 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/9.739, allocations: 63.2 kB / 3.737 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/9.739, allocations: 39.5 kB / 3.737 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/9.739, allocations: 24.05 kB / 3.737 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001143/9.74, allocations: 392.5 kB / 3.737 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003856/9.744, allocations: 0.61 MB / 3.738 GB, free: 164 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.004162/9.748, allocations: 1.788 MB / 3.739 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00239/9.751, allocations: 0.6615 MB / 3.74 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/9.751, allocations: 1.031 kB / 3.74 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/9.752, allocations: 367.7 kB / 3.74 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00526/9.757, allocations: 455.9 kB / 3.741 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/9.765, allocations: 1.779 MB / 3.743 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/9.767, allocations: 1.231 MB / 3.744 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.235e-06/9.767, allocations: 0 / 3.744 GB, free: 161.7 MB / 0.8698 GB