Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.001121/0.001121, allocations: 187.2 kB / 7.803 MB, free: 2.328 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4479/0.4479, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.192/1.192, allocations: 221.4 MB / 342.7 MB, free: 5.199 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.0009395/0.0009395, allocations: 90.17 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1698/0.1708, allocations: 78.45 MB / 493.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.5274, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.523/4.05, allocations: 1.883 GB / 2.436 GB, free: 193.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/4.051, allocations: 87.95 kB / 2.436 GB, free: 193.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 3.29/7.34, allocations: 1.08 GB / 3.517 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/7.34, allocations: 15.92 kB / 3.517 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/7.344, allocations: 0.5555 MB / 3.517 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/7.348, allocations: 1.303 MB / 3.518 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.16e-05/7.348, allocations: 44 kB / 3.518 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/7.348, allocations: 87.89 kB / 3.519 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002567/7.351, allocations: 1.259 MB / 3.52 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/7.354, allocations: 1.46 MB / 3.521 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/7.354, allocations: 8 kB / 3.521 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/7.354, allocations: 0 / 3.521 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/7.354, allocations: 62.48 kB / 3.521 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009702/7.364, allocations: 7.642 MB / 3.529 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/7.365, allocations: 1.051 MB / 3.53 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/7.366, allocations: 0.6077 MB / 3.53 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006876/7.367, allocations: 0.8633 MB / 3.531 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000864/7.368, allocations: 0.6318 MB / 3.532 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=110): time 4.178e-06/7.368, allocations: 0 / 3.532 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=110): time 0.00338/7.371, allocations: 1.259 MB / 3.533 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/7.371, allocations: 90.11 kB / 3.533 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/7.373, allocations: 0.8276 MB / 3.534 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/7.373, allocations: 25.7 kB / 3.534 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/7.373, allocations: 495.6 kB / 3.534 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/7.373, allocations: 366.4 kB / 3.535 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/7.374, allocations: 4 kB / 3.535 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/7.374, allocations: 345.9 kB / 3.535 GB, free: 1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/7.374, allocations: 429.9 kB / 3.536 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/7.375, allocations: 0.5901 MB / 3.536 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/7.376, allocations: 0.5306 MB / 3.537 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/7.376, allocations: 4 kB / 3.537 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002635/7.379, allocations: 1.24 MB / 3.538 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005142/7.379, allocations: 0.9803 MB / 3.539 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/7.379, allocations: 4 kB / 3.539 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/7.379, allocations: 4 kB / 3.539 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/7.381, allocations: 235.7 kB / 3.539 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-05/7.381, allocations: 15.98 kB / 3.539 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/7.382, allocations: 151 kB / 3.539 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/7.383, allocations: 39.98 kB / 3.539 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/7.383, allocations: 8 kB / 3.539 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002116/7.385, allocations: 1.076 MB / 3.54 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/7.385, allocations: 3.938 kB / 3.54 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/7.385, allocations: 8 kB / 3.54 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/7.386, allocations: 223.7 kB / 3.541 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/7.386, allocations: 8 kB / 3.541 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/7.388, allocations: 143.4 kB / 3.541 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/7.388, allocations: 43.98 kB / 3.541 GB, free: 11.16 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0003312/7.388, allocations: 120.8 kB / 3.541 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/7.388, allocations: 142.3 kB / 3.541 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/7.391, allocations: 1.259 MB / 3.542 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/7.391, allocations: 12 kB / 3.542 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/7.391, allocations: 3.906 kB / 3.542 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001837/7.393, allocations: 1.032 MB / 3.543 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006241/7.399, allocations: 3.037 MB / 3.546 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/7.399, allocations: 4 kB / 3.546 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/7.401, allocations: 252 kB / 3.546 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/7.401, allocations: 8 kB / 3.546 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/7.401, allocations: 23.89 kB / 3.546 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/7.401, allocations: 4 kB / 3.546 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/7.401, allocations: 7.938 kB / 3.546 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00348/7.404, allocations: 2.043 MB / 3.548 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2777/7.682, allocations: 3.287 MB / 3.552 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/7.683, allocations: 363.3 kB / 3.552 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/7.684, allocations: 13.19 kB / 3.552 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/7.685, allocations: 96.72 kB / 3.552 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/7.685, allocations: 63.8 kB / 3.552 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.775e-05/7.685, allocations: 43.66 kB / 3.552 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0008108/7.686, allocations: 0.6306 MB / 3.553 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005174/7.691, allocations: 1.706 MB / 3.555 GB, free: 117.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004304/7.695, allocations: 3.091 MB / 3.558 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002573/7.698, allocations: 1.703 MB / 3.559 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/7.698, allocations: 0 / 3.559 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007391/7.699, allocations: 0.5652 MB / 3.56 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/7.702, allocations: 0.6655 MB / 3.56 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/7.707, allocations: 2.794 MB / 3.563 GB, free: 115.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/7.709, allocations: 1.559 MB / 3.565 GB, free: 115 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/7.709, allocations: 0 / 3.565 GB, free: 115 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)