Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.447/1.447, allocations: 289.8 MB / 297.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 180.4 kB / 366.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 0.6256 GB, free: 5.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 87.17 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2402/0.2412, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.7872, allocations: 116.3 MB / 0.9726 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.165/3.952, allocations: 2.076 GB / 3.049 GB, free: 156 kB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.3238/4.276, allocations: 85.97 kB / 3.049 GB, free: 356.1 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 1.411/5.687, allocations: 0.6056 GB / 3.654 GB, free: 127.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/5.687, allocations: 8 kB / 3.654 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/5.689, allocations: 354.2 kB / 3.655 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/5.69, allocations: 0.8628 MB / 3.656 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/5.69, allocations: 32 kB / 3.656 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/5.69, allocations: 64 kB / 3.656 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00131/5.691, allocations: 1.019 MB / 3.657 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/5.693, allocations: 0.9724 MB / 3.658 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/5.693, allocations: 0 / 3.658 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/5.693, allocations: 0 / 3.658 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/5.693, allocations: 69.95 kB / 3.658 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/5.698, allocations: 5.149 MB / 3.663 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009925/5.699, allocations: 0.8628 MB / 3.664 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/5.699, allocations: 0.5481 MB / 3.664 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/5.699, allocations: 16.64 kB / 3.664 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005102/5.7, allocations: 471 kB / 3.665 GB, free: 116.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.365e-06/5.7, allocations: 0 / 3.665 GB, free: 116.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001343/5.701, allocations: 0.8388 MB / 3.665 GB, free: 115.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/5.701, allocations: 60.06 kB / 3.665 GB, free: 115.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/5.702, allocations: 418.1 kB / 3.666 GB, free: 115.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/5.702, allocations: 29.7 kB / 3.666 GB, free: 115.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/5.702, allocations: 375.5 kB / 3.666 GB, free: 114.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/5.702, allocations: 264.1 kB / 3.667 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/5.702, allocations: 0 / 3.667 GB, free: 114.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.103e-05/5.702, allocations: 378.8 kB / 3.667 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/5.702, allocations: 321.5 kB / 3.667 GB, free: 114 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/5.703, allocations: 446.8 kB / 3.668 GB, free: 113.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/5.703, allocations: 402.9 kB / 3.668 GB, free: 113.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/5.703, allocations: 4 kB / 3.668 GB, free: 113.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009994/5.704, allocations: 0.8894 MB / 3.669 GB, free: 112.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/5.704, allocations: 4 kB / 3.669 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/5.704, allocations: 4 kB / 3.669 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/5.704, allocations: 7.984 kB / 3.669 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/5.705, allocations: 159.8 kB / 3.669 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/5.705, allocations: 11.98 kB / 3.669 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008868/5.706, allocations: 111.6 kB / 3.669 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/5.706, allocations: 28 kB / 3.669 GB, free: 111.9 MB / 0.948 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.0001097/5.706, allocations: 120.7 kB / 3.669 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/5.706, allocations: 75.09 kB / 3.669 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/5.706, allocations: 103 kB / 3.669 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/5.706, allocations: 8 kB / 3.669 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/5.706, allocations: 0 / 3.669 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008862/5.707, allocations: 1.072 MB / 3.671 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/5.709, allocations: 1.877 MB / 3.672 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/5.709, allocations: 7.984 kB / 3.672 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/5.71, allocations: 187.7 kB / 3.673 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/5.71, allocations: 0 / 3.673 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/5.71, allocations: 7.984 kB / 3.673 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/5.71, allocations: 4 kB / 3.673 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/5.71, allocations: 0 / 3.673 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001411/5.712, allocations: 1.5 MB / 3.674 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002138/5.714, allocations: 2.516 MB / 3.676 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/5.714, allocations: 259.9 kB / 3.677 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/5.714, allocations: 0 / 3.677 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/5.715, allocations: 80.16 kB / 3.677 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/5.715, allocations: 40.5 kB / 3.677 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/5.715, allocations: 35.98 kB / 3.677 GB, free: 103.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002582/5.716, allocations: 314.9 kB / 3.677 GB, free: 103.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00181/5.717, allocations: 0.6473 MB / 3.678 GB, free: 102.8 MB / 0.948 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.001576/5.719, allocations: 1.816 MB / 3.68 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008555/5.72, allocations: 0.7956 MB / 3.68 GB, free: 100.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/5.72, allocations: 0 / 3.68 GB, free: 100.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004007/5.72, allocations: 422.3 kB / 3.681 GB, free: 99.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/5.722, allocations: 481 kB / 3.681 GB, free: 99.24 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/5.725, allocations: 1.787 MB / 3.683 GB, free: 97.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/5.725, allocations: 1.256 MB / 3.684 GB, free: 96.13 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/5.725, allocations: 4 kB / 3.684 GB, free: 96.13 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)