Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.255/1.255, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 181.3 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 92.03 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3364/0.3372, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.4917, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.681/4.173, allocations: 2.203 GB / 3.087 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/4.174, allocations: 87.95 kB / 3.088 GB, free: 200.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 3.115/7.289, allocations: 1.033 GB / 4.12 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/7.289, allocations: 7.844 kB / 4.12 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004258/7.293, allocations: 0.5606 MB / 4.121 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00392/7.297, allocations: 1.295 MB / 4.122 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.671e-05/7.297, allocations: 44.72 kB / 4.122 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005468/7.298, allocations: 92.59 kB / 4.122 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003115/7.301, allocations: 1.253 MB / 4.123 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/7.304, allocations: 1.479 MB / 4.125 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/7.304, allocations: 3.75 kB / 4.125 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/7.304, allocations: 3.969 kB / 4.125 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/7.304, allocations: 64.81 kB / 4.125 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/7.315, allocations: 7.399 MB / 4.132 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/7.316, allocations: 1.045 MB / 4.133 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/7.318, allocations: 0.6048 MB / 4.134 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006826/7.318, allocations: 0.866 MB / 4.134 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009926/7.319, allocations: 0.6362 MB / 4.135 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 3.527e-06/7.319, allocations: 0 / 4.135 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.003245/7.322, allocations: 1.25 MB / 4.136 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/7.323, allocations: 88.36 kB / 4.136 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/7.324, allocations: 0.8261 MB / 4.137 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/7.324, allocations: 29.61 kB / 4.137 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/7.325, allocations: 0.4938 MB / 4.138 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003756/7.325, allocations: 370.2 kB / 4.138 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/7.325, allocations: 3.969 kB / 4.138 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/7.325, allocations: 347.1 kB / 4.138 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/7.326, allocations: 423.5 kB / 4.139 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007737/7.327, allocations: 0.5876 MB / 4.139 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/7.328, allocations: 0.5366 MB / 4.14 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/7.328, allocations: 1.188 kB / 4.14 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002444/7.33, allocations: 1.221 MB / 4.141 GB, free: 112 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002027/7.33, allocations: 0.9792 MB / 4.142 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/7.33, allocations: 2.156 kB / 4.142 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/7.33, allocations: 6.969 kB / 4.142 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/7.332, allocations: 242.1 kB / 4.142 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/7.332, allocations: 14.89 kB / 4.142 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/7.333, allocations: 147.4 kB / 4.142 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/7.333, allocations: 40.39 kB / 4.142 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/7.333, allocations: 3.938 kB / 4.142 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002287/7.336, allocations: 1.06 MB / 4.143 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/7.336, allocations: 2.844 kB / 4.143 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/7.336, allocations: 7.594 kB / 4.143 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/7.337, allocations: 234 kB / 4.144 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.66e-05/7.337, allocations: 6.219 kB / 4.144 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/7.339, allocations: 128.5 kB / 4.144 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/7.339, allocations: 42.38 kB / 4.144 GB, free: 110.8 MB / 0.8855 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.0002845/7.339, allocations: 129.1 kB / 4.144 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/7.339, allocations: 142.1 kB / 4.144 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/7.342, allocations: 1.254 MB / 4.145 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/7.342, allocations: 12.12 kB / 4.145 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/7.342, allocations: 0 / 4.145 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001893/7.344, allocations: 1.03 MB / 4.146 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006141/7.35, allocations: 3.017 MB / 4.149 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/7.35, allocations: 2.469 kB / 4.149 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/7.352, allocations: 265.2 kB / 4.15 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.29e-05/7.352, allocations: 6.906 kB / 4.15 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/7.352, allocations: 19.22 kB / 4.15 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/7.352, allocations: 14.39 kB / 4.15 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/7.352, allocations: 3.922 kB / 4.15 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003362/7.355, allocations: 2.175 MB / 4.152 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004878/7.36, allocations: 3.424 MB / 4.155 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008698/7.361, allocations: 377.4 kB / 4.155 GB, free: 105 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/7.361, allocations: 7 kB / 4.155 GB, free: 105 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/7.363, allocations: 104 kB / 4.156 GB, free: 105 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/7.363, allocations: 65.33 kB / 4.156 GB, free: 105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/7.363, allocations: 47.34 kB / 4.156 GB, free: 105 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001163/7.364, allocations: 0.6427 MB / 4.156 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005623/7.37, allocations: 1.714 MB / 4.158 GB, free: 103.7 MB / 0.8855 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.005284/7.375, allocations: 3.098 MB / 4.161 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002954/7.378, allocations: 1.69 MB / 4.163 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/7.378, allocations: 5.25 kB / 4.163 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009334/7.379, allocations: 0.5647 MB / 4.163 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003793/7.383, allocations: 0.6561 MB / 4.164 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/7.39, allocations: 2.78 MB / 4.167 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002364/7.392, allocations: 1.571 MB / 4.168 GB, free: 99.76 MB / 0.8855 GB Notification: Performance of SimCode: time 6.71e-07/7.392, allocations: 0 / 4.168 GB, free: 99.76 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)