Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.387/1.387, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001021/0.001022, allocations: 177.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.167/1.167, 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.0008401/0.0008401, allocations: 88.52 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.218/0.2189, allocations: 121.4 MB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.7393, allocations: 115.3 MB / 0.9638 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7397/1.479, allocations: 421.4 MB / 1.375 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.479, allocations: 88.08 kB / 1.375 GB, free: 145.5 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 1.432/2.911, allocations: 0.5494 GB / 1.925 GB, free: 38.29 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/2.912, allocations: 8 kB / 1.925 GB, free: 38.28 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/2.916, allocations: 0.6573 MB / 1.925 GB, free: 37.62 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/2.92, allocations: 1.77 MB / 1.927 GB, free: 35.81 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/2.92, allocations: 84 kB / 1.927 GB, free: 35.72 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/2.92, allocations: 75.94 kB / 1.927 GB, free: 35.64 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001938/2.922, allocations: 1.004 MB / 1.928 GB, free: 34.64 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/2.924, allocations: 1.265 MB / 1.93 GB, free: 33.27 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/2.924, allocations: 3.938 kB / 1.93 GB, free: 33.27 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/2.924, allocations: 4 kB / 1.93 GB, free: 33.27 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/2.924, allocations: 39.98 kB / 1.93 GB, free: 33.23 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009317/2.934, allocations: 7.301 MB / 1.937 GB, free: 25.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/2.934, allocations: 0.5209 MB / 1.937 GB, free: 25.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/2.935, allocations: 309.4 kB / 1.937 GB, free: 24.77 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/2.936, allocations: 1.278 MB / 1.939 GB, free: 23.22 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/2.936, allocations: 51.22 kB / 1.939 GB, free: 23.16 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.587e-06/2.936, allocations: 0 / 1.939 GB, free: 23.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.001939/2.938, allocations: 0.8052 MB / 1.94 GB, free: 22.34 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/2.938, allocations: 111.5 kB / 1.94 GB, free: 22.21 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/2.939, allocations: 0.9628 MB / 1.941 GB, free: 21.23 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/2.939, allocations: 33.69 kB / 1.941 GB, free: 21.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/2.94, allocations: 0.5221 MB / 1.941 GB, free: 20.66 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/2.94, allocations: 216.8 kB / 1.941 GB, free: 20.45 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/2.94, allocations: 0 / 1.941 GB, free: 20.45 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/2.94, allocations: 334 kB / 1.942 GB, free: 20.12 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/2.941, allocations: 285.9 kB / 1.942 GB, free: 19.84 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/2.941, allocations: 0.5584 MB / 1.942 GB, free: 19.15 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/2.942, allocations: 401.3 kB / 1.943 GB, free: 18.76 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/2.942, allocations: 4 kB / 1.943 GB, free: 18.76 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002327/2.945, allocations: 1.078 MB / 1.944 GB, free: 17.67 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003918/2.945, allocations: 2.452 MB / 1.946 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/2.945, allocations: 4 kB / 1.946 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008432/2.946, allocations: 363.2 kB / 1.947 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/2.947, allocations: 251.6 kB / 1.947 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/2.949, allocations: 1.107 MB / 1.948 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/2.951, allocations: 231.2 kB / 1.948 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/2.951, allocations: 51.95 kB / 1.948 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/2.951, allocations: 4 kB / 1.948 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001985/2.953, allocations: 0.9244 MB / 1.949 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/2.953, allocations: 4 kB / 1.949 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/2.954, allocations: 361.5 kB / 1.95 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/2.955, allocations: 251.6 kB / 1.95 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/2.956, allocations: 1.092 MB / 1.951 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/2.958, allocations: 195.2 kB / 1.951 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/2.958, allocations: 59.88 kB / 1.951 GB, free: 10.12 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002376/2.959, allocations: 128.6 kB / 1.951 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/2.959, allocations: 122.5 kB / 1.951 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/2.961, allocations: 0.9108 MB / 1.952 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/2.961, allocations: 8 kB / 1.952 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/2.961, allocations: 0 / 1.952 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/2.962, allocations: 0.8197 MB / 1.953 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/2.967, allocations: 2.852 MB / 1.956 GB, free: 5.035 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/2.967, allocations: 448 / 1.956 GB, free: 5.035 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009651/2.968, allocations: 167.7 kB / 1.956 GB, free: 4.871 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007039/2.969, allocations: 348.9 kB / 1.956 GB, free: 4.527 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/2.969, allocations: 19.97 kB / 1.956 GB, free: 4.508 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/2.971, allocations: 1.205 MB / 1.957 GB, free: 3.277 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.971, allocations: 4.125 kB / 1.957 GB, free: 3.273 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00179/2.973, allocations: 1.234 MB / 1.959 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001947/2.975, allocations: 1.676 MB / 1.96 GB, free: 112 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3025/3.277, allocations: 365.4 kB / 1.961 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/3.278, allocations: 7.781 kB / 1.961 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/3.279, allocations: 132 kB / 1.961 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/3.28, allocations: 43.36 kB / 1.961 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.703e-05/3.28, allocations: 50.05 kB / 1.961 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009813/3.281, allocations: 0.7336 MB / 1.962 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004022/3.285, allocations: 1.247 MB / 1.963 GB, free: 244.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/3.286, allocations: 0.8689 MB / 1.964 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002283/3.289, allocations: 1.249 MB / 1.965 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/3.289, allocations: 2.406 kB / 1.965 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/3.29, allocations: 463.4 kB / 1.965 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/3.293, allocations: 0.5618 MB / 1.966 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/3.298, allocations: 1.947 MB / 1.968 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009424/3.299, allocations: 1.377 MB / 1.969 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.173e-06/3.299, allocations: 3.219 kB / 1.969 GB, free: 243.2 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)