Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.12/2.12, allocations: 253.1 MB / 260.4 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001655/0.001655, allocations: 185.2 kB / 319.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 89.64 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.044e-05/1.048e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2536, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.43/5.683, allocations: 2.24 GB / 3.128 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/5.684, allocations: 91.3 kB / 3.128 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.136/14.82, allocations: 1.926 GB / 5.054 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005621/14.82, allocations: 61.52 kB / 5.054 GB, free: 103.4 MB / 0.9011 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 0.01182/14.83, allocations: 2.63 MB / 5.056 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/14.83, allocations: 6.562 kB / 5.056 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009542/14.84, allocations: 0.8414 MB / 5.057 GB, free: 102.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/14.85, allocations: 2.418 MB / 5.06 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/14.85, allocations: 49.56 kB / 5.06 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006225/14.85, allocations: 95.38 kB / 5.06 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004803/14.86, allocations: 1.364 MB / 5.061 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004871/14.86, allocations: 1.576 MB / 5.063 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-05/14.86, allocations: 0 / 5.063 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/14.86, allocations: 3.75 kB / 5.063 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.488e-05/14.86, allocations: 56.84 kB / 5.063 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/14.88, allocations: 8.333 MB / 5.071 GB, free: 97.59 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/14.89, allocations: 0.9485 MB / 5.072 GB, free: 97.56 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/14.89, allocations: 0.6198 MB / 5.072 GB, free: 97.54 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007996/14.89, allocations: 384.5 kB / 5.073 GB, free: 97.16 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/14.89, allocations: 0.6094 MB / 5.073 GB, free: 97.11 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=102): time 5.76e-06/14.89, allocations: 0 / 5.073 GB, free: 97.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=105): time 0.01353/14.9, allocations: 2.99 MB / 5.076 GB, free: 96.43 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/14.9, allocations: 169.1 kB / 5.076 GB, free: 96.24 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003236/14.91, allocations: 1.225 MB / 5.078 GB, free: 96.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004539/14.91, allocations: 29.55 kB / 5.078 GB, free: 96 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008166/14.91, allocations: 0.6342 MB / 5.078 GB, free: 95.68 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007563/14.91, allocations: 357.9 kB / 5.078 GB, free: 95.45 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/14.91, allocations: 0 / 5.078 GB, free: 95.45 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001271/14.91, allocations: 354.6 kB / 5.079 GB, free: 95.14 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/14.91, allocations: 445.9 kB / 5.079 GB, free: 95.14 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/14.91, allocations: 0.7991 MB / 5.08 GB, free: 94.72 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.01301/14.93, allocations: 2.052 MB / 5.082 GB, free: 94.57 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/14.93, allocations: 6.375 kB / 5.082 GB, free: 94.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005111/14.93, allocations: 1.454 MB / 5.083 GB, free: 94.41 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007495/14.93, allocations: 3.005 MB / 5.086 GB, free: 91.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.735e-05/14.93, allocations: 11.25 kB / 5.086 GB, free: 91.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/14.93, allocations: 44.22 kB / 5.086 GB, free: 91.28 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/14.93, allocations: 294.6 kB / 5.087 GB, free: 91.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/14.94, allocations: 1.422 MB / 5.088 GB, free: 90.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/14.94, allocations: 141 kB / 5.088 GB, free: 90 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/14.94, allocations: 55.33 kB / 5.088 GB, free: 90 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/14.94, allocations: 3.719 kB / 5.088 GB, free: 90 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003991/14.94, allocations: 1.212 MB / 5.09 GB, free: 89.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/14.94, allocations: 7.656 kB / 5.09 GB, free: 89.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/14.94, allocations: 50.27 kB / 5.09 GB, free: 89.96 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/14.95, allocations: 286.2 kB / 5.09 GB, free: 89.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/14.95, allocations: 1.421 MB / 5.091 GB, free: 88.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/14.95, allocations: 143.9 kB / 5.091 GB, free: 88.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/14.95, allocations: 55.78 kB / 5.091 GB, free: 88.68 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.0005437/14.95, allocations: 142.3 kB / 5.092 GB, free: 88.57 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006418/14.95, allocations: 190.2 kB / 5.092 GB, free: 88.47 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/14.96, allocations: 1.288 MB / 5.093 GB, free: 88.37 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/14.96, allocations: 10.75 kB / 5.093 GB, free: 88.37 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/14.96, allocations: 3.906 kB / 5.093 GB, free: 88.36 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003045/14.96, allocations: 1.028 MB / 5.094 GB, free: 88.27 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009603/14.97, allocations: 3.006 MB / 5.097 GB, free: 87.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/14.97, allocations: 3.781 kB / 5.097 GB, free: 87.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/14.97, allocations: 245.2 kB / 5.097 GB, free: 87.83 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/14.97, allocations: 74.55 kB / 5.097 GB, free: 87.81 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/14.97, allocations: 14.83 kB / 5.097 GB, free: 87.81 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/14.98, allocations: 2.647 MB / 5.1 GB, free: 85.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-06/14.98, allocations: 3.438 kB / 5.1 GB, free: 85.43 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005375/14.98, allocations: 2.043 MB / 5.102 GB, free: 85 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/14.98, allocations: 389.9 kB / 5.102 GB, free: 84.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004942/14.98, allocations: 5.719 kB / 5.102 GB, free: 84.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/14.99, allocations: 130.8 kB / 5.102 GB, free: 84.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/14.99, allocations: 68.7 kB / 5.102 GB, free: 84.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/14.99, allocations: 40.45 kB / 5.102 GB, free: 84.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.002243/14.99, allocations: 0.9256 MB / 5.103 GB, free: 84.66 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00703/15, allocations: 1.169 MB / 5.104 GB, free: 84.59 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.007212/15, allocations: 3.669 MB / 5.108 GB, free: 83.25 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005778/15.01, allocations: 2.149 MB / 5.11 GB, free: 82.89 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/15.01, allocations: 3.5 kB / 5.11 GB, free: 82.89 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/15.01, allocations: 0.7317 MB / 5.111 GB, free: 82.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008346/15.02, allocations: 0.8899 MB / 5.112 GB, free: 82.67 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/15.03, allocations: 3.258 MB / 5.115 GB, free: 81.91 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/15.04, allocations: 1.797 MB / 5.117 GB, free: 81.16 MB / 0.9011 GB Notification: Performance of SimCode: time 1.653e-06/15.04, allocations: 3.906 kB / 5.117 GB, free: 81.16 MB / 0.9011 GB Notification: Performance of Templates: time 0.1655/15.2, allocations: 59.17 MB / 5.174 GB, free: 78.39 MB / 0.9011 GB