Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.194/2.194, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001592/0.001591, allocations: 181.3 kB / 360.3 MB, free: 7.57 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.827/1.827, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001909/0.001909, allocations: 88.86 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2656/0.2675, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.884, allocations: 115.2 MB / 0.9627 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.423/5.308, allocations: 2.075 GB / 3.038 GB, free: 44.09 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/5.308, allocations: 84.62 kB / 3.038 GB, free: 44.05 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 2.801/8.109, allocations: 0.6056 GB / 3.643 GB, free: 180.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/8.109, allocations: 8.5 kB / 3.643 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/8.113, allocations: 354.2 kB / 3.644 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/8.116, allocations: 0.8687 MB / 3.645 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/8.116, allocations: 32 kB / 3.645 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/8.116, allocations: 60 kB / 3.645 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00315/8.119, allocations: 1.012 MB / 3.646 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/8.122, allocations: 0.9763 MB / 3.647 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/8.122, allocations: 0.5156 kB / 3.647 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/8.122, allocations: 4 kB / 3.647 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.518e-05/8.122, allocations: 66.06 kB / 3.647 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/8.133, allocations: 5.15 MB / 3.652 GB, free: 171.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/8.135, allocations: 0.8653 MB / 3.653 GB, free: 170.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/8.136, allocations: 0.5449 MB / 3.653 GB, free: 169.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.156e-05/8.136, allocations: 20.08 kB / 3.653 GB, free: 169.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/8.137, allocations: 482.9 kB / 3.654 GB, free: 169.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.828e-06/8.137, allocations: 0 / 3.654 GB, free: 169.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002695/8.14, allocations: 0.831 MB / 3.654 GB, free: 168.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/8.14, allocations: 60.06 kB / 3.654 GB, free: 168.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008204/8.141, allocations: 410.3 kB / 3.655 GB, free: 168.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/8.141, allocations: 29.7 kB / 3.655 GB, free: 168 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/8.141, allocations: 387.4 kB / 3.655 GB, free: 167.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/8.142, allocations: 256.1 kB / 3.655 GB, free: 167.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/8.142, allocations: 0 / 3.655 GB, free: 167.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001444/8.142, allocations: 386.7 kB / 3.656 GB, free: 167 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/8.143, allocations: 321.5 kB / 3.656 GB, free: 166.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008256/8.143, allocations: 450.7 kB / 3.657 GB, free: 166.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009062/8.144, allocations: 399 kB / 3.657 GB, free: 165.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/8.144, allocations: 0 / 3.657 GB, free: 165.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002205/8.147, allocations: 0.8819 MB / 3.658 GB, free: 164.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/8.147, allocations: 15.97 kB / 3.658 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/8.147, allocations: 0 / 3.658 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/8.147, allocations: 8 kB / 3.658 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/8.148, allocations: 151.8 kB / 3.658 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/8.148, allocations: 11.98 kB / 3.658 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/8.15, allocations: 107.4 kB / 3.658 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/8.15, allocations: 28 kB / 3.658 GB, free: 164.6 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.0002488/8.151, allocations: 120.7 kB / 3.658 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/8.151, allocations: 79.06 kB / 3.658 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/8.151, allocations: 99 kB / 3.658 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/8.151, allocations: 8 kB / 3.658 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/8.151, allocations: 0 / 3.658 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001812/8.153, allocations: 1.072 MB / 3.659 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/8.157, allocations: 1.883 MB / 3.661 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/8.157, allocations: 0 / 3.661 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/8.159, allocations: 187.7 kB / 3.662 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/8.159, allocations: 4 kB / 3.662 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/8.159, allocations: 15.98 kB / 3.662 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/8.159, allocations: 4 kB / 3.662 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/8.159, allocations: 3.938 kB / 3.662 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002935/8.162, allocations: 1.5 MB / 3.663 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004432/8.167, allocations: 2.512 MB / 3.665 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/8.168, allocations: 248 kB / 3.666 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/8.168, allocations: 4 kB / 3.666 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/8.169, allocations: 87.75 kB / 3.666 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/8.17, allocations: 44.53 kB / 3.666 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/8.17, allocations: 27.98 kB / 3.666 GB, free: 156.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005461/8.17, allocations: 322.8 kB / 3.666 GB, free: 156.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003159/8.173, allocations: 0.6435 MB / 3.667 GB, free: 155.6 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.002524/8.176, allocations: 1.81 MB / 3.669 GB, free: 153.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001932/8.178, allocations: 0.7884 MB / 3.669 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/8.178, allocations: 128 / 3.669 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/8.179, allocations: 430.3 kB / 3.67 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004412/8.183, allocations: 481.6 kB / 3.67 GB, free: 152.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/8.188, allocations: 1.811 MB / 3.672 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/8.19, allocations: 1.252 MB / 3.673 GB, free: 149.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/8.19, allocations: 0 / 3.673 GB, free: 149.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)