Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.436/1.436, allocations: 289.8 MB / 297.1 MB, free: 8.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 184.4 kB / 366.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.085/1.085, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000816/0.0008161, allocations: 85.28 kB / 0.7396 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3637/0.3645, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.5225, allocations: 116.3 MB / 0.9726 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.301/3.823, allocations: 2.084 GB / 3.057 GB, free: 232 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/3.823, allocations: 91.94 kB / 3.057 GB, free: 231.9 MB / 0.948 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.008/6.831, allocations: 1.062 GB / 4.119 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/6.831, allocations: 11.53 kB / 4.119 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/6.835, allocations: 0.5558 MB / 4.12 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/6.837, allocations: 1.284 MB / 4.121 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/6.837, allocations: 40.62 kB / 4.121 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/6.837, allocations: 95.69 kB / 4.121 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001827/6.839, allocations: 1.249 MB / 4.122 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/6.841, allocations: 1.464 MB / 4.124 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.487e-05/6.841, allocations: 3.875 kB / 4.124 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/6.841, allocations: 2.297 kB / 4.124 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/6.841, allocations: 62 kB / 4.124 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007476/6.849, allocations: 7.362 MB / 4.131 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/6.85, allocations: 1.042 MB / 4.132 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/6.851, allocations: 0.6097 MB / 4.133 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/6.851, allocations: 0.8723 MB / 4.133 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007675/6.852, allocations: 0.6298 MB / 4.134 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 3.346e-06/6.852, allocations: 0 / 4.134 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.002747/6.855, allocations: 1.254 MB / 4.135 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/6.855, allocations: 85.48 kB / 4.135 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008636/6.856, allocations: 0.8174 MB / 4.136 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/6.856, allocations: 27.86 kB / 4.136 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/6.856, allocations: 494.8 kB / 4.137 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/6.856, allocations: 372.1 kB / 4.137 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/6.857, allocations: 0 / 4.137 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/6.857, allocations: 345.6 kB / 4.137 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/6.857, allocations: 429.8 kB / 4.138 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/6.858, allocations: 0.6065 MB / 4.138 GB, free: 133 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008705/6.859, allocations: 0.5331 MB / 4.139 GB, free: 133 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/6.859, allocations: 0 / 4.139 GB, free: 133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001835/6.861, allocations: 1.24 MB / 4.14 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/6.861, allocations: 0.9696 MB / 4.141 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/6.861, allocations: 7.375 kB / 4.141 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/6.861, allocations: 6.469 kB / 4.141 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/6.862, allocations: 229.1 kB / 4.141 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/6.862, allocations: 10.53 kB / 4.141 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/6.863, allocations: 136.1 kB / 4.141 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/6.863, allocations: 42.91 kB / 4.141 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/6.863, allocations: 3.812 kB / 4.141 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/6.865, allocations: 1.068 MB / 4.142 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/6.865, allocations: 7.125 kB / 4.142 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/6.865, allocations: 10.56 kB / 4.143 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009672/6.866, allocations: 228.8 kB / 4.143 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/6.866, allocations: 7.312 kB / 4.143 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/6.867, allocations: 125.9 kB / 4.143 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/6.867, allocations: 40.58 kB / 4.143 GB, free: 131.8 MB / 0.9636 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.0001863/6.867, allocations: 127.9 kB / 4.143 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/6.868, allocations: 135.6 kB / 4.143 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/6.87, allocations: 1.273 MB / 4.144 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/6.87, allocations: 9.938 kB / 4.144 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/6.87, allocations: 0 / 4.144 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001426/6.871, allocations: 1.028 MB / 4.145 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/6.875, allocations: 3.022 MB / 4.148 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/6.875, allocations: 3.438 kB / 4.148 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/6.877, allocations: 260.1 kB / 4.149 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/6.877, allocations: 3.719 kB / 4.149 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/6.877, allocations: 20.34 kB / 4.149 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/6.877, allocations: 8.406 kB / 4.149 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/6.877, allocations: 5.219 kB / 4.149 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002415/6.879, allocations: 2.192 MB / 4.151 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003521/6.883, allocations: 3.454 MB / 4.154 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006285/6.883, allocations: 366.1 kB / 4.154 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/6.884, allocations: 6.469 kB / 4.155 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/6.885, allocations: 103.2 kB / 4.155 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/6.885, allocations: 61.64 kB / 4.155 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/6.885, allocations: 45.73 kB / 4.155 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0007243/6.886, allocations: 0.6276 MB / 4.155 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004485/6.89, allocations: 1.705 MB / 4.157 GB, free: 129.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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.00332/6.893, allocations: 3.097 MB / 4.16 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002549/6.896, allocations: 1.705 MB / 4.162 GB, free: 128 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/6.896, allocations: 0 / 4.162 GB, free: 128 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007317/6.897, allocations: 0.5673 MB / 4.162 GB, free: 128 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/6.9, allocations: 0.6628 MB / 4.163 GB, free: 128 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/6.905, allocations: 2.77 MB / 4.166 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/6.906, allocations: 1.565 MB / 4.167 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/6.906, allocations: 0 / 4.167 GB, free: 126.6 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)