Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.351/2.351, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 181.2 kB / 360.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.1 MB / 0.6188 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 85.59 kB / 0.7318 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.216e-06/8.235e-06, allocations: 0 / 0.8502 GB, free: 4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6545/0.6546, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9862/1.641, allocations: 421.8 MB / 1.375 GB, free: 142 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.641, allocations: 91.83 kB / 1.375 GB, free: 142 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.362/4.003, allocations: 0.5479 GB / 1.923 GB, free: 69 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002598/4.004, allocations: 47.92 kB / 1.923 GB, free: 68.95 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006284/4.01, allocations: 1.907 MB / 1.925 GB, free: 66.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/4.01, allocations: 12.53 kB / 1.925 GB, free: 66.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008777/4.019, allocations: 0.6612 MB / 1.925 GB, free: 66.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005959/4.025, allocations: 1.786 MB / 1.927 GB, free: 64.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/4.025, allocations: 84.02 kB / 1.927 GB, free: 64.37 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/4.026, allocations: 75.91 kB / 1.927 GB, free: 64.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003676/4.029, allocations: 1.028 MB / 1.928 GB, free: 63.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004076/4.033, allocations: 1.271 MB / 1.929 GB, free: 61.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.304e-05/4.034, allocations: 7.922 kB / 1.929 GB, free: 61.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/4.034, allocations: 4 kB / 1.929 GB, free: 61.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/4.034, allocations: 39.98 kB / 1.929 GB, free: 61.85 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/4.052, allocations: 7.075 MB / 1.936 GB, free: 54.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/4.054, allocations: 496.7 kB / 1.937 GB, free: 53.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008113/4.055, allocations: 318.6 kB / 1.937 GB, free: 53.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/4.056, allocations: 1.274 MB / 1.938 GB, free: 52.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/4.057, allocations: 0.4931 MB / 1.939 GB, free: 51.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 4.077e-06/4.057, allocations: 3.938 kB / 1.939 GB, free: 51.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.003551/4.061, allocations: 0.8315 MB / 1.94 GB, free: 50.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/4.061, allocations: 479.4 kB / 1.94 GB, free: 50.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/4.064, allocations: 0.9874 MB / 1.941 GB, free: 49.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000284/4.064, allocations: 29.7 kB / 1.941 GB, free: 49.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/4.065, allocations: 0.5337 MB / 1.942 GB, free: 48.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/4.065, allocations: 220.8 kB / 1.942 GB, free: 48.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/4.065, allocations: 0 / 1.942 GB, free: 48.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/4.065, allocations: 337.9 kB / 1.942 GB, free: 48.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009845/4.066, allocations: 317.9 kB / 1.942 GB, free: 47.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/4.067, allocations: 0.6138 MB / 1.943 GB, free: 46.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/4.069, allocations: 429.4 kB / 1.943 GB, free: 46.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/4.07, allocations: 4 kB / 1.943 GB, free: 46.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.007452/4.077, allocations: 1.175 MB / 1.945 GB, free: 45.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005156/4.078, allocations: 2.461 MB / 1.947 GB, free: 42.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/4.078, allocations: 4 kB / 1.947 GB, free: 42.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/4.079, allocations: 275 kB / 1.947 GB, free: 42.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/4.082, allocations: 271.6 kB / 1.948 GB, free: 42.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/4.084, allocations: 0.8992 MB / 1.948 GB, free: 41.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004891/4.089, allocations: 255 kB / 1.949 GB, free: 41.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/4.089, allocations: 51.95 kB / 1.949 GB, free: 40.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/4.089, allocations: 4 kB / 1.949 GB, free: 40.95 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006726/4.096, allocations: 1.026 MB / 1.95 GB, free: 39.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/4.096, allocations: 4.25 kB / 1.95 GB, free: 39.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/4.097, allocations: 276.2 kB / 1.95 GB, free: 39.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/4.1, allocations: 275.6 kB / 1.95 GB, free: 39.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/4.102, allocations: 0.9077 MB / 1.951 GB, free: 38.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/4.106, allocations: 207.2 kB / 1.951 GB, free: 38.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/4.106, allocations: 63.94 kB / 1.951 GB, free: 38.18 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: 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.0004021/4.107, allocations: 136.7 kB / 1.952 GB, free: 38.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004267/4.107, allocations: 130.4 kB / 1.952 GB, free: 37.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005432/4.113, allocations: 0.923 MB / 1.953 GB, free: 36.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/4.113, allocations: 12 kB / 1.953 GB, free: 36.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/4.113, allocations: 7.891 kB / 1.953 GB, free: 36.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004562/4.117, allocations: 0.8241 MB / 1.953 GB, free: 36.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009943/4.127, allocations: 3.101 MB / 1.956 GB, free: 32.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/4.127, allocations: 7.984 kB / 1.956 GB, free: 32.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/4.13, allocations: 163.9 kB / 1.957 GB, free: 32.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/4.131, allocations: 264.9 kB / 1.957 GB, free: 32.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/4.131, allocations: 23.97 kB / 1.957 GB, free: 32.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/4.133, allocations: 0.8948 MB / 1.958 GB, free: 31.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/4.133, allocations: 8 kB / 1.958 GB, free: 31.51 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006765/4.14, allocations: 1.758 MB / 1.959 GB, free: 29.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/4.142, allocations: 375.1 kB / 1.96 GB, free: 29.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005074/4.142, allocations: 15.98 kB / 1.96 GB, free: 29.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00369/4.146, allocations: 147.8 kB / 1.96 GB, free: 29.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/4.146, allocations: 56.27 kB / 1.96 GB, free: 29.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/4.146, allocations: 43.95 kB / 1.96 GB, free: 28.97 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001919/4.148, allocations: 0.7454 MB / 1.961 GB, free: 28.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004561/4.153, allocations: 0.9897 MB / 1.962 GB, free: 27.23 MB / 0.948 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.002507/4.155, allocations: 0.8893 MB / 1.963 GB, free: 26.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004031/4.159, allocations: 1.34 MB / 1.964 GB, free: 24.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/4.159, allocations: 4 kB / 1.964 GB, free: 24.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/4.161, allocations: 397.4 kB / 1.964 GB, free: 24.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005338/4.166, allocations: 0.5633 MB / 1.965 GB, free: 24.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/4.176, allocations: 2.114 MB / 1.967 GB, free: 21.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/4.178, allocations: 1.394 MB / 1.968 GB, free: 20.39 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/4.178, allocations: 4 kB / 1.968 GB, free: 20.39 MB / 0.948 GB Notification: Performance of Templates: time 0.4684/4.647, allocations: 40.19 MB / 2.008 GB, free: 260.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)