Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") [: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.11/2.11, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.001632/0.001632, allocations: 185.2 kB / 319.6 MB, free: 3.312 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.814/1.814, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001347/0.001347, allocations: 94.52 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.099e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2013, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.436/1.638, allocations: 447 MB / 1.325 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.638, allocations: 92.66 kB / 1.325 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.412/7.05, allocations: 1.136 GB / 2.46 GB, free: 120 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005313/7.051, allocations: 57.66 kB / 2.461 GB, free: 120 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.009893/7.061, allocations: 2.087 MB / 2.463 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/7.061, allocations: 9.844 kB / 2.463 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006322/7.067, allocations: 490 kB / 2.463 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/7.083, allocations: 2.332 MB / 2.465 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/7.084, allocations: 36.5 kB / 2.465 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005131/7.084, allocations: 73.55 kB / 2.465 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003068/7.087, allocations: 0.7814 MB / 2.466 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/7.091, allocations: 1.089 MB / 2.467 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/7.091, allocations: 1.25 kB / 2.467 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/7.091, allocations: 7.719 kB / 2.467 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/7.091, allocations: 31.47 kB / 2.467 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/7.108, allocations: 6.91 MB / 2.474 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/7.11, allocations: 0.6133 MB / 2.475 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009106/7.111, allocations: 325.5 kB / 2.475 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008187/7.119, allocations: 2.815 MB / 2.478 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009311/7.12, allocations: 338.4 kB / 2.478 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=64): time 4.809e-06/7.12, allocations: 2.156 kB / 2.478 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64): time 0.00456/7.125, allocations: 0.8397 MB / 2.479 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/7.125, allocations: 163.5 kB / 2.479 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004212/7.129, allocations: 1.25 MB / 2.48 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003445/7.129, allocations: 28.45 kB / 2.48 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/7.13, allocations: 0.5778 MB / 2.481 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005334/7.131, allocations: 219.9 kB / 2.481 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/7.131, allocations: 0 / 2.481 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001393/7.131, allocations: 345.4 kB / 2.481 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009354/7.132, allocations: 274.5 kB / 2.482 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/7.134, allocations: 0.7059 MB / 2.482 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/7.136, allocations: 0.5232 MB / 2.483 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/7.137, allocations: 8.188 kB / 2.483 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005555/7.142, allocations: 1.172 MB / 2.484 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001099/7.143, allocations: 4.503 MB / 2.488 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-05/7.143, allocations: 16.61 kB / 2.488 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.892e-05/7.143, allocations: 18 kB / 2.488 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/7.146, allocations: 253.7 kB / 2.489 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.094e-05/7.146, allocations: 28.3 kB / 2.489 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/7.149, allocations: 162.6 kB / 2.489 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003906/7.149, allocations: 55.73 kB / 2.489 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/7.149, allocations: 3.438 kB / 2.489 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004682/7.154, allocations: 0.9512 MB / 2.49 GB, free: 99.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.406e-05/7.154, allocations: 15.25 kB / 2.49 GB, free: 99.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/7.154, allocations: 21.78 kB / 2.49 GB, free: 99.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/7.156, allocations: 256.2 kB / 2.49 GB, free: 99.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-05/7.156, allocations: 29.41 kB / 2.49 GB, free: 99.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/7.159, allocations: 132.6 kB / 2.49 GB, free: 99.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/7.159, allocations: 57.8 kB / 2.49 GB, free: 99.73 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (125): * Single equations (assignments): 121 * 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.0004604/7.16, allocations: 147.3 kB / 2.49 GB, free: 99.59 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007014/7.161, allocations: 167 kB / 2.491 GB, free: 99.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005091/7.166, allocations: 1.107 MB / 2.492 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/7.166, allocations: 7.562 kB / 2.492 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/7.166, allocations: 0.9375 kB / 2.492 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003147/7.169, allocations: 0.8871 MB / 2.493 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008483/7.178, allocations: 2.105 MB / 2.495 GB, free: 97.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/7.178, allocations: 1.125 kB / 2.495 GB, free: 97.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/7.179, allocations: 147.3 kB / 2.495 GB, free: 96.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002712/7.18, allocations: 26.5 kB / 2.495 GB, free: 96.97 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/7.18, allocations: 20.23 kB / 2.495 GB, free: 96.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/7.181, allocations: 1.265 MB / 2.496 GB, free: 95.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/7.181, allocations: 1.281 kB / 2.496 GB, free: 95.67 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004945/7.186, allocations: 1.417 MB / 2.497 GB, free: 94.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/7.188, allocations: 346.3 kB / 2.498 GB, free: 94.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006803/7.188, allocations: 2.344 kB / 2.498 GB, free: 94.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/7.191, allocations: 78.33 kB / 2.498 GB, free: 94.55 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/7.191, allocations: 57.53 kB / 2.498 GB, free: 94.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/7.191, allocations: 27.39 kB / 2.498 GB, free: 94.51 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002803/7.194, allocations: 0.9322 MB / 2.499 GB, free: 94.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007036/7.201, allocations: 0.9967 MB / 2.5 GB, free: 93.77 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,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 (74): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003529/7.205, allocations: 1.216 MB / 2.501 GB, free: 93.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004234/7.209, allocations: 1.371 MB / 2.502 GB, free: 92.74 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/7.209, allocations: 4.781 kB / 2.502 GB, free: 92.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/7.21, allocations: 451.8 kB / 2.503 GB, free: 92.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005837/7.216, allocations: 0.6091 MB / 2.503 GB, free: 92.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009369/7.225, allocations: 2.364 MB / 2.506 GB, free: 90.94 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/7.228, allocations: 1.562 MB / 2.507 GB, free: 89.37 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/7.228, allocations: 0 / 2.507 GB, free: 89.37 MB / 0.8855 GB Notification: Performance of Templates: time 0.09755/7.325, allocations: 37.16 MB / 2.543 GB, free: 53.51 MB / 0.8855 GB