Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") [: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 8.0.0/package.mo): time 2.268/2.268, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 185.3 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 101.7 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.223e-05/1.238e-05, allocations: 4 kB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7427, allocations: 115.2 MB / 0.9628 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.268/2.011, allocations: 423 MB / 1.376 GB, free: 246.3 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/2.012, allocations: 89.44 kB / 1.376 GB, free: 246.3 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.973/6.985, allocations: 1.043 GB / 2.419 GB, free: 141.9 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0005868/6.985, allocations: 85.91 kB / 2.419 GB, free: 141.9 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01341/6.999, allocations: 3.226 MB / 2.422 GB, free: 139.3 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/6.999, allocations: 12.03 kB / 2.423 GB, free: 139.3 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/7.017, allocations: 1.306 MB / 2.424 GB, free: 138 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/7.029, allocations: 3.324 MB / 2.427 GB, free: 134.7 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/7.029, allocations: 168 kB / 2.427 GB, free: 134.5 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000808/7.03, allocations: 139.4 kB / 2.427 GB, free: 134.4 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007628/7.037, allocations: 2.008 MB / 2.429 GB, free: 132.4 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008553/7.046, allocations: 2.497 MB / 2.432 GB, free: 129.7 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.861e-05/7.046, allocations: 7.938 kB / 2.432 GB, free: 129.7 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005154/7.047, allocations: 10.59 kB / 2.432 GB, free: 129.7 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.532e-05/7.047, allocations: 71.98 kB / 2.432 GB, free: 129.6 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04829/7.095, allocations: 13.96 MB / 2.445 GB, free: 115.3 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/7.098, allocations: 1.083 MB / 2.446 GB, free: 114.2 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/7.1, allocations: 0.5733 MB / 2.447 GB, free: 113.7 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002404/7.102, allocations: 1.782 MB / 2.449 GB, free: 111.5 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002317/7.105, allocations: 0.9049 MB / 2.45 GB, free: 110.5 MB / 1.104 GB Notification: Performance of pre-optimization done (n=118): time 4.258e-06/7.105, allocations: 1.203 kB / 2.45 GB, free: 110.5 MB / 1.104 GB Notification: Performance of matching and sorting (n=122): time 0.03443/7.139, allocations: 10.03 MB / 2.459 GB, free: 100.3 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002686/7.139, allocations: 0.9344 MB / 2.46 GB, free: 99.14 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/7.145, allocations: 1.836 MB / 2.462 GB, free: 97.29 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0005705/7.145, allocations: 33.7 kB / 2.462 GB, free: 97.25 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/7.147, allocations: 0.9965 MB / 2.463 GB, free: 96.23 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007988/7.147, allocations: 406 kB / 2.464 GB, free: 95.83 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/7.148, allocations: 0 / 2.464 GB, free: 95.83 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001377/7.148, allocations: 369.9 kB / 2.464 GB, free: 95.46 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/7.15, allocations: 0.578 MB / 2.464 GB, free: 94.88 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/7.153, allocations: 1.2 MB / 2.466 GB, free: 93.43 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/7.157, allocations: 0.8035 MB / 2.466 GB, free: 92.64 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/7.157, allocations: 4 kB / 2.466 GB, free: 92.64 MB / 1.104 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00918/7.166, allocations: 2.192 MB / 2.469 GB, free: 90.45 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.001105/7.167, allocations: 5.081 MB / 2.474 GB, free: 84.88 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.926e-05/7.167, allocations: 15.94 kB / 2.474 GB, free: 84.87 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002999/7.17, allocations: 0.7181 MB / 2.474 GB, free: 84.18 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/7.176, allocations: 472.2 kB / 2.475 GB, free: 83.73 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/7.183, allocations: 2.367 MB / 2.477 GB, free: 81.32 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00965/7.192, allocations: 386 kB / 2.477 GB, free: 80.98 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00077/7.193, allocations: 111.3 kB / 2.478 GB, free: 80.87 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/7.193, allocations: 4 kB / 2.478 GB, free: 80.87 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008055/7.201, allocations: 1.896 MB / 2.479 GB, free: 78.98 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.195e-05/7.201, allocations: 12 kB / 2.479 GB, free: 78.96 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/7.204, allocations: 0.7204 MB / 2.48 GB, free: 78.27 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005264/7.209, allocations: 449.9 kB / 2.481 GB, free: 77.84 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00676/7.216, allocations: 2.357 MB / 2.483 GB, free: 75.45 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008419/7.225, allocations: 326.7 kB / 2.483 GB, free: 75.15 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007246/7.226, allocations: 103.9 kB / 2.483 GB, free: 75.05 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * 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 {5 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008184/7.226, allocations: 162.5 kB / 2.483 GB, free: 74.89 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/7.227, allocations: 245.1 kB / 2.484 GB, free: 74.64 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009979/7.237, allocations: 1.702 MB / 2.485 GB, free: 72.96 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/7.238, allocations: 16 kB / 2.485 GB, free: 72.95 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/7.238, allocations: 6.469 kB / 2.485 GB, free: 72.94 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007771/7.245, allocations: 1.518 MB / 2.487 GB, free: 71.38 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/7.267, allocations: 6.016 MB / 2.493 GB, free: 65.23 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/7.267, allocations: 4 kB / 2.493 GB, free: 65.23 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003761/7.271, allocations: 293.1 kB / 2.493 GB, free: 64.95 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/7.274, allocations: 0.598 MB / 2.494 GB, free: 64.38 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003535/7.274, allocations: 35.94 kB / 2.494 GB, free: 64.34 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/7.28, allocations: 2.106 MB / 2.496 GB, free: 62.2 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/7.28, allocations: 15.03 kB / 2.496 GB, free: 62.19 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01067/7.291, allocations: 3.164 MB / 2.499 GB, free: 58.77 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/7.294, allocations: 0.6033 MB / 2.499 GB, free: 58.15 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00142/7.295, allocations: 19.94 kB / 2.499 GB, free: 58.13 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00725/7.303, allocations: 259 kB / 2.5 GB, free: 57.89 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004783/7.303, allocations: 105.5 kB / 2.5 GB, free: 57.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003418/7.303, allocations: 71.86 kB / 2.5 GB, free: 57.73 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.003955/7.307, allocations: 1.375 MB / 2.501 GB, free: 56.34 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01046/7.318, allocations: 1.562 MB / 2.503 GB, free: 54.78 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 2 {2 17,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004389/7.322, allocations: 1.486 MB / 2.504 GB, free: 53.44 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01144/7.334, allocations: 2.76 MB / 2.507 GB, free: 50.67 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/7.334, allocations: 4.719 kB / 2.507 GB, free: 50.66 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004305/7.338, allocations: 0.8538 MB / 2.508 GB, free: 49.81 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/7.349, allocations: 1.057 MB / 2.509 GB, free: 48.78 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/7.369, allocations: 3.964 MB / 2.512 GB, free: 44.71 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003838/7.373, allocations: 2.051 MB / 2.514 GB, free: 42.63 MB / 1.104 GB Notification: Performance of SimCode: time 1.673e-06/7.373, allocations: 0 / 2.514 GB, free: 42.63 MB / 1.104 GB Notification: Performance of Templates: time 0.1958/7.569, allocations: 75.18 MB / 2.588 GB, free: 444 kB / 1.135 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)