Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004103/0.004103, allocations: 182.5 kB / 7.461 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7745/0.7745, allocations: 133.5 MB / 141.4 MB, free: 15.74 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 221.4 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 94.58 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5873/0.5883, allocations: 88.43 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.8207, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.134/5.955, allocations: 1.884 GB / 2.518 GB, free: 63.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/5.955, allocations: 91.88 kB / 2.518 GB, free: 63.34 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.83/8.786, allocations: 0.6141 GB / 3.132 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/8.786, allocations: 10.47 kB / 3.132 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/8.789, allocations: 361.6 kB / 3.132 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/8.791, allocations: 0.8782 MB / 3.133 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/8.791, allocations: 34.06 kB / 3.133 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/8.791, allocations: 61.53 kB / 3.133 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001906/8.793, allocations: 1.018 MB / 3.134 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/8.795, allocations: 0.969 MB / 3.135 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/8.795, allocations: 0 / 3.135 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.781e-05/8.795, allocations: 10.58 kB / 3.135 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.338e-05/8.795, allocations: 64.08 kB / 3.135 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007068/8.802, allocations: 5.148 MB / 3.14 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/8.803, allocations: 0.8607 MB / 3.141 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007646/8.804, allocations: 0.5386 MB / 3.141 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-05/8.804, allocations: 22.28 kB / 3.141 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006517/8.805, allocations: 472 kB / 3.142 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.927e-06/8.805, allocations: 2.719 kB / 3.142 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001851/8.807, allocations: 0.835 MB / 3.143 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/8.807, allocations: 63.42 kB / 3.143 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/8.807, allocations: 422.2 kB / 3.143 GB, free: 109 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/8.808, allocations: 25.7 kB / 3.143 GB, free: 109 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/8.808, allocations: 385.9 kB / 3.144 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/8.808, allocations: 259.8 kB / 3.144 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/8.808, allocations: 0 / 3.144 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001351/8.808, allocations: 381.4 kB / 3.144 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/8.809, allocations: 324.5 kB / 3.144 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/8.809, allocations: 442.8 kB / 3.145 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/8.81, allocations: 400.5 kB / 3.145 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/8.81, allocations: 3.906 kB / 3.145 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001364/8.811, allocations: 0.8824 MB / 3.146 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/8.811, allocations: 13.78 kB / 3.146 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/8.811, allocations: 3.469 kB / 3.146 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/8.811, allocations: 7.312 kB / 3.146 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/8.812, allocations: 162 kB / 3.146 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/8.812, allocations: 6.234 kB / 3.146 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/8.813, allocations: 117.1 kB / 3.146 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/8.813, allocations: 24.72 kB / 3.146 GB, free: 108.1 MB / 0.6823 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.0001897/8.813, allocations: 116 kB / 3.147 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/8.814, allocations: 76.56 kB / 3.147 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/8.814, allocations: 98 kB / 3.147 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/8.814, allocations: 15.3 kB / 3.147 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/8.814, allocations: 3.469 kB / 3.147 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/8.815, allocations: 1.074 MB / 3.148 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/8.818, allocations: 1.879 MB / 3.15 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/8.818, allocations: 3.469 kB / 3.15 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/8.819, allocations: 187.8 kB / 3.15 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/8.819, allocations: 3.25 kB / 3.15 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/8.819, allocations: 9.828 kB / 3.15 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/8.819, allocations: 7.688 kB / 3.15 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/8.819, allocations: 0 / 3.15 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00187/8.821, allocations: 1.502 MB / 3.151 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002977/8.824, allocations: 2.512 MB / 3.154 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006744/8.825, allocations: 253.8 kB / 3.154 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/8.825, allocations: 7.375 kB / 3.154 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000923/8.826, allocations: 84.72 kB / 3.154 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/8.826, allocations: 43.23 kB / 3.154 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/8.826, allocations: 23.78 kB / 3.154 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004842/8.827, allocations: 331.4 kB / 3.154 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002451/8.829, allocations: 0.6387 MB / 3.155 GB, free: 106.2 MB / 0.6823 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.002276/8.831, allocations: 1.818 MB / 3.157 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001293/8.833, allocations: 0.7906 MB / 3.158 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/8.833, allocations: 3.344 kB / 3.158 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005369/8.833, allocations: 428.6 kB / 3.158 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/8.836, allocations: 481.5 kB / 3.158 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/8.841, allocations: 1.804 MB / 3.16 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/8.842, allocations: 1.258 MB / 3.161 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/8.842, allocations: 3.281 kB / 3.161 GB, free: 104.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)