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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") [: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.55/1.55, 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.001505/0.001505, allocations: 175.4 kB / 361.1 MB, free: 7.145 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.645/1.645, allocations: 205.1 MB / 0.6195 GB, free: 10.36 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.0009321/0.0009321, allocations: 87.48 kB / 0.7326 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.003e-06, allocations: 0 / 0.8511 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6599, allocations: 115.3 MB / 0.9637 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.79/1.45, allocations: 422 MB / 1.376 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/1.45, allocations: 86.28 kB / 1.376 GB, free: 145 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.48/2.93, allocations: 0.5479 GB / 1.924 GB, free: 40.45 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002194/2.931, allocations: 40 kB / 1.924 GB, free: 40.41 MB / 0.9323 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 0.004899/2.936, allocations: 1.903 MB / 1.926 GB, free: 38.43 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/2.936, allocations: 16.53 kB / 1.926 GB, free: 38.42 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/2.941, allocations: 0.6651 MB / 1.926 GB, free: 37.75 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/2.945, allocations: 1.79 MB / 1.928 GB, free: 35.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/2.945, allocations: 84.02 kB / 1.928 GB, free: 35.81 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/2.945, allocations: 75.91 kB / 1.928 GB, free: 35.74 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00218/2.947, allocations: 1.02 MB / 1.929 GB, free: 34.71 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/2.95, allocations: 1.275 MB / 1.93 GB, free: 33.35 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/2.95, allocations: 7.984 kB / 1.93 GB, free: 33.34 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/2.95, allocations: 4 kB / 1.93 GB, free: 33.34 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/2.95, allocations: 35.94 kB / 1.93 GB, free: 33.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/2.96, allocations: 7.089 MB / 1.937 GB, free: 25.93 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007803/2.961, allocations: 488.7 kB / 1.938 GB, free: 25.44 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/2.961, allocations: 322.7 kB / 1.938 GB, free: 25.12 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/2.963, allocations: 1.271 MB / 1.939 GB, free: 23.57 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006595/2.963, allocations: 0.5048 MB / 1.94 GB, free: 23.01 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 3.416e-06/2.963, allocations: 4 kB / 1.94 GB, free: 23 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.002217/2.966, allocations: 0.8198 MB / 1.941 GB, free: 22.17 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/2.966, allocations: 483.3 kB / 1.941 GB, free: 21.59 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/2.967, allocations: 0.9874 MB / 1.942 GB, free: 20.59 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/2.967, allocations: 33.7 kB / 1.942 GB, free: 20.55 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/2.968, allocations: 0.5337 MB / 1.943 GB, free: 20.01 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/2.968, allocations: 212.9 kB / 1.943 GB, free: 19.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/2.968, allocations: 0 / 1.943 GB, free: 19.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/2.968, allocations: 345.8 kB / 1.943 GB, free: 19.45 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/2.968, allocations: 317.9 kB / 1.944 GB, free: 19.14 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/2.969, allocations: 0.6099 MB / 1.944 GB, free: 18.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/2.97, allocations: 429.2 kB / 1.945 GB, free: 17.98 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/2.97, allocations: 0 / 1.945 GB, free: 17.98 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003871/2.974, allocations: 1.186 MB / 1.946 GB, free: 16.79 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000372/2.975, allocations: 2.447 MB / 1.948 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/2.975, allocations: 8 kB / 1.948 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/2.975, allocations: 268.7 kB / 1.948 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/2.977, allocations: 275.6 kB / 1.949 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/2.978, allocations: 0.9031 MB / 1.95 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/2.98, allocations: 254.9 kB / 1.95 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/2.981, allocations: 59.94 kB / 1.95 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/2.981, allocations: 4 kB / 1.95 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003547/2.984, allocations: 1.014 MB / 1.951 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/2.984, allocations: 8 kB / 1.951 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/2.985, allocations: 269.3 kB / 1.951 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/2.986, allocations: 271.6 kB / 1.951 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009398/2.987, allocations: 0.908 MB / 1.952 GB, free: 9.895 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/2.99, allocations: 199.3 kB / 1.952 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/2.99, allocations: 67.92 kB / 1.952 GB, free: 9.633 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.0002988/2.99, allocations: 136.7 kB / 1.953 GB, free: 9.492 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/2.991, allocations: 134.4 kB / 1.953 GB, free: 9.359 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/2.994, allocations: 0.9307 MB / 1.954 GB, free: 8.414 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/2.994, allocations: 8 kB / 1.954 GB, free: 8.406 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/2.994, allocations: 7.906 kB / 1.954 GB, free: 8.398 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002334/2.996, allocations: 0.8163 MB / 1.954 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005992/3.002, allocations: 3.109 MB / 1.957 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/3.002, allocations: 4 kB / 1.957 GB, free: 4.336 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/3.003, allocations: 171.9 kB / 1.958 GB, free: 4.168 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005721/3.004, allocations: 267.8 kB / 1.958 GB, free: 3.906 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/3.004, allocations: 19.97 kB / 1.958 GB, free: 3.887 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009782/3.005, allocations: 0.8913 MB / 1.959 GB, free: 2.973 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/3.005, allocations: 7.938 kB / 1.959 GB, free: 2.965 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003425/3.008, allocations: 1.762 MB / 1.961 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006541/3.009, allocations: 371.2 kB / 1.961 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/3.009, allocations: 4 kB / 1.961 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/3.011, allocations: 147.8 kB / 1.961 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/3.011, allocations: 60.2 kB / 1.961 GB, free: 480 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.741e-05/3.011, allocations: 39.95 kB / 1.961 GB, free: 440 kB / 0.9323 GB Notification: Performance of sort global known variables: time 0.3207/3.332, allocations: 0.7522 MB / 1.962 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003462/3.335, allocations: 0.9878 MB / 1.963 GB, free: 245.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.001509/3.337, allocations: 0.8878 MB / 1.964 GB, free: 245.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002253/3.339, allocations: 1.349 MB / 1.965 GB, free: 245 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/3.339, allocations: 3.938 kB / 1.965 GB, free: 245 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/3.34, allocations: 393.7 kB / 1.965 GB, free: 245 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/3.342, allocations: 0.5546 MB / 1.966 GB, free: 245 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/3.348, allocations: 2.129 MB / 1.968 GB, free: 244.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/3.349, allocations: 1.4 MB / 1.969 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.022e-06/3.349, allocations: 0 / 1.969 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.05497/3.404, allocations: 40.2 MB / 2.009 GB, free: 243 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)