Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_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.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_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.261/2.261, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.001694/0.001694, allocations: 189.2 kB / 319.6 MB, free: 3.32 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 2.013/2.013, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001869/0.001869, allocations: 94.39 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.186e-05/1.189e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2256, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.992/6.218, allocations: 2.204 GB / 3.092 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/6.218, allocations: 85.33 kB / 3.093 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.611/10.83, allocations: 1.007 GB / 4.099 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003098/10.83, allocations: 50.86 kB / 4.099 GB, free: 123.9 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007328/10.84, allocations: 2.085 MB / 4.101 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/10.84, allocations: 9.938 kB / 4.101 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00677/10.84, allocations: 0.6447 MB / 4.102 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/10.85, allocations: 1.467 MB / 4.104 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006823/10.85, allocations: 126.9 kB / 4.104 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003953/10.85, allocations: 72 kB / 4.104 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003389/10.85, allocations: 1.028 MB / 4.105 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/10.86, allocations: 1.233 MB / 4.106 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/10.86, allocations: 0 / 4.106 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/10.86, allocations: 11.91 kB / 4.106 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/10.86, allocations: 38.23 kB / 4.106 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/10.87, allocations: 5.954 MB / 4.112 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/10.87, allocations: 0.6056 MB / 4.112 GB, free: 111 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/10.88, allocations: 491 kB / 4.113 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009331/10.88, allocations: 483.5 kB / 4.113 GB, free: 110 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/10.88, allocations: 0.5437 MB / 4.114 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=87): time 4.929e-06/10.88, allocations: 3.703 kB / 4.114 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.01436/10.89, allocations: 3.131 MB / 4.117 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/10.89, allocations: 192.7 kB / 4.117 GB, free: 106 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/10.89, allocations: 0.9214 MB / 4.118 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003449/10.89, allocations: 33.05 kB / 4.118 GB, free: 105 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/10.89, allocations: 489.6 kB / 4.118 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004514/10.9, allocations: 315.2 kB / 4.119 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/10.9, allocations: 4 kB / 4.119 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/10.9, allocations: 341.9 kB / 4.119 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/10.9, allocations: 381.9 kB / 4.119 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/10.9, allocations: 0.5974 MB / 4.12 GB, free: 102.9 MB / 0.8698 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00765/10.91, allocations: 1.416 MB / 4.121 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/10.91, allocations: 7.938 kB / 4.121 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007153/10.91, allocations: 1.613 MB / 4.123 GB, free: 99.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/10.91, allocations: 1.252 MB / 4.124 GB, free: 98.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/10.91, allocations: 7.062 kB / 4.124 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/10.91, allocations: 416.8 kB / 4.125 GB, free: 98.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/10.92, allocations: 180.1 kB / 4.125 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/10.93, allocations: 6.332 MB / 4.131 GB, free: 91.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/10.93, allocations: 127.9 kB / 4.131 GB, free: 91.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/10.93, allocations: 40.05 kB / 4.131 GB, free: 91.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/10.93, allocations: 4 kB / 4.131 GB, free: 91.11 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006432/10.94, allocations: 1.411 MB / 4.133 GB, free: 89.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/10.94, allocations: 4 kB / 4.133 GB, free: 89.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/10.94, allocations: 415 kB / 4.133 GB, free: 89.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/10.94, allocations: 178.7 kB / 4.133 GB, free: 89.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/10.95, allocations: 7.182 MB / 4.14 GB, free: 81.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/10.95, allocations: 135.8 kB / 4.14 GB, free: 81.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/10.95, allocations: 40.05 kB / 4.14 GB, free: 81.3 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004978/10.95, allocations: 162.4 kB / 4.14 GB, free: 81.12 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/10.96, allocations: 154.1 kB / 4.141 GB, free: 80.97 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006141/10.96, allocations: 1.417 MB / 4.142 GB, free: 79.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/10.96, allocations: 12 kB / 4.142 GB, free: 79.53 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/10.96, allocations: 0 / 4.142 GB, free: 79.53 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005411/10.97, allocations: 1.291 MB / 4.143 GB, free: 78.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/10.98, allocations: 3.111 MB / 4.146 GB, free: 75.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/10.98, allocations: 4 kB / 4.146 GB, free: 75.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/10.98, allocations: 200.2 kB / 4.147 GB, free: 74.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007257/10.98, allocations: 181 kB / 4.147 GB, free: 74.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/10.98, allocations: 19.98 kB / 4.147 GB, free: 74.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/10.98, allocations: 2.401 MB / 4.149 GB, free: 72.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/10.98, allocations: 11.88 kB / 4.149 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007239/10.99, allocations: 2.367 MB / 4.151 GB, free: 69.51 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/10.99, allocations: 360.4 kB / 4.152 GB, free: 69.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004323/10.99, allocations: 12 kB / 4.152 GB, free: 69.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/11, allocations: 131.7 kB / 4.152 GB, free: 69 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/11, allocations: 60.48 kB / 4.152 GB, free: 68.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/11, allocations: 43.92 kB / 4.152 GB, free: 68.89 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001504/11, allocations: 0.707 MB / 4.153 GB, free: 68.19 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005966/11, allocations: 0.9184 MB / 4.154 GB, free: 67.27 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004532/11.01, allocations: 2.636 MB / 4.156 GB, free: 64.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005311/11.01, allocations: 2.389 MB / 4.158 GB, free: 62.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/11.01, allocations: 0 / 4.158 GB, free: 62.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/11.02, allocations: 0.6588 MB / 4.159 GB, free: 61.67 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006699/11.02, allocations: 0.7021 MB / 4.16 GB, free: 61 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/11.03, allocations: 2.64 MB / 4.162 GB, free: 58.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/11.03, allocations: 1.494 MB / 4.164 GB, free: 56.77 MB / 0.8698 GB Notification: Performance of SimCode: time 1.733e-06/11.03, allocations: 0 / 4.164 GB, free: 56.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.1597/11.19, allocations: 50.22 MB / 4.213 GB, free: 7.133 MB / 0.8698 GB