Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",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.128/2.128, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.001687/0.001687, allocations: 192.1 kB / 315.1 MB, free: 4.273 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.935/1.935, allocations: 205.1 MB / 0.5658 GB, free: 384 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.001972/0.001971, allocations: 95.31 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4754/0.4774, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.6738, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.501/6.175, allocations: 2.24 GB / 3.123 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004664/6.175, allocations: 92.86 kB / 3.123 GB, free: 125.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: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 8.971/15.15, allocations: 1.928 GB / 5.052 GB, free: 100.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/15.15, allocations: 7.406 kB / 5.052 GB, free: 100.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009626/15.16, allocations: 0.8394 MB / 5.053 GB, free: 100.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/15.17, allocations: 2.406 MB / 5.055 GB, free: 100 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/15.17, allocations: 50.62 kB / 5.055 GB, free: 100 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008956/15.17, allocations: 98.12 kB / 5.055 GB, free: 100 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005737/15.18, allocations: 1.367 MB / 5.056 GB, free: 99.99 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006166/15.18, allocations: 1.576 MB / 5.058 GB, free: 99.76 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-05/15.18, allocations: 6.469 kB / 5.058 GB, free: 99.76 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/15.18, allocations: 0 / 5.058 GB, free: 99.76 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-05/15.18, allocations: 62.47 kB / 5.058 GB, free: 99.76 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02063/15.2, allocations: 8.299 MB / 5.066 GB, free: 95.81 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/15.21, allocations: 0.9558 MB / 5.067 GB, free: 95.78 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/15.21, allocations: 0.6142 MB / 5.068 GB, free: 95.76 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008174/15.21, allocations: 382 kB / 5.068 GB, free: 95.38 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/15.21, allocations: 0.6123 MB / 5.069 GB, free: 95.32 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=102): time 5.21e-06/15.21, allocations: 3.844 kB / 5.069 GB, free: 95.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=105): time 0.01497/15.22, allocations: 2.997 MB / 5.072 GB, free: 94.65 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/15.23, allocations: 166.3 kB / 5.072 GB, free: 94.46 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/15.23, allocations: 1.22 MB / 5.073 GB, free: 94.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005345/15.23, allocations: 35.59 kB / 5.073 GB, free: 94.22 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/15.23, allocations: 0.6376 MB / 5.074 GB, free: 93.89 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008598/15.23, allocations: 353.8 kB / 5.074 GB, free: 93.66 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/15.23, allocations: 0 / 5.074 GB, free: 93.66 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001589/15.23, allocations: 352.1 kB / 5.074 GB, free: 93.36 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/15.23, allocations: 444.4 kB / 5.075 GB, free: 93.36 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/15.24, allocations: 0.7963 MB / 5.075 GB, free: 92.94 MB / 0.9011 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/15.25, allocations: 2.059 MB / 5.077 GB, free: 92.79 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/15.25, allocations: 2.625 kB / 5.077 GB, free: 92.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004806/15.25, allocations: 1.455 MB / 5.079 GB, free: 92.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007345/15.25, allocations: 2.998 MB / 5.082 GB, free: 89.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/15.25, allocations: 11.47 kB / 5.082 GB, free: 89.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/15.25, allocations: 47.23 kB / 5.082 GB, free: 89.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/15.26, allocations: 293.2 kB / 5.082 GB, free: 89.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/15.26, allocations: 1.428 MB / 5.084 GB, free: 88.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/15.26, allocations: 138.5 kB / 5.084 GB, free: 88.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/15.26, allocations: 61.14 kB / 5.084 GB, free: 88.21 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/15.26, allocations: 3.688 kB / 5.084 GB, free: 88.21 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003871/15.27, allocations: 1.211 MB / 5.085 GB, free: 88.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/15.27, allocations: 16.91 kB / 5.085 GB, free: 88.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/15.27, allocations: 40.55 kB / 5.085 GB, free: 88.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/15.27, allocations: 293 kB / 5.085 GB, free: 88.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/15.27, allocations: 1.423 MB / 5.087 GB, free: 86.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003838/15.27, allocations: 142.3 kB / 5.087 GB, free: 86.89 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/15.28, allocations: 54.98 kB / 5.087 GB, free: 86.89 MB / 0.9011 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (148): * Single equations (assignments): 143 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005746/15.28, allocations: 145.8 kB / 5.087 GB, free: 86.78 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/15.28, allocations: 189.4 kB / 5.087 GB, free: 86.68 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/15.28, allocations: 1.285 MB / 5.088 GB, free: 86.57 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/15.28, allocations: 10.47 kB / 5.088 GB, free: 86.57 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/15.28, allocations: 6.781 kB / 5.088 GB, free: 86.57 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003022/15.28, allocations: 1.021 MB / 5.089 GB, free: 86.47 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009578/15.29, allocations: 3.013 MB / 5.092 GB, free: 86.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/15.29, allocations: 3.438 kB / 5.092 GB, free: 86.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/15.3, allocations: 240.2 kB / 5.093 GB, free: 86.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003862/15.3, allocations: 76.06 kB / 5.093 GB, free: 86.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/15.3, allocations: 13.17 kB / 5.093 GB, free: 86.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/15.3, allocations: 2.642 MB / 5.095 GB, free: 83.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/15.3, allocations: 3.844 kB / 5.095 GB, free: 83.64 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005801/15.31, allocations: 2.048 MB / 5.097 GB, free: 83.22 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007573/15.31, allocations: 3.263 MB / 5.1 GB, free: 82.42 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/15.31, allocations: 389.6 kB / 5.101 GB, free: 82.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/15.32, allocations: 6.484 kB / 5.101 GB, free: 82.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002728/15.32, allocations: 136.9 kB / 5.101 GB, free: 82.22 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/15.32, allocations: 62.53 kB / 5.101 GB, free: 82.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/15.32, allocations: 42.05 kB / 5.101 GB, free: 82.22 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.002162/15.32, allocations: 0.9205 MB / 5.102 GB, free: 82.07 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01115/15.33, allocations: 2.02 MB / 5.104 GB, free: 82.01 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (104): * Single equations (assignments): 100 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007237/15.34, allocations: 3.675 MB / 5.108 GB, free: 80.66 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005518/15.34, allocations: 2.139 MB / 5.11 GB, free: 80.31 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/15.34, allocations: 3.469 kB / 5.11 GB, free: 80.31 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/15.35, allocations: 0.7344 MB / 5.11 GB, free: 80.11 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008291/15.35, allocations: 0.8934 MB / 5.111 GB, free: 80.07 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/15.37, allocations: 3.267 MB / 5.114 GB, free: 79.31 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002701/15.37, allocations: 1.826 MB / 5.116 GB, free: 78.57 MB / 0.9011 GB Notification: Performance of SimCode: time 1.563e-06/15.37, allocations: 0 / 5.116 GB, free: 78.57 MB / 0.9011 GB