Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.ChimneyShaftNoVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.844/1.844, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001054/0.001054, allocations: 187.7 kB / 490.8 MB, free: 1.945 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.169/1.169, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.000869/0.000869, allocations: 91.95 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4335/0.4344, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.619, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7613/1.38, allocations: 461.5 MB / 1.662 GB, free: 2.789 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.381, allocations: 94.62 kB / 1.662 GB, free: 2.742 MB / 1.073 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.9702/2.351, allocations: 340.1 MB / 1.995 GB, free: 211.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/2.351, allocations: 8 kB / 1.995 GB, free: 211.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/2.351, allocations: 134.4 kB / 1.995 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/2.353, allocations: 0.9686 MB / 1.996 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/2.353, allocations: 32 kB / 1.996 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/2.353, allocations: 44 kB / 1.996 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008764/2.354, allocations: 0.5272 MB / 1.996 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009977/2.355, allocations: 0.7172 MB / 1.997 GB, free: 209.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/2.355, allocations: 3.938 kB / 1.997 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/2.355, allocations: 0 / 1.997 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/2.355, allocations: 27.84 kB / 1.997 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/2.359, allocations: 3.744 MB / 2.001 GB, free: 205.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/2.359, allocations: 390.6 kB / 2.001 GB, free: 204.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/2.359, allocations: 258.3 kB / 2.001 GB, free: 204.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/2.36, allocations: 1.247 MB / 2.002 GB, free: 203.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003687/2.36, allocations: 295 kB / 2.003 GB, free: 202.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=63): time 1.993e-06/2.36, allocations: 0 / 2.003 GB, free: 202.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=63): time 0.001355/2.362, allocations: 0.6333 MB / 2.003 GB, free: 202.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/2.362, allocations: 81.77 kB / 2.003 GB, free: 202.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/2.362, allocations: 0.649 MB / 2.004 GB, free: 201.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.009e-05/2.362, allocations: 25.7 kB / 2.004 GB, free: 201.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/2.363, allocations: 328 kB / 2.004 GB, free: 201.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/2.363, allocations: 212.9 kB / 2.005 GB, free: 200.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/2.363, allocations: 0 / 2.005 GB, free: 200.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/2.363, allocations: 330 kB / 2.005 GB, free: 200.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/2.363, allocations: 177.3 kB / 2.005 GB, free: 200.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/2.363, allocations: 307.5 kB / 2.005 GB, free: 200 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/2.364, allocations: 267.8 kB / 2.006 GB, free: 199.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/2.364, allocations: 0 / 2.006 GB, free: 199.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001254/2.365, allocations: 0.6597 MB / 2.006 GB, free: 199.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/2.366, allocations: 0.8913 MB / 2.007 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/2.366, allocations: 0 / 2.007 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/2.366, allocations: 76.83 kB / 2.007 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/2.366, allocations: 127.8 kB / 2.007 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005464/2.367, allocations: 0.685 MB / 2.008 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/2.367, allocations: 75.55 kB / 2.008 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/2.368, allocations: 31.97 kB / 2.008 GB, free: 197.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/2.368, allocations: 4 kB / 2.008 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/2.369, allocations: 0.5459 MB / 2.009 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/2.369, allocations: 7.938 kB / 2.009 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/2.369, allocations: 88.72 kB / 2.009 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/2.369, allocations: 119.8 kB / 2.009 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005018/2.37, allocations: 0.6891 MB / 2.01 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/2.37, allocations: 67.47 kB / 2.01 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/2.37, allocations: 31.98 kB / 2.01 GB, free: 195.5 MB / 1.151 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.0001138/2.371, allocations: 127.9 kB / 2.01 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/2.371, allocations: 90.88 kB / 2.01 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/2.372, allocations: 0.9512 MB / 2.011 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/2.372, allocations: 11.98 kB / 2.011 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/2.372, allocations: 3.906 kB / 2.011 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/2.374, allocations: 0.8061 MB / 2.012 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/2.376, allocations: 1.711 MB / 2.013 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/2.376, allocations: 4 kB / 2.013 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/2.376, allocations: 107.8 kB / 2.013 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003605/2.377, allocations: 141.7 kB / 2.013 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/2.377, allocations: 11.98 kB / 2.013 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007131/2.378, allocations: 1.276 MB / 2.015 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/2.378, allocations: 4 kB / 2.015 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001651/2.379, allocations: 1.224 MB / 2.016 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002161/2.381, allocations: 2.002 MB / 2.018 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/2.382, allocations: 267.6 kB / 2.018 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/2.382, allocations: 8 kB / 2.018 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/2.382, allocations: 51.8 kB / 2.018 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/2.383, allocations: 40.59 kB / 2.018 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/2.383, allocations: 31.98 kB / 2.018 GB, free: 186.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004677/2.383, allocations: 0.503 MB / 2.019 GB, free: 185.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00268/2.386, allocations: 0.7874 MB / 2.02 GB, free: 185.1 MB / 1.151 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.001182/2.387, allocations: 0.8353 MB / 2.02 GB, free: 184.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001187/2.388, allocations: 0.8803 MB / 2.021 GB, free: 183.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.388, allocations: 4 kB / 2.021 GB, free: 183.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005096/2.389, allocations: 351.6 kB / 2.022 GB, free: 183.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/2.39, allocations: 341.8 kB / 2.022 GB, free: 182.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/2.392, allocations: 1.601 MB / 2.023 GB, free: 181.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000622/2.393, allocations: 1.202 MB / 2.025 GB, free: 179.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.21e-07/2.393, allocations: 0 / 2.025 GB, free: 179.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)