Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.408/1.408, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009608/0.000961, allocations: 179.5 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.146/1.146, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007937/0.0007939, allocations: 94.17 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2057/0.2065, allocations: 121.4 MB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.7368, allocations: 115.3 MB / 0.9638 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7599/1.497, allocations: 423.1 MB / 1.377 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/1.497, allocations: 90 kB / 1.377 GB, free: 141.6 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 3.119/4.616, allocations: 1.047 GB / 2.424 GB, free: 101 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/4.616, allocations: 7.219 kB / 2.424 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009131/4.625, allocations: 1.304 MB / 2.425 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006938/4.632, allocations: 3.313 MB / 2.428 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/4.632, allocations: 168.1 kB / 2.428 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006822/4.633, allocations: 143.4 kB / 2.428 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004545/4.638, allocations: 2.003 MB / 2.43 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/4.642, allocations: 2.506 MB / 2.433 GB, free: 99.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-05/4.642, allocations: 10.09 kB / 2.433 GB, free: 99.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003799/4.643, allocations: 3.938 kB / 2.433 GB, free: 99.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/4.643, allocations: 74.92 kB / 2.433 GB, free: 99.65 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02142/4.664, allocations: 13.96 MB / 2.447 GB, free: 93.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/4.666, allocations: 1.088 MB / 2.448 GB, free: 92.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/4.667, allocations: 0.5737 MB / 2.448 GB, free: 92.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/4.668, allocations: 1.78 MB / 2.45 GB, free: 90.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/4.669, allocations: 0.9042 MB / 2.451 GB, free: 90.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 4.899e-06/4.669, allocations: 0 / 2.451 GB, free: 90.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.0219/4.691, allocations: 10.02 MB / 2.461 GB, free: 84.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/4.691, allocations: 0.9351 MB / 2.462 GB, free: 83.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/4.694, allocations: 1.837 MB / 2.463 GB, free: 83.31 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002818/4.694, allocations: 35.48 kB / 2.463 GB, free: 83.28 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007254/4.695, allocations: 0.9849 MB / 2.464 GB, free: 82.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/4.695, allocations: 412.1 kB / 2.465 GB, free: 82.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/4.696, allocations: 2.656 kB / 2.465 GB, free: 82.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/4.696, allocations: 369.6 kB / 2.465 GB, free: 82.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/4.697, allocations: 0.5824 MB / 2.466 GB, free: 82.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/4.698, allocations: 1.195 MB / 2.467 GB, free: 81.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/4.7, allocations: 0.8126 MB / 2.468 GB, free: 81.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.996e-06/4.7, allocations: 3.406 kB / 2.468 GB, free: 81.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004777/4.705, allocations: 2.183 MB / 2.47 GB, free: 81.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009726/4.706, allocations: 5.093 MB / 2.475 GB, free: 75.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/4.706, allocations: 14.31 kB / 2.475 GB, free: 75.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/4.708, allocations: 0.7172 MB / 2.475 GB, free: 75.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/4.71, allocations: 468.6 kB / 2.476 GB, free: 75.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/4.714, allocations: 2.366 MB / 2.478 GB, free: 74.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005038/4.719, allocations: 384 kB / 2.479 GB, free: 74.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/4.719, allocations: 114.1 kB / 2.479 GB, free: 74.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/4.719, allocations: 3.625 kB / 2.479 GB, free: 74.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004336/4.724, allocations: 1.888 MB / 2.48 GB, free: 74.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/4.724, allocations: 15.91 kB / 2.48 GB, free: 74.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/4.725, allocations: 0.7253 MB / 2.481 GB, free: 74.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/4.728, allocations: 453.6 kB / 2.482 GB, free: 74.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/4.731, allocations: 2.363 MB / 2.484 GB, free: 73.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/4.736, allocations: 316.3 kB / 2.484 GB, free: 73.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/4.736, allocations: 113.3 kB / 2.484 GB, free: 73.53 MB / 0.948 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.0005781/4.737, allocations: 155.8 kB / 2.485 GB, free: 73.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006949/4.737, allocations: 239.2 kB / 2.485 GB, free: 73.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/4.743, allocations: 1.713 MB / 2.486 GB, free: 73.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/4.743, allocations: 14.44 kB / 2.486 GB, free: 73.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/4.743, allocations: 7.875 kB / 2.486 GB, free: 73.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003788/4.746, allocations: 1.506 MB / 2.488 GB, free: 72.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/4.759, allocations: 6.019 MB / 2.494 GB, free: 71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/4.759, allocations: 6.188 kB / 2.494 GB, free: 71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/4.76, allocations: 289.6 kB / 2.494 GB, free: 71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/4.762, allocations: 0.6006 MB / 2.495 GB, free: 70.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/4.762, allocations: 39.83 kB / 2.495 GB, free: 70.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/4.765, allocations: 2.106 MB / 2.497 GB, free: 69.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/4.765, allocations: 11.25 kB / 2.497 GB, free: 69.91 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006069/4.771, allocations: 3.151 MB / 2.5 GB, free: 68.75 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00767/4.779, allocations: 4.407 MB / 2.504 GB, free: 67.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/4.781, allocations: 0.6086 MB / 2.505 GB, free: 66.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/4.782, allocations: 17.52 kB / 2.505 GB, free: 66.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004075/4.786, allocations: 266.4 kB / 2.505 GB, free: 66.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/4.786, allocations: 108.9 kB / 2.505 GB, free: 66.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/4.786, allocations: 73.03 kB / 2.505 GB, free: 66.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002863/4.789, allocations: 1.372 MB / 2.507 GB, free: 66.81 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008917/4.798, allocations: 2.093 MB / 2.509 GB, free: 66.69 MB / 0.948 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.003074/4.801, allocations: 1.482 MB / 2.51 GB, free: 66.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006079/4.807, allocations: 2.764 MB / 2.513 GB, free: 66.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/4.807, allocations: 4.438 kB / 2.513 GB, free: 66.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/4.81, allocations: 0.8507 MB / 2.514 GB, free: 66.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005928/4.816, allocations: 1.058 MB / 2.515 GB, free: 66.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/4.828, allocations: 3.96 MB / 2.518 GB, free: 65.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002576/4.831, allocations: 2.047 MB / 2.52 GB, free: 64.33 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/4.831, allocations: 0 / 2.52 GB, free: 64.33 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)