Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.548/2.548, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001631/0.001631, allocations: 177.3 kB / 360.4 MB, free: 7.48 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.813/1.813, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001222/0.001222, allocations: 91.42 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.112e-05, allocations: 4 kB / 0.8502 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6194/0.6194, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.701, allocations: 421.6 MB / 1.374 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.701, allocations: 91.16 kB / 1.375 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.375/4.075, allocations: 0.5475 GB / 1.922 GB, free: 42.91 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002257/4.076, allocations: 43.98 kB / 1.922 GB, free: 42.86 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.005888/4.082, allocations: 1.833 MB / 1.924 GB, free: 40.97 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/4.082, allocations: 11.97 kB / 1.924 GB, free: 40.96 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009847/4.092, allocations: 0.7121 MB / 1.925 GB, free: 40.24 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/4.098, allocations: 1.789 MB / 1.926 GB, free: 38.39 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/4.098, allocations: 84.02 kB / 1.926 GB, free: 38.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/4.098, allocations: 75.91 kB / 1.927 GB, free: 38.23 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003533/4.102, allocations: 1.036 MB / 1.928 GB, free: 37.19 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/4.106, allocations: 1.284 MB / 1.929 GB, free: 35.82 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/4.106, allocations: 3.938 kB / 1.929 GB, free: 35.81 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/4.106, allocations: 4 kB / 1.929 GB, free: 35.81 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/4.106, allocations: 36 kB / 1.929 GB, free: 35.77 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/4.123, allocations: 7.097 MB / 1.936 GB, free: 28.38 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/4.125, allocations: 0.5048 MB / 1.936 GB, free: 27.87 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/4.125, allocations: 338.6 kB / 1.937 GB, free: 27.54 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/4.127, allocations: 1.263 MB / 1.938 GB, free: 26 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/4.127, allocations: 47.22 kB / 1.938 GB, free: 25.95 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.898e-06/4.127, allocations: 0 / 1.938 GB, free: 25.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.02059/4.148, allocations: 1.452 MB / 1.939 GB, free: 24.48 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/4.148, allocations: 119.4 kB / 1.939 GB, free: 24.34 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/4.15, allocations: 0.9705 MB / 1.94 GB, free: 23.36 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002995/4.151, allocations: 29.7 kB / 1.94 GB, free: 23.32 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005686/4.151, allocations: 0.5258 MB / 1.941 GB, free: 22.79 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/4.152, allocations: 228.6 kB / 1.941 GB, free: 22.56 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/4.152, allocations: 0 / 1.941 GB, free: 22.56 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/4.152, allocations: 337.9 kB / 1.941 GB, free: 22.23 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/4.153, allocations: 317.9 kB / 1.942 GB, free: 21.91 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/4.154, allocations: 0.5831 MB / 1.942 GB, free: 21.22 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/4.156, allocations: 417.3 kB / 1.943 GB, free: 20.81 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/4.156, allocations: 4 kB / 1.943 GB, free: 20.81 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.02091/4.177, allocations: 1.702 MB / 1.944 GB, free: 19.09 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005147/4.178, allocations: 2.451 MB / 1.947 GB, free: 16.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/4.178, allocations: 8 kB / 1.947 GB, free: 16.46 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/4.179, allocations: 365.9 kB / 1.947 GB, free: 16.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/4.182, allocations: 263.6 kB / 1.947 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/4.185, allocations: 0.9637 MB / 1.948 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/4.189, allocations: 239 kB / 1.949 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/4.19, allocations: 56.06 kB / 1.949 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/4.19, allocations: 6.812 kB / 1.949 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02001/4.21, allocations: 1.545 MB / 1.95 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/4.21, allocations: 8 kB / 1.95 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/4.211, allocations: 355.4 kB / 1.95 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/4.214, allocations: 259.6 kB / 1.951 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/4.216, allocations: 0.9623 MB / 1.952 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00425/4.221, allocations: 203.2 kB / 1.952 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/4.221, allocations: 51.94 kB / 1.952 GB, free: 11.16 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 (86): * Single equations (assignments): 85 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004093/4.221, allocations: 136.7 kB / 1.952 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004479/4.222, allocations: 126.5 kB / 1.952 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/4.226, allocations: 0.9302 MB / 1.953 GB, free: 9.945 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/4.226, allocations: 8 kB / 1.953 GB, free: 9.938 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/4.226, allocations: 0 / 1.953 GB, free: 9.938 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002772/4.228, allocations: 0.8237 MB / 1.954 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008826/4.237, allocations: 2.542 MB / 1.956 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/4.237, allocations: 7.984 kB / 1.956 GB, free: 6.434 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/4.239, allocations: 160.2 kB / 1.957 GB, free: 6.277 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/4.241, allocations: 355.5 kB / 1.957 GB, free: 5.93 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/4.241, allocations: 19.97 kB / 1.957 GB, free: 5.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/4.243, allocations: 0.9588 MB / 1.958 GB, free: 4.926 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/4.243, allocations: 11.94 kB / 1.958 GB, free: 4.914 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004564/4.248, allocations: 1.67 MB / 1.959 GB, free: 3.102 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/4.249, allocations: 375.2 kB / 1.96 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/4.249, allocations: 11.98 kB / 1.96 GB, free: 2.703 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003646/4.253, allocations: 127.8 kB / 1.96 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/4.253, allocations: 56.27 kB / 1.96 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/4.254, allocations: 43.95 kB / 1.96 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001713/4.255, allocations: 0.7368 MB / 1.961 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004629/4.26, allocations: 0.978 MB / 1.962 GB, free: 0.7578 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: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.3663/4.626, allocations: 0.8851 MB / 1.963 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004248/4.631, allocations: 1.291 MB / 1.964 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/4.631, allocations: 0 / 1.964 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/4.632, allocations: 367.8 kB / 1.964 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00549/4.637, allocations: 0.5567 MB / 1.965 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/4.646, allocations: 2.002 MB / 1.967 GB, free: 250.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/4.648, allocations: 1.384 MB / 1.968 GB, free: 250 MB / 0.9323 GB Notification: Performance of SimCode: time 1.703e-06/4.648, allocations: 0 / 1.968 GB, free: 250 MB / 0.9323 GB Notification: Performance of Templates: time 0.09618/4.744, allocations: 39.88 MB / 2.007 GB, free: 249.3 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)