Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.268/1.268, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.001059/0.001059, allocations: 185.2 kB / 316 MB, free: 3.484 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.281/1.281, allocations: 205.1 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008336/0.0008338, allocations: 82.39 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.355/0.3559, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.5409, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.844/4.385, allocations: 2.194 GB / 3.079 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/4.385, allocations: 91.17 kB / 3.079 GB, free: 219.6 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 1.954/6.339, allocations: 0.5916 GB / 3.671 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.79e-05/6.339, allocations: 13.38 kB / 3.671 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/6.342, allocations: 355.4 kB / 3.671 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/6.346, allocations: 0.8713 MB / 3.672 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/6.346, allocations: 32.38 kB / 3.672 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/6.346, allocations: 65.12 kB / 3.672 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002608/6.349, allocations: 1.021 MB / 3.673 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/6.351, allocations: 0.9841 MB / 3.674 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/6.351, allocations: 2.375 kB / 3.674 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/6.351, allocations: 6.328 kB / 3.674 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.938e-05/6.351, allocations: 59.72 kB / 3.674 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/6.358, allocations: 5.176 MB / 3.679 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/6.359, allocations: 0.8523 MB / 3.68 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/6.36, allocations: 0.5403 MB / 3.681 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/6.36, allocations: 18.16 kB / 3.681 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006162/6.361, allocations: 485.6 kB / 3.681 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/6.361, allocations: 3.844 kB / 3.681 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001536/6.362, allocations: 0.8305 MB / 3.682 GB, free: 166 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/6.362, allocations: 55.91 kB / 3.682 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/6.363, allocations: 435.2 kB / 3.682 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/6.363, allocations: 25.7 kB / 3.682 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/6.363, allocations: 381.8 kB / 3.683 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/6.363, allocations: 259.4 kB / 3.683 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/6.363, allocations: 0 / 3.683 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001014/6.363, allocations: 385.1 kB / 3.683 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/6.364, allocations: 319.9 kB / 3.684 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/6.364, allocations: 446.9 kB / 3.684 GB, free: 165 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/6.365, allocations: 393.8 kB / 3.684 GB, free: 165 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/6.365, allocations: 0 / 3.684 GB, free: 165 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001107/6.366, allocations: 0.8751 MB / 3.685 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/6.366, allocations: 14.39 kB / 3.685 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/6.366, allocations: 0 / 3.685 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/6.366, allocations: 7.188 kB / 3.685 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/6.366, allocations: 158.9 kB / 3.685 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/6.367, allocations: 10.88 kB / 3.685 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/6.368, allocations: 112.3 kB / 3.686 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/6.368, allocations: 25.81 kB / 3.686 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.0001416/6.368, allocations: 124.9 kB / 3.686 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/6.368, allocations: 78.94 kB / 3.686 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/6.368, allocations: 95.73 kB / 3.686 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/6.368, allocations: 12.53 kB / 3.686 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/6.368, allocations: 0 / 3.686 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/6.369, allocations: 1.069 MB / 3.687 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/6.372, allocations: 1.881 MB / 3.689 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/6.372, allocations: 3.5 kB / 3.689 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000874/6.373, allocations: 186.9 kB / 3.689 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-06/6.373, allocations: 2.062 kB / 3.689 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/6.373, allocations: 6.156 kB / 3.689 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/6.373, allocations: 6.562 kB / 3.689 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/6.373, allocations: 2.125 kB / 3.689 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001608/6.374, allocations: 1.488 MB / 3.69 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002497/6.377, allocations: 2.498 MB / 3.693 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/6.377, allocations: 262.1 kB / 3.693 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/6.377, allocations: 3.75 kB / 3.693 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008492/6.378, allocations: 86.86 kB / 3.693 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/6.378, allocations: 41.53 kB / 3.693 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/6.378, allocations: 24.98 kB / 3.693 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003488/6.379, allocations: 331.1 kB / 3.694 GB, free: 163 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002093/6.381, allocations: 0.6495 MB / 3.694 GB, free: 163 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.001941/6.383, allocations: 1.807 MB / 3.696 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001052/6.384, allocations: 0.789 MB / 3.697 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/6.384, allocations: 0 / 3.697 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004421/6.384, allocations: 424.8 kB / 3.697 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/6.386, allocations: 479.8 kB / 3.698 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/6.39, allocations: 1.813 MB / 3.699 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008448/6.39, allocations: 1.265 MB / 3.701 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/6.39, allocations: 0 / 3.701 GB, free: 161.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)