Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.384/1.384, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001025/0.001025, allocations: 185.2 kB / 361.1 MB, free: 7.078 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.099/1.099, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.000773/0.0007731, allocations: 93.08 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1932/0.194, allocations: 121.4 MB / 0.8511 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.6874, allocations: 115.3 MB / 0.9638 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7427/1.43, allocations: 422 MB / 1.376 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/1.43, allocations: 94.31 kB / 1.376 GB, free: 144.8 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 1.397/2.828, allocations: 0.5498 GB / 1.926 GB, free: 37.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/2.828, allocations: 8.5 kB / 1.926 GB, free: 37.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004727/2.833, allocations: 0.6652 MB / 1.926 GB, free: 36.53 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/2.837, allocations: 1.793 MB / 1.928 GB, free: 34.71 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/2.837, allocations: 84.02 kB / 1.928 GB, free: 34.62 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/2.837, allocations: 75.91 kB / 1.928 GB, free: 34.54 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002178/2.839, allocations: 1.02 MB / 1.929 GB, free: 33.52 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/2.842, allocations: 1.275 MB / 1.931 GB, free: 32.15 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/2.842, allocations: 3.938 kB / 1.931 GB, free: 32.15 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/2.842, allocations: 4 kB / 1.931 GB, free: 32.14 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/2.842, allocations: 36 kB / 1.931 GB, free: 32.11 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/2.853, allocations: 7.081 MB / 1.938 GB, free: 24.76 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007557/2.853, allocations: 492.7 kB / 1.938 GB, free: 24.27 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/2.854, allocations: 322.7 kB / 1.938 GB, free: 23.95 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/2.855, allocations: 1.267 MB / 1.94 GB, free: 22.41 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006411/2.856, allocations: 0.497 MB / 1.94 GB, free: 21.85 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 2.965e-06/2.856, allocations: 0 / 1.94 GB, free: 21.85 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.002086/2.858, allocations: 0.8275 MB / 1.941 GB, free: 21.01 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/2.858, allocations: 483.4 kB / 1.941 GB, free: 20.43 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/2.859, allocations: 0.9874 MB / 1.942 GB, free: 19.43 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/2.859, allocations: 37.64 kB / 1.942 GB, free: 19.39 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/2.86, allocations: 0.5259 MB / 1.943 GB, free: 18.85 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/2.86, allocations: 212.9 kB / 1.943 GB, free: 18.64 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/2.86, allocations: 0 / 1.943 GB, free: 18.64 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/2.86, allocations: 345.8 kB / 1.943 GB, free: 18.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/2.861, allocations: 317.9 kB / 1.944 GB, free: 17.98 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/2.861, allocations: 0.6099 MB / 1.944 GB, free: 17.25 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/2.862, allocations: 429.3 kB / 1.945 GB, free: 16.83 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/2.862, allocations: 0 / 1.945 GB, free: 16.83 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003923/2.866, allocations: 1.186 MB / 1.946 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004146/2.867, allocations: 2.451 MB / 1.948 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/2.867, allocations: 8 kB / 1.948 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/2.867, allocations: 272.7 kB / 1.948 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/2.869, allocations: 271.6 kB / 1.949 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/2.87, allocations: 0.9069 MB / 1.95 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/2.873, allocations: 258.9 kB / 1.95 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/2.873, allocations: 59.94 kB / 1.95 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/2.873, allocations: 4 kB / 1.95 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003732/2.877, allocations: 1.026 MB / 1.951 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/2.877, allocations: 8 kB / 1.951 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/2.877, allocations: 269.2 kB / 1.951 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/2.879, allocations: 267.6 kB / 1.951 GB, free: 9.652 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/2.88, allocations: 0.9116 MB / 1.952 GB, free: 8.715 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/2.882, allocations: 203.3 kB / 1.953 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/2.882, allocations: 51.95 kB / 1.953 GB, free: 8.461 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (90): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003207/2.883, allocations: 140.7 kB / 1.953 GB, free: 8.316 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/2.883, allocations: 130.4 kB / 1.953 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/2.886, allocations: 0.9268 MB / 1.954 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/2.886, allocations: 8 kB / 1.954 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/2.886, allocations: 7.906 kB / 1.954 GB, free: 7.23 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002419/2.889, allocations: 0.8202 MB / 1.955 GB, free: 6.379 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005963/2.895, allocations: 3.101 MB / 1.958 GB, free: 3.176 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/2.895, allocations: 8.031 kB / 1.958 GB, free: 3.168 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/2.896, allocations: 171.7 kB / 1.958 GB, free: 3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005598/2.896, allocations: 271.8 kB / 1.958 GB, free: 2.734 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/2.896, allocations: 23.97 kB / 1.958 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009883/2.897, allocations: 0.8884 MB / 1.959 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/2.898, allocations: 8.109 kB / 1.959 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3446/3.242, allocations: 1.753 MB / 1.961 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004741/3.247, allocations: 2.596 MB / 1.963 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/3.248, allocations: 370.6 kB / 1.963 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/3.248, allocations: 11.28 kB / 1.964 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/3.25, allocations: 141.3 kB / 1.964 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/3.25, allocations: 61.09 kB / 1.964 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-05/3.25, allocations: 37.92 kB / 1.964 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001107/3.252, allocations: 0.7481 MB / 1.964 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00454/3.256, allocations: 1.259 MB / 1.966 GB, free: 243.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001741/3.258, allocations: 0.8982 MB / 1.967 GB, free: 243 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002228/3.26, allocations: 1.339 MB / 1.968 GB, free: 243 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/3.26, allocations: 2.312 kB / 1.968 GB, free: 243 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/3.261, allocations: 399.4 kB / 1.968 GB, free: 243 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/3.263, allocations: 0.5553 MB / 1.969 GB, free: 243 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/3.269, allocations: 2.128 MB / 1.971 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009413/3.269, allocations: 1.394 MB / 1.972 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of SimCode: time 4.41e-07/3.269, allocations: 0 / 1.972 GB, free: 241.6 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)