Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",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.005079/0.005079, allocations: 181.1 kB / 7.457 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7541/0.7541, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.511/1.511, allocations: 221.3 MB / 395 MB, free: 10.21 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.001093/0.001093, allocations: 99.11 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4777/0.4788, allocations: 88.42 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.6482, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.158/4.807, allocations: 1.882 GB / 2.515 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/4.807, allocations: 87.95 kB / 2.515 GB, free: 79.61 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 2.659/7.466, allocations: 0.6654 GB / 3.181 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/7.466, allocations: 10.62 kB / 3.181 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/7.468, allocations: 395.4 kB / 3.181 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/7.47, allocations: 0.8729 MB / 3.182 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/7.47, allocations: 27.84 kB / 3.182 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/7.47, allocations: 58.44 kB / 3.182 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/7.472, allocations: 0.7667 MB / 3.183 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/7.473, allocations: 0.9122 MB / 3.184 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/7.473, allocations: 2.062 kB / 3.184 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/7.473, allocations: 5.875 kB / 3.184 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.937e-05/7.473, allocations: 40.05 kB / 3.184 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005266/7.479, allocations: 4.503 MB / 3.188 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/7.48, allocations: 0.6347 MB / 3.189 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/7.48, allocations: 453.7 kB / 3.189 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/7.481, allocations: 0.6787 MB / 3.19 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/7.481, allocations: 38.69 kB / 3.19 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 4.378e-06/7.481, allocations: 3.375 kB / 3.19 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.00204/7.483, allocations: 0.7769 MB / 3.191 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/7.483, allocations: 58.94 kB / 3.191 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006033/7.484, allocations: 493.6 kB / 3.191 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/7.484, allocations: 25.7 kB / 3.191 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/7.484, allocations: 334.7 kB / 3.192 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/7.484, allocations: 239.9 kB / 3.192 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/7.484, allocations: 0 / 3.192 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001587/7.485, allocations: 387.9 kB / 3.192 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/7.485, allocations: 275 kB / 3.192 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/7.485, allocations: 368.4 kB / 3.193 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/7.486, allocations: 345.6 kB / 3.193 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/7.486, allocations: 0 / 3.193 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001183/7.487, allocations: 0.7846 MB / 3.194 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/7.487, allocations: 10.44 kB / 3.194 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/7.487, allocations: 3.969 kB / 3.194 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/7.487, allocations: 6.5 kB / 3.194 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/7.488, allocations: 152.8 kB / 3.194 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/7.488, allocations: 5.75 kB / 3.194 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/7.489, allocations: 82.06 kB / 3.194 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/7.489, allocations: 25.02 kB / 3.194 GB, free: 105.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001517/7.489, allocations: 118.6 kB / 3.194 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/7.49, allocations: 85.48 kB / 3.194 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/7.491, allocations: 0.8058 MB / 3.195 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/7.491, allocations: 7.281 kB / 3.195 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/7.491, allocations: 0 / 3.195 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/7.492, allocations: 0.8266 MB / 3.196 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/7.495, allocations: 1.776 MB / 3.198 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/7.495, allocations: 3.781 kB / 3.198 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009317/7.496, allocations: 172.2 kB / 3.198 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/7.496, allocations: 12.91 kB / 3.198 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/7.496, allocations: 8.656 kB / 3.198 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/7.496, allocations: 7.812 kB / 3.198 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/7.496, allocations: 0 / 3.198 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001719/7.498, allocations: 1.309 MB / 3.199 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00249/7.5, allocations: 2.226 MB / 3.201 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/7.501, allocations: 249.7 kB / 3.202 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/7.501, allocations: 6 kB / 3.202 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/7.502, allocations: 59.31 kB / 3.202 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/7.502, allocations: 44.97 kB / 3.202 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/7.502, allocations: 21.78 kB / 3.202 GB, free: 104 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005086/7.503, allocations: 382.8 kB / 3.202 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002303/7.505, allocations: 0.6151 MB / 3.203 GB, free: 103.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.002104/7.507, allocations: 1.782 MB / 3.204 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001105/7.508, allocations: 0.6815 MB / 3.205 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/7.508, allocations: 0 / 3.205 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004322/7.509, allocations: 371.2 kB / 3.205 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/7.511, allocations: 447 kB / 3.206 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/7.514, allocations: 1.775 MB / 3.208 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008776/7.515, allocations: 1.223 MB / 3.209 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/7.515, allocations: 0 / 3.209 GB, free: 102.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)