Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",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.241/2.241, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001683/0.001682, allocations: 196.2 kB / 315.1 MB, free: 4.277 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.88/1.88, allocations: 205.1 MB / 0.5658 GB, free: 308 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.001283/0.001283, allocations: 95.27 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4391/0.4405, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.6424, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.48/6.123, allocations: 2.246 GB / 3.13 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/6.123, allocations: 90.83 kB / 3.13 GB, free: 119.2 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 9.409/15.53, allocations: 2.009 GB / 5.138 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/15.53, allocations: 11.59 kB / 5.138 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009052/15.54, allocations: 0.8249 MB / 5.139 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/15.55, allocations: 2.266 MB / 5.142 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/15.55, allocations: 41.41 kB / 5.142 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007285/15.55, allocations: 85.38 kB / 5.142 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004843/15.56, allocations: 1.165 MB / 5.143 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005386/15.56, allocations: 1.39 MB / 5.144 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.425e-05/15.56, allocations: 5.281 kB / 5.144 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/15.56, allocations: 6.641 kB / 5.144 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.998e-05/15.56, allocations: 48.5 kB / 5.144 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/15.58, allocations: 7.581 MB / 5.152 GB, free: 105 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/15.58, allocations: 0.7787 MB / 5.152 GB, free: 105 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/15.59, allocations: 470.3 kB / 5.153 GB, free: 105 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/15.59, allocations: 0.9238 MB / 5.154 GB, free: 104 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/15.59, allocations: 495.8 kB / 5.154 GB, free: 104 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=84): time 4.218e-06/15.59, allocations: 0 / 5.154 GB, free: 104 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84): time 0.005328/15.59, allocations: 1.13 MB / 5.155 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/15.59, allocations: 162.8 kB / 5.155 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/15.6, allocations: 1.246 MB / 5.157 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003117/15.6, allocations: 29.05 kB / 5.157 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006509/15.6, allocations: 0.6106 MB / 5.157 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004338/15.6, allocations: 280.5 kB / 5.158 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/15.6, allocations: 6.969 kB / 5.158 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001102/15.6, allocations: 347.6 kB / 5.158 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009384/15.6, allocations: 352.1 kB / 5.158 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/15.6, allocations: 0.7271 MB / 5.159 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/15.6, allocations: 0.5594 MB / 5.159 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/15.6, allocations: 2.906 kB / 5.159 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004461/15.61, allocations: 1.284 MB / 5.161 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000846/15.61, allocations: 3.453 MB / 5.164 GB, free: 98.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-05/15.61, allocations: 11.55 kB / 5.164 GB, free: 98.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.748e-05/15.61, allocations: 15.34 kB / 5.164 GB, free: 98.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/15.61, allocations: 265.1 kB / 5.164 GB, free: 98.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/15.61, allocations: 22.61 kB / 5.164 GB, free: 98.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/15.61, allocations: 180.1 kB / 5.165 GB, free: 98.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/15.61, allocations: 51.81 kB / 5.165 GB, free: 98.22 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/15.61, allocations: 4.688 kB / 5.165 GB, free: 98.22 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003412/15.62, allocations: 1.045 MB / 5.166 GB, free: 98.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/15.62, allocations: 13.41 kB / 5.166 GB, free: 98.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/15.62, allocations: 15.69 kB / 5.166 GB, free: 98.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/15.62, allocations: 259.3 kB / 5.166 GB, free: 98.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/15.62, allocations: 21.25 kB / 5.166 GB, free: 98.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/15.62, allocations: 160 kB / 5.166 GB, free: 98.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/15.62, allocations: 53.2 kB / 5.166 GB, free: 98.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0004402/15.62, allocations: 141.2 kB / 5.166 GB, free: 97.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/15.62, allocations: 183.8 kB / 5.166 GB, free: 97.88 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/15.63, allocations: 1.085 MB / 5.168 GB, free: 97.79 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/15.63, allocations: 5.938 kB / 5.168 GB, free: 97.79 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/15.63, allocations: 6.188 kB / 5.168 GB, free: 97.78 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002752/15.63, allocations: 1.144 MB / 5.169 GB, free: 97.32 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009574/15.64, allocations: 2.439 MB / 5.171 GB, free: 96.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/15.64, allocations: 3.562 kB / 5.171 GB, free: 96.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002646/15.64, allocations: 183.5 kB / 5.171 GB, free: 96.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/15.64, allocations: 50.52 kB / 5.171 GB, free: 96.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/15.64, allocations: 14.91 kB / 5.171 GB, free: 96.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/15.65, allocations: 1.369 MB / 5.173 GB, free: 95.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/15.65, allocations: 8.656 kB / 5.173 GB, free: 95.72 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006514/15.65, allocations: 1.674 MB / 5.174 GB, free: 95.2 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007181/15.66, allocations: 2.735 MB / 5.177 GB, free: 93.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/15.66, allocations: 355.8 kB / 5.177 GB, free: 93.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003998/15.66, allocations: 16.23 kB / 5.177 GB, free: 93.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/15.67, allocations: 118.4 kB / 5.177 GB, free: 93.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/15.67, allocations: 54.36 kB / 5.177 GB, free: 93.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/15.67, allocations: 32.52 kB / 5.177 GB, free: 93.31 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002431/15.67, allocations: 0.9251 MB / 5.178 GB, free: 92.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01149/15.68, allocations: 2.051 MB / 5.18 GB, free: 91.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008301/15.69, allocations: 3.736 MB / 5.184 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004725/15.69, allocations: 1.589 MB / 5.186 GB, free: 89.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/15.69, allocations: 1.281 kB / 5.186 GB, free: 89.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/15.69, allocations: 0.514 MB / 5.186 GB, free: 89.34 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006968/15.7, allocations: 0.7246 MB / 5.187 GB, free: 89.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/15.72, allocations: 3.033 MB / 5.19 GB, free: 88.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/15.72, allocations: 1.716 MB / 5.191 GB, free: 87.36 MB / 0.9167 GB Notification: Performance of SimCode: time 1.733e-06/15.72, allocations: 0 / 5.191 GB, free: 87.36 MB / 0.9167 GB