Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.172/2.172, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001665/0.001664, allocations: 184.2 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.1 MB / 0.5658 GB, free: 364 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 90.53 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5001/0.5015, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.7402, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.858/6.599, allocations: 2.203 GB / 3.086 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/6.599, allocations: 93.39 kB / 3.086 GB, free: 195 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 5.437/12.04, allocations: 1.033 GB / 4.119 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/12.04, allocations: 11.34 kB / 4.119 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009974/12.05, allocations: 0.5604 MB / 4.119 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007639/12.05, allocations: 1.295 MB / 4.12 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/12.05, allocations: 44.78 kB / 4.121 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008103/12.05, allocations: 88.28 kB / 4.121 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00667/12.06, allocations: 1.255 MB / 4.122 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00825/12.07, allocations: 1.479 MB / 4.123 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/12.07, allocations: 7.281 kB / 4.123 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007349/12.07, allocations: 2.625 kB / 4.123 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/12.07, allocations: 67.08 kB / 4.123 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02607/12.1, allocations: 7.377 MB / 4.131 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005435/12.1, allocations: 1.058 MB / 4.132 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002667/12.11, allocations: 0.6037 MB / 4.132 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/12.11, allocations: 0.8663 MB / 4.133 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003309/12.11, allocations: 0.6388 MB / 4.134 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 1.187e-05/12.11, allocations: 0 / 4.134 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.01001/12.12, allocations: 1.249 MB / 4.135 GB, free: 119 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.261e-05/12.12, allocations: 88.89 kB / 4.135 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003979/12.12, allocations: 0.8273 MB / 4.136 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004846/12.13, allocations: 32.81 kB / 4.136 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/12.13, allocations: 494.8 kB / 4.136 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/12.13, allocations: 373.9 kB / 4.137 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/12.13, allocations: 0 / 4.137 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001937/12.13, allocations: 345.2 kB / 4.137 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/12.13, allocations: 425.4 kB / 4.137 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/12.13, allocations: 0.5937 MB / 4.138 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/12.14, allocations: 0.5353 MB / 4.138 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/12.14, allocations: 0.9062 kB / 4.138 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.007316/12.14, allocations: 1.223 MB / 4.14 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003532/12.14, allocations: 0.9714 MB / 4.141 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/12.14, allocations: 6.516 kB / 4.141 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.684e-05/12.14, allocations: 7.719 kB / 4.141 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004057/12.15, allocations: 242.3 kB / 4.141 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.755e-05/12.15, allocations: 7.797 kB / 4.141 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/12.15, allocations: 135.4 kB / 4.141 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005253/12.15, allocations: 45.02 kB / 4.141 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/12.15, allocations: 7.781 kB / 4.141 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007014/12.16, allocations: 1.062 MB / 4.142 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/12.16, allocations: 2.531 kB / 4.142 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/12.16, allocations: 7.875 kB / 4.142 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/12.16, allocations: 236.6 kB / 4.142 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.251e-05/12.16, allocations: 7.922 kB / 4.142 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/12.17, allocations: 130.8 kB / 4.142 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006453/12.17, allocations: 46.08 kB / 4.142 GB, free: 115.2 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.0008161/12.17, allocations: 120.9 kB / 4.143 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009986/12.17, allocations: 137.7 kB / 4.143 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008176/12.18, allocations: 1.256 MB / 4.144 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/12.18, allocations: 10.38 kB / 4.144 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/12.18, allocations: 0.8438 kB / 4.144 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004128/12.18, allocations: 1.021 MB / 4.145 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/12.2, allocations: 3.034 MB / 4.148 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/12.2, allocations: 3.062 kB / 4.148 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/12.2, allocations: 258.1 kB / 4.148 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-05/12.2, allocations: 10.72 kB / 4.148 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003099/12.2, allocations: 24.28 kB / 4.148 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.665e-05/12.2, allocations: 6.953 kB / 4.148 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/12.2, allocations: 8.656 kB / 4.148 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006534/12.21, allocations: 2.173 MB / 4.15 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008768/12.21, allocations: 3.438 MB / 4.154 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/12.22, allocations: 369.8 kB / 4.154 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/12.22, allocations: 14.22 kB / 4.154 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/12.22, allocations: 103.9 kB / 4.154 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/12.22, allocations: 61.2 kB / 4.154 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/12.22, allocations: 45.98 kB / 4.154 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001804/12.22, allocations: 0.6396 MB / 4.155 GB, free: 109 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009229/12.23, allocations: 1.717 MB / 4.157 GB, free: 108.1 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.007049/12.24, allocations: 3.084 MB / 4.16 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005588/12.24, allocations: 1.686 MB / 4.161 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.052e-05/12.24, allocations: 1.375 kB / 4.161 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/12.25, allocations: 0.5663 MB / 4.162 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007305/12.25, allocations: 0.6617 MB / 4.162 GB, free: 106 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/12.26, allocations: 2.783 MB / 4.165 GB, free: 105 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002875/12.27, allocations: 1.568 MB / 4.167 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.934e-06/12.27, allocations: 0 / 4.167 GB, free: 103.7 MB / 0.8855 GB