Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.366/1.366, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001113/0.001113, allocations: 189.3 kB / 361.1 MB, free: 7.113 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.164/1.164, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009024/0.0009023, allocations: 93.5 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2088/0.2098, allocations: 121.4 MB / 0.8512 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.7363, allocations: 115.3 MB / 0.9638 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7462/1.483, allocations: 423 MB / 1.377 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.483, allocations: 91.89 kB / 1.377 GB, free: 143.9 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.103/4.586, allocations: 1.045 GB / 2.422 GB, free: 101.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/4.586, allocations: 11.06 kB / 2.422 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009066/4.595, allocations: 1.301 MB / 2.424 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006667/4.602, allocations: 3.327 MB / 2.427 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/4.602, allocations: 169.1 kB / 2.427 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004216/4.603, allocations: 142.9 kB / 2.427 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003693/4.606, allocations: 1.969 MB / 2.429 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00391/4.61, allocations: 2.468 MB / 2.431 GB, free: 100.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.496e-05/4.61, allocations: 6.562 kB / 2.431 GB, free: 100.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/4.611, allocations: 10.44 kB / 2.431 GB, free: 100.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.744e-05/4.611, allocations: 73.72 kB / 2.432 GB, free: 100.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/4.629, allocations: 13.76 MB / 2.445 GB, free: 94.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/4.631, allocations: 1.063 MB / 2.446 GB, free: 94.04 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007853/4.632, allocations: 0.5956 MB / 2.447 GB, free: 94.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/4.633, allocations: 1.774 MB / 2.448 GB, free: 92.06 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/4.634, allocations: 0.9077 MB / 2.449 GB, free: 91.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 4.539e-06/4.634, allocations: 3.328 kB / 2.449 GB, free: 91.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.005563/4.64, allocations: 1.684 MB / 2.451 GB, free: 91.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/4.64, allocations: 0.9356 MB / 2.452 GB, free: 90.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/4.643, allocations: 1.854 MB / 2.454 GB, free: 90.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003348/4.643, allocations: 38.42 kB / 2.454 GB, free: 90.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007613/4.644, allocations: 0.9874 MB / 2.455 GB, free: 89.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/4.644, allocations: 399.3 kB / 2.455 GB, free: 89.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/4.644, allocations: 0 / 2.455 GB, free: 89.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/4.645, allocations: 369.7 kB / 2.455 GB, free: 89.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009575/4.646, allocations: 0.5981 MB / 2.456 GB, free: 89.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/4.647, allocations: 1.2 MB / 2.457 GB, free: 88.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/4.649, allocations: 0.8183 MB / 2.458 GB, free: 88.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/4.649, allocations: 3.938 kB / 2.458 GB, free: 88.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004631/4.654, allocations: 2.123 MB / 2.46 GB, free: 88.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007914/4.654, allocations: 4.906 MB / 2.465 GB, free: 82.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/4.654, allocations: 11.75 kB / 2.465 GB, free: 82.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/4.656, allocations: 0.5247 MB / 2.465 GB, free: 82.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/4.658, allocations: 0.5085 MB / 2.466 GB, free: 82.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/4.66, allocations: 1.802 MB / 2.468 GB, free: 81.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005249/4.666, allocations: 465.6 kB / 2.468 GB, free: 81.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/4.666, allocations: 102.1 kB / 2.468 GB, free: 81.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/4.666, allocations: 7.75 kB / 2.468 GB, free: 81.79 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003948/4.67, allocations: 1.833 MB / 2.47 GB, free: 81.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/4.67, allocations: 13.5 kB / 2.47 GB, free: 81.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/4.671, allocations: 0.5311 MB / 2.47 GB, free: 81.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/4.673, allocations: 496.3 kB / 2.471 GB, free: 81.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/4.675, allocations: 1.796 MB / 2.473 GB, free: 80.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/4.679, allocations: 384.2 kB / 2.473 GB, free: 80.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/4.68, allocations: 109.6 kB / 2.473 GB, free: 80.6 MB / 0.948 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.0004666/4.68, allocations: 164.7 kB / 2.473 GB, free: 80.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004258/4.68, allocations: 247.2 kB / 2.473 GB, free: 80.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/4.686, allocations: 1.716 MB / 2.475 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/4.686, allocations: 20.3 kB / 2.475 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/4.686, allocations: 2.875 kB / 2.475 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004348/4.69, allocations: 1.516 MB / 2.477 GB, free: 79.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/4.701, allocations: 6.12 MB / 2.483 GB, free: 78.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/4.701, allocations: 7.875 kB / 2.483 GB, free: 78.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/4.703, allocations: 301.5 kB / 2.483 GB, free: 78.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/4.704, allocations: 0.5194 MB / 2.483 GB, free: 77.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/4.704, allocations: 33.94 kB / 2.483 GB, free: 77.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/4.706, allocations: 1.794 MB / 2.485 GB, free: 76.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/4.706, allocations: 8.656 kB / 2.485 GB, free: 76.94 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005332/4.712, allocations: 3.158 MB / 2.488 GB, free: 75.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006323/4.718, allocations: 4.398 MB / 2.493 GB, free: 74.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/4.72, allocations: 0.6277 MB / 2.493 GB, free: 73.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005223/4.72, allocations: 11.25 kB / 2.493 GB, free: 73.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003121/4.723, allocations: 275.7 kB / 2.493 GB, free: 73.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/4.723, allocations: 97.88 kB / 2.494 GB, free: 73.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/4.723, allocations: 75.72 kB / 2.494 GB, free: 73.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001911/4.725, allocations: 1.385 MB / 2.495 GB, free: 73.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008281/4.734, allocations: 2.342 MB / 2.497 GB, free: 73.37 MB / 0.948 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.002735/4.736, allocations: 1.499 MB / 2.499 GB, free: 72.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004314/4.741, allocations: 2.519 MB / 2.501 GB, free: 72.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/4.741, allocations: 7.625 kB / 2.501 GB, free: 72.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/4.742, allocations: 0.7428 MB / 2.502 GB, free: 72.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005235/4.747, allocations: 1.041 MB / 2.503 GB, free: 72.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/4.758, allocations: 4.087 MB / 2.507 GB, free: 71.72 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/4.76, allocations: 2.04 MB / 2.509 GB, free: 70.98 MB / 0.948 GB Notification: Performance of SimCode: time 1.133e-06/4.76, allocations: 0 / 2.509 GB, free: 70.98 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)