Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 193.3 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 0.6256 GB, free: 7.473 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008739/0.000874, allocations: 94.36 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2932/0.2941, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/1.005, allocations: 116.3 MB / 0.9726 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/2.02, allocations: 424 MB / 1.387 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/2.021, allocations: 84.33 kB / 1.387 GB, free: 128.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 3.967/5.988, allocations: 1.045 GB / 2.432 GB, free: 108 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/5.988, allocations: 7.344 kB / 2.432 GB, free: 108 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/5.998, allocations: 1.307 MB / 2.433 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009429/6.008, allocations: 3.329 MB / 2.437 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/6.008, allocations: 164.4 kB / 2.437 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008435/6.009, allocations: 139.9 kB / 2.437 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005219/6.014, allocations: 1.975 MB / 2.439 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006451/6.021, allocations: 2.467 MB / 2.441 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-05/6.021, allocations: 9.938 kB / 2.441 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/6.021, allocations: 3.844 kB / 2.441 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.568e-05/6.021, allocations: 71.23 kB / 2.441 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/6.043, allocations: 13.77 MB / 2.455 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/6.045, allocations: 1.064 MB / 2.456 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/6.046, allocations: 0.5981 MB / 2.456 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/6.047, allocations: 1.778 MB / 2.458 GB, free: 98.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/6.049, allocations: 0.9137 MB / 2.459 GB, free: 97.95 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.757e-06/6.049, allocations: 3.031 kB / 2.459 GB, free: 97.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=118): time 0.006439/6.055, allocations: 1.678 MB / 2.461 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/6.055, allocations: 0.9312 MB / 2.462 GB, free: 96.62 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/6.059, allocations: 1.858 MB / 2.463 GB, free: 96.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003635/6.059, allocations: 36.23 kB / 2.463 GB, free: 96.37 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009598/6.06, allocations: 0.9752 MB / 2.464 GB, free: 95.81 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005367/6.061, allocations: 398 kB / 2.465 GB, free: 95.55 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/6.061, allocations: 3.406 kB / 2.465 GB, free: 95.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001281/6.061, allocations: 371.7 kB / 2.465 GB, free: 95.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/6.062, allocations: 0.6035 MB / 2.466 GB, free: 95.24 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/6.063, allocations: 1.194 MB / 2.467 GB, free: 94.58 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/6.066, allocations: 0.817 MB / 2.468 GB, free: 94.57 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/6.066, allocations: 3.594 kB / 2.468 GB, free: 94.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005503/6.071, allocations: 2.13 MB / 2.47 GB, free: 94.37 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001144/6.072, allocations: 4.902 MB / 2.475 GB, free: 89.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/6.072, allocations: 16.75 kB / 2.475 GB, free: 89.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/6.074, allocations: 0.5292 MB / 2.475 GB, free: 89.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/6.077, allocations: 0.5082 MB / 2.476 GB, free: 89.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/6.079, allocations: 1.798 MB / 2.477 GB, free: 88.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005844/6.085, allocations: 462.4 kB / 2.478 GB, free: 87.97 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003331/6.085, allocations: 107.7 kB / 2.478 GB, free: 87.97 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/6.085, allocations: 5.594 kB / 2.478 GB, free: 87.97 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004441/6.09, allocations: 1.835 MB / 2.48 GB, free: 87.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/6.09, allocations: 11.94 kB / 2.48 GB, free: 87.92 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/6.091, allocations: 0.5273 MB / 2.48 GB, free: 87.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/6.094, allocations: 494.8 kB / 2.481 GB, free: 87.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/6.096, allocations: 1.8 MB / 2.482 GB, free: 86.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005169/6.101, allocations: 385.7 kB / 2.483 GB, free: 86.78 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/6.102, allocations: 104.2 kB / 2.483 GB, free: 86.78 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000623/6.102, allocations: 154.2 kB / 2.483 GB, free: 86.67 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007716/6.103, allocations: 251.6 kB / 2.483 GB, free: 86.55 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006513/6.11, allocations: 1.711 MB / 2.485 GB, free: 86.44 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/6.11, allocations: 19.91 kB / 2.485 GB, free: 86.44 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/6.11, allocations: 3.656 kB / 2.485 GB, free: 86.44 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004824/6.115, allocations: 1.524 MB / 2.486 GB, free: 86.15 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/6.128, allocations: 6.118 MB / 2.492 GB, free: 84.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/6.129, allocations: 6.781 kB / 2.492 GB, free: 84.21 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/6.13, allocations: 303 kB / 2.493 GB, free: 84.21 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/6.132, allocations: 0.5259 MB / 2.493 GB, free: 84.18 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/6.132, allocations: 30.64 kB / 2.493 GB, free: 84.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/6.134, allocations: 1.783 MB / 2.495 GB, free: 83.14 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/6.134, allocations: 22.83 kB / 2.495 GB, free: 83.13 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006687/6.141, allocations: 3.158 MB / 2.498 GB, free: 81.89 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007904/6.149, allocations: 4.395 MB / 2.502 GB, free: 80.28 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/6.151, allocations: 0.6261 MB / 2.503 GB, free: 80.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/6.153, allocations: 17.05 kB / 2.503 GB, free: 80.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004312/6.157, allocations: 265 kB / 2.503 GB, free: 80.04 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/6.157, allocations: 100.4 kB / 2.503 GB, free: 80.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/6.158, allocations: 72.5 kB / 2.503 GB, free: 80.04 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003567/6.161, allocations: 1.389 MB / 2.505 GB, free: 79.89 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01138/6.173, allocations: 2.346 MB / 2.507 GB, free: 79.57 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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 (84): * Single equations (assignments): 78 * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.004163/6.177, allocations: 1.494 MB / 2.509 GB, free: 79.16 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00629/6.183, allocations: 2.518 MB / 2.511 GB, free: 79.05 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/6.183, allocations: 8.562 kB / 2.511 GB, free: 79.05 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/6.185, allocations: 0.7463 MB / 2.512 GB, free: 79.03 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007565/6.193, allocations: 1.047 MB / 2.513 GB, free: 79 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/6.207, allocations: 4.076 MB / 2.517 GB, free: 77.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003403/6.211, allocations: 2.048 MB / 2.519 GB, free: 77.16 MB / 0.9636 GB Notification: Performance of SimCode: time 1.863e-06/6.211, allocations: 0 / 2.519 GB, free: 77.16 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)