Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.001042/0.001042, allocations: 192.5 kB / 7.805 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4462/0.4462, allocations: 90.86 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 221.4 MB / 342.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.0009018, allocations: 88.19 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1647/0.1656, allocations: 78.43 MB / 493.9 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.5332, allocations: 72.3 MB / 0.553 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.271/3.804, allocations: 1.875 GB / 2.428 GB, free: 184.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/3.805, allocations: 79.95 kB / 2.428 GB, free: 184.5 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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 1.752/5.556, allocations: 0.6173 GB / 3.045 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/5.556, allocations: 8 kB / 3.045 GB, free: 17.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/5.559, allocations: 358.1 kB / 3.045 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/5.56, allocations: 0.89 MB / 3.046 GB, free: 16.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/5.56, allocations: 32 kB / 3.046 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/5.56, allocations: 60 kB / 3.046 GB, free: 16.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001523/5.562, allocations: 1.015 MB / 3.047 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/5.563, allocations: 0.984 MB / 3.048 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/5.563, allocations: 4 kB / 3.048 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/5.564, allocations: 0 / 3.048 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/5.564, allocations: 62.06 kB / 3.048 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00673/5.57, allocations: 5.516 MB / 3.054 GB, free: 8.531 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/5.572, allocations: 0.8543 MB / 3.055 GB, free: 7.672 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006698/5.572, allocations: 0.5459 MB / 3.055 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.248e-05/5.572, allocations: 24.62 kB / 3.055 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006024/5.573, allocations: 474.9 kB / 3.056 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 3.557e-06/5.573, allocations: 0 / 3.056 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001712/5.575, allocations: 0.8387 MB / 3.056 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/5.575, allocations: 60.06 kB / 3.057 GB, free: 5.707 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/5.575, allocations: 426.3 kB / 3.057 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/5.575, allocations: 25.7 kB / 3.057 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/5.575, allocations: 383.5 kB / 3.057 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/5.576, allocations: 256.1 kB / 3.058 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/5.576, allocations: 0 / 3.058 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000115/5.576, allocations: 382.8 kB / 3.058 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/5.576, allocations: 325.5 kB / 3.058 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/5.577, allocations: 441.1 kB / 3.059 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/5.577, allocations: 399 kB / 3.059 GB, free: 3.062 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/5.577, allocations: 4 kB / 3.059 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001166/5.578, allocations: 0.8896 MB / 3.06 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/5.578, allocations: 8.062 kB / 3.06 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/5.578, allocations: 4 kB / 3.06 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-05/5.578, allocations: 8 kB / 3.06 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/5.579, allocations: 159.7 kB / 3.06 GB, free: 1.988 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/5.579, allocations: 7.938 kB / 3.06 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/5.58, allocations: 139.3 kB / 3.06 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/5.58, allocations: 28 kB / 3.06 GB, free: 1.816 MB / 0.6042 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.0001455/5.581, allocations: 120.8 kB / 3.06 GB, free: 1.691 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/5.581, allocations: 79.06 kB / 3.06 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/5.581, allocations: 99.23 kB / 3.061 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/5.581, allocations: 8 kB / 3.061 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/5.581, allocations: 8 kB / 3.061 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009925/5.582, allocations: 1.068 MB / 3.062 GB, free: 348 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2673/5.849, allocations: 1.881 MB / 3.063 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/5.849, allocations: 0 / 3.063 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009319/5.85, allocations: 180 kB / 3.064 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/5.85, allocations: 3.906 kB / 3.064 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/5.85, allocations: 13.38 kB / 3.064 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/5.85, allocations: 0 / 3.064 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/5.85, allocations: 9.781 kB / 3.064 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001723/5.852, allocations: 1.322 MB / 3.065 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002649/5.855, allocations: 2.322 MB / 3.067 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/5.855, allocations: 254.4 kB / 3.067 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/5.855, allocations: 10 kB / 3.067 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008441/5.856, allocations: 83.06 kB / 3.068 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/5.856, allocations: 40.12 kB / 3.068 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/5.857, allocations: 26.34 kB / 3.068 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003891/5.857, allocations: 329.9 kB / 3.068 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002207/5.859, allocations: 0.6384 MB / 3.069 GB, free: 134.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * 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.001886/5.861, allocations: 1.821 MB / 3.07 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001011/5.862, allocations: 0.7846 MB / 3.071 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/5.862, allocations: 6.875 kB / 3.071 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/5.862, allocations: 428.3 kB / 3.072 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/5.865, allocations: 473.2 kB / 3.072 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/5.868, allocations: 1.817 MB / 3.074 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008229/5.868, allocations: 1.261 MB / 3.075 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/5.868, allocations: 0 / 3.075 GB, free: 133.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)