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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.618/1.618, 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.001352/0.001352, allocations: 181.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.425/1.425, allocations: 205.1 MB / 0.6195 GB, free: 10.13 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.000984/0.000984, allocations: 83.66 kB / 0.7325 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.754e-06, allocations: 0 / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.5168, allocations: 115.3 MB / 0.9637 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8193/1.336, allocations: 421.4 MB / 1.375 GB, free: 141 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/1.336, allocations: 90.72 kB / 1.375 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.682/3.019, allocations: 0.5475 GB / 1.923 GB, free: 67.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002945/3.019, allocations: 40 kB / 1.923 GB, free: 67.46 MB / 0.948 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 0.006562/3.026, allocations: 1.852 MB / 1.925 GB, free: 65.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/3.026, allocations: 8.531 kB / 1.925 GB, free: 65.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005868/3.031, allocations: 0.6651 MB / 1.925 GB, free: 64.87 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/3.037, allocations: 1.778 MB / 1.927 GB, free: 63.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/3.037, allocations: 80.02 kB / 1.927 GB, free: 62.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005269/3.038, allocations: 72 kB / 1.927 GB, free: 62.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003021/3.041, allocations: 1.008 MB / 1.928 GB, free: 61.87 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/3.044, allocations: 1.27 MB / 1.929 GB, free: 60.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/3.044, allocations: 3.938 kB / 1.929 GB, free: 60.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/3.044, allocations: 4 kB / 1.929 GB, free: 60.49 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/3.044, allocations: 32 kB / 1.929 GB, free: 60.46 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/3.058, allocations: 7.297 MB / 1.937 GB, free: 52.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/3.059, allocations: 0.5286 MB / 1.937 GB, free: 52.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/3.059, allocations: 303.6 kB / 1.937 GB, free: 52.01 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/3.061, allocations: 1.274 MB / 1.939 GB, free: 50.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/3.061, allocations: 47.16 kB / 1.939 GB, free: 50.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 3.637e-06/3.061, allocations: 0 / 1.939 GB, free: 50.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.002484/3.063, allocations: 0.8085 MB / 1.939 GB, free: 49.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/3.063, allocations: 107.5 kB / 1.94 GB, free: 49.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/3.065, allocations: 0.9627 MB / 1.941 GB, free: 48.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/3.065, allocations: 29.7 kB / 1.941 GB, free: 48.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/3.065, allocations: 0.5221 MB / 1.941 GB, free: 47.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/3.066, allocations: 212.8 kB / 1.941 GB, free: 47.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/3.066, allocations: 0 / 1.941 GB, free: 47.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/3.066, allocations: 337.9 kB / 1.942 GB, free: 47.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/3.066, allocations: 289.9 kB / 1.942 GB, free: 47.08 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/3.067, allocations: 0.5623 MB / 1.942 GB, free: 46.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/3.068, allocations: 401.4 kB / 1.943 GB, free: 46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/3.068, allocations: 4 kB / 1.943 GB, free: 46 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002723/3.071, allocations: 1.078 MB / 1.944 GB, free: 44.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004959/3.071, allocations: 2.449 MB / 1.946 GB, free: 42.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/3.071, allocations: 8 kB / 1.946 GB, free: 42.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009776/3.072, allocations: 363.2 kB / 1.947 GB, free: 41.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/3.074, allocations: 259.6 kB / 1.947 GB, free: 41.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/3.076, allocations: 1.099 MB / 1.948 GB, free: 40.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/3.078, allocations: 234.9 kB / 1.948 GB, free: 40.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/3.079, allocations: 52.2 kB / 1.948 GB, free: 40.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/3.079, allocations: 4 kB / 1.948 GB, free: 40.26 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00239/3.081, allocations: 0.9248 MB / 1.949 GB, free: 39.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/3.081, allocations: 4 kB / 1.949 GB, free: 39.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008859/3.082, allocations: 357 kB / 1.949 GB, free: 38.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/3.083, allocations: 255.6 kB / 1.95 GB, free: 38.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/3.085, allocations: 1.096 MB / 1.951 GB, free: 37.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/3.088, allocations: 191.2 kB / 1.951 GB, free: 37.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/3.088, allocations: 51.95 kB / 1.951 GB, free: 37.36 MB / 0.948 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.0003818/3.088, allocations: 131.5 kB / 1.951 GB, free: 37.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/3.088, allocations: 130.5 kB / 1.951 GB, free: 37.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/3.091, allocations: 0.9108 MB / 1.952 GB, free: 36.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/3.091, allocations: 7.938 kB / 1.952 GB, free: 36.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/3.091, allocations: 7.922 kB / 1.952 GB, free: 36.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00162/3.093, allocations: 0.812 MB / 1.953 GB, free: 35.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/3.099, allocations: 2.852 MB / 1.956 GB, free: 32.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/3.099, allocations: 4 kB / 1.956 GB, free: 32.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/3.1, allocations: 160.2 kB / 1.956 GB, free: 32.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008452/3.101, allocations: 356.9 kB / 1.956 GB, free: 31.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/3.101, allocations: 15.97 kB / 1.956 GB, free: 31.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/3.103, allocations: 1.209 MB / 1.957 GB, free: 30.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/3.103, allocations: 8 kB / 1.957 GB, free: 30.51 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002234/3.106, allocations: 1.219 MB / 1.959 GB, free: 29.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009802/3.107, allocations: 367.2 kB / 1.959 GB, free: 28.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/3.107, allocations: 19.92 kB / 1.959 GB, free: 28.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/3.109, allocations: 131.8 kB / 1.959 GB, free: 28.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/3.109, allocations: 48.31 kB / 1.959 GB, free: 28.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/3.11, allocations: 39.95 kB / 1.959 GB, free: 28.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001422/3.111, allocations: 0.7368 MB / 1.96 GB, free: 27.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004472/3.115, allocations: 0.9819 MB / 1.961 GB, free: 26.82 MB / 0.948 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.002311/3.118, allocations: 0.8823 MB / 1.962 GB, free: 25.92 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002697/3.12, allocations: 1.249 MB / 1.963 GB, free: 24.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/3.121, allocations: 0 / 1.963 GB, free: 24.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/3.122, allocations: 465.7 kB / 1.963 GB, free: 24.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/3.125, allocations: 0.5613 MB / 1.964 GB, free: 23.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/3.131, allocations: 1.937 MB / 1.966 GB, free: 21.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/3.132, allocations: 1.371 MB / 1.967 GB, free: 20.24 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/3.132, allocations: 0 / 1.967 GB, free: 20.24 MB / 0.948 GB Notification: Performance of Templates: time 0.55/3.682, allocations: 39.18 MB / 2.005 GB, free: 259.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)