Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 1.847/1.847, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 188.3 kB / 490.8 MB, free: 1.91 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.138/1.138, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008853, allocations: 91.83 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4294/0.4303, allocations: 149.1 MB / 1.072 GB, free: 181.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.6146, allocations: 143 MB / 1.212 GB, free: 38.68 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.138/3.752, allocations: 1.931 GB / 3.142 GB, free: 375.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/3.753, allocations: 87.95 kB / 3.142 GB, free: 375.7 MB / 1.151 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 2.637/6.389, allocations: 1.08 GB / 4.223 GB, free: 130.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/6.389, allocations: 8 kB / 4.223 GB, free: 130.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003746/6.393, allocations: 0.5594 MB / 4.223 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/6.396, allocations: 1.314 MB / 4.225 GB, free: 128.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/6.396, allocations: 44 kB / 4.225 GB, free: 128.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/6.396, allocations: 80 kB / 4.225 GB, free: 128.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001927/6.398, allocations: 1.263 MB / 4.226 GB, free: 127.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/6.4, allocations: 1.469 MB / 4.227 GB, free: 125.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/6.4, allocations: 0 / 4.227 GB, free: 125.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/6.4, allocations: 4 kB / 4.227 GB, free: 125.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/6.4, allocations: 66.52 kB / 4.228 GB, free: 125.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007055/6.407, allocations: 7.625 MB / 4.235 GB, free: 117.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/6.409, allocations: 1.037 MB / 4.236 GB, free: 116.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/6.409, allocations: 0.6077 MB / 4.237 GB, free: 116 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/6.41, allocations: 0.8593 MB / 4.237 GB, free: 115 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007382/6.411, allocations: 0.6396 MB / 4.238 GB, free: 114.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=110): time 2.154e-06/6.411, allocations: 4 kB / 4.238 GB, free: 114.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=110): time 0.002623/6.413, allocations: 1.251 MB / 4.239 GB, free: 113 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/6.413, allocations: 90.11 kB / 4.239 GB, free: 112.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/6.414, allocations: 0.8238 MB / 4.24 GB, free: 112.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/6.414, allocations: 27.12 kB / 4.24 GB, free: 112.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/6.415, allocations: 495.5 kB / 4.241 GB, free: 111.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/6.415, allocations: 370.5 kB / 4.241 GB, free: 111.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/6.415, allocations: 0 / 4.241 GB, free: 111.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/6.415, allocations: 345.9 kB / 4.241 GB, free: 110.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/6.415, allocations: 433.9 kB / 4.242 GB, free: 110.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/6.416, allocations: 0.5822 MB / 4.242 GB, free: 109.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008701/6.417, allocations: 0.5377 MB / 4.243 GB, free: 109.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/6.417, allocations: 4 kB / 4.243 GB, free: 109.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001747/6.419, allocations: 1.24 MB / 4.244 GB, free: 108 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/6.419, allocations: 0.9715 MB / 4.245 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/6.419, allocations: 0 / 4.245 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/6.419, allocations: 8 kB / 4.245 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/6.42, allocations: 236.3 kB / 4.245 GB, free: 106.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/6.42, allocations: 11.94 kB / 4.245 GB, free: 106.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/6.421, allocations: 155.1 kB / 4.245 GB, free: 106.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/6.421, allocations: 39.98 kB / 4.245 GB, free: 106.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-06/6.421, allocations: 4 kB / 4.245 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001598/6.423, allocations: 1.076 MB / 4.246 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/6.423, allocations: 4.344 kB / 4.246 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/6.423, allocations: 15.94 kB / 4.246 GB, free: 105.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000979/6.424, allocations: 223.7 kB / 4.247 GB, free: 105.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/6.424, allocations: 11.91 kB / 4.247 GB, free: 105.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/6.425, allocations: 147.2 kB / 4.247 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/6.425, allocations: 39.98 kB / 4.247 GB, free: 105 MB / 1.151 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.0001692/6.425, allocations: 131.5 kB / 4.247 GB, free: 104.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/6.426, allocations: 138.3 kB / 4.247 GB, free: 104.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/6.427, allocations: 1.259 MB / 4.248 GB, free: 103.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/6.428, allocations: 15.98 kB / 4.248 GB, free: 103.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/6.428, allocations: 4 kB / 4.248 GB, free: 103.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001424/6.429, allocations: 1.04 MB / 4.249 GB, free: 102.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/6.433, allocations: 3.027 MB / 4.252 GB, free: 99.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/6.433, allocations: 4 kB / 4.252 GB, free: 99.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/6.434, allocations: 243.7 kB / 4.253 GB, free: 99.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/6.434, allocations: 8 kB / 4.253 GB, free: 99.08 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.249e-05/6.434, allocations: 24.23 kB / 4.253 GB, free: 99.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/6.434, allocations: 11.94 kB / 4.253 GB, free: 99.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/6.434, allocations: 7.984 kB / 4.253 GB, free: 99.04 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002272/6.436, allocations: 2.042 MB / 4.255 GB, free: 96.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003388/6.44, allocations: 3.281 MB / 4.258 GB, free: 93.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/6.44, allocations: 367.1 kB / 4.258 GB, free: 93.14 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/6.441, allocations: 8 kB / 4.258 GB, free: 93.13 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/6.442, allocations: 103.6 kB / 4.258 GB, free: 93.03 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/6.442, allocations: 60.92 kB / 4.258 GB, free: 92.97 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.918e-05/6.442, allocations: 43.97 kB / 4.258 GB, free: 92.93 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006639/6.443, allocations: 0.6382 MB / 4.259 GB, free: 92.29 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004027/6.447, allocations: 1.704 MB / 4.261 GB, free: 90.58 MB / 1.151 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.003051/6.45, allocations: 3.085 MB / 4.264 GB, free: 87.57 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002019/6.452, allocations: 1.699 MB / 4.265 GB, free: 85.88 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/6.452, allocations: 0 / 4.265 GB, free: 85.88 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/6.452, allocations: 0.5704 MB / 4.266 GB, free: 85.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/6.455, allocations: 0.6694 MB / 4.267 GB, free: 84.64 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/6.459, allocations: 2.784 MB / 4.269 GB, free: 81.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/6.46, allocations: 1.568 MB / 4.271 GB, free: 80.19 MB / 1.151 GB Notification: Performance of SimCode: time 4.51e-07/6.46, allocations: 0 / 4.271 GB, free: 80.19 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)