Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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.375/1.375, allocations: 289.8 MB / 297 MB, free: 6.613 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.0009959/0.000996, allocations: 188.2 kB / 366.3 MB, free: 1.945 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.044/1.044, allocations: 205.2 MB / 0.6256 GB, free: 5.855 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000817/0.000817, allocations: 85.28 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2005/0.2014, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.6573, allocations: 116.3 MB / 0.9726 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7365/1.394, allocations: 448.9 MB / 1.411 GB, free: 37.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/1.394, allocations: 92.69 kB / 1.411 GB, free: 37.92 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.9966/2.391, allocations: 330.3 MB / 1.734 GB, free: 183.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/2.391, allocations: 7.875 kB / 1.734 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/2.391, allocations: 136.8 kB / 1.734 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/2.393, allocations: 0.9731 MB / 1.735 GB, free: 182.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/2.393, allocations: 31.33 kB / 1.735 GB, free: 182.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/2.394, allocations: 46.88 kB / 1.735 GB, free: 182.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009543/2.395, allocations: 0.5236 MB / 1.735 GB, free: 182.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/2.396, allocations: 0.7178 MB / 1.736 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/2.396, allocations: 3.938 kB / 1.736 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/2.396, allocations: 7.891 kB / 1.736 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/2.396, allocations: 23.62 kB / 1.736 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/2.4, allocations: 3.747 MB / 1.74 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/2.4, allocations: 390.4 kB / 1.74 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/2.401, allocations: 258.6 kB / 1.74 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007288/2.401, allocations: 1.249 MB / 1.742 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/2.402, allocations: 293.8 kB / 1.742 GB, free: 176.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 2.945e-06/2.402, allocations: 0 / 1.742 GB, free: 176.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.001473/2.403, allocations: 0.6258 MB / 1.742 GB, free: 176.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/2.403, allocations: 89.48 kB / 1.743 GB, free: 176.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/2.404, allocations: 0.6461 MB / 1.743 GB, free: 175.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/2.404, allocations: 29.7 kB / 1.743 GB, free: 175.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/2.404, allocations: 334.7 kB / 1.743 GB, free: 175.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/2.404, allocations: 204.2 kB / 1.744 GB, free: 175.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/2.404, allocations: 3.938 kB / 1.744 GB, free: 175.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.708e-05/2.405, allocations: 333.8 kB / 1.744 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/2.405, allocations: 179.1 kB / 1.744 GB, free: 175 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/2.405, allocations: 309.2 kB / 1.744 GB, free: 174.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/2.406, allocations: 267.5 kB / 1.745 GB, free: 174.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/2.406, allocations: 0 / 1.745 GB, free: 174.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001213/2.407, allocations: 0.6637 MB / 1.745 GB, free: 174.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/2.407, allocations: 0.8792 MB / 1.746 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/2.407, allocations: 0.5 kB / 1.746 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/2.407, allocations: 79.84 kB / 1.746 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/2.408, allocations: 121.9 kB / 1.746 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005382/2.408, allocations: 0.6904 MB / 1.747 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/2.409, allocations: 82.67 kB / 1.747 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/2.409, allocations: 27.52 kB / 1.747 GB, free: 172.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-06/2.409, allocations: 3.906 kB / 1.747 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001097/2.41, allocations: 0.5509 MB / 1.748 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/2.41, allocations: 3.984 kB / 1.748 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/2.411, allocations: 91.64 kB / 1.748 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/2.411, allocations: 114.3 kB / 1.748 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004939/2.411, allocations: 0.6866 MB / 1.749 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/2.412, allocations: 70.8 kB / 1.749 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/2.412, allocations: 27.52 kB / 1.749 GB, free: 171.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001307/2.412, allocations: 120.8 kB / 1.749 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/2.412, allocations: 89.84 kB / 1.749 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/2.414, allocations: 0.9453 MB / 1.75 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/2.414, allocations: 7.906 kB / 1.75 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/2.414, allocations: 0 / 1.75 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/2.415, allocations: 0.8183 MB / 1.751 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/2.418, allocations: 1.712 MB / 1.752 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/2.418, allocations: 0 / 1.752 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/2.418, allocations: 114.1 kB / 1.752 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003852/2.419, allocations: 148 kB / 1.753 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/2.419, allocations: 7.953 kB / 1.753 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007558/2.42, allocations: 1.269 MB / 1.754 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/2.42, allocations: 3.906 kB / 1.754 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001685/2.421, allocations: 1.235 MB / 1.755 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002231/2.423, allocations: 1.999 MB / 1.757 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/2.424, allocations: 266.5 kB / 1.757 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/2.424, allocations: 3.984 kB / 1.757 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/2.425, allocations: 55.23 kB / 1.757 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/2.425, allocations: 48.03 kB / 1.757 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/2.425, allocations: 23.7 kB / 1.757 GB, free: 165.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005549/2.425, allocations: 0.5056 MB / 1.758 GB, free: 165.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00295/2.428, allocations: 0.7784 MB / 1.759 GB, free: 165.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001477/2.43, allocations: 0.8452 MB / 1.759 GB, free: 164.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001547/2.431, allocations: 0.8788 MB / 1.76 GB, free: 164.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/2.431, allocations: 1.125 kB / 1.76 GB, free: 164.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000575/2.432, allocations: 357.8 kB / 1.761 GB, free: 164.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/2.434, allocations: 336.8 kB / 1.761 GB, free: 164.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/2.437, allocations: 1.611 MB / 1.763 GB, free: 163.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006682/2.437, allocations: 1.195 MB / 1.764 GB, free: 162.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.6e-07/2.437, allocations: 0 / 1.764 GB, free: 162.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)