Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001357/0.001357, allocations: 173.3 kB / 366.3 MB, free: 1.988 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.516/1.516, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0009215/0.0009216, allocations: 90.59 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.231e-05/1.233e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7098, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.817, allocations: 422.7 MB / 1.385 GB, free: 62.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.817, allocations: 93.23 kB / 1.385 GB, free: 62.19 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.658/3.475, allocations: 0.5475 GB / 1.933 GB, free: 13.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001489/3.476, allocations: 47.92 kB / 1.933 GB, free: 13.36 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.003732/3.479, allocations: 1.84 MB / 1.935 GB, free: 11.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/3.479, allocations: 12.03 kB / 1.935 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004806/3.484, allocations: 0.7042 MB / 1.936 GB, free: 10.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/3.488, allocations: 1.782 MB / 1.937 GB, free: 8.902 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/3.488, allocations: 84.02 kB / 1.937 GB, free: 8.812 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/3.488, allocations: 75.91 kB / 1.937 GB, free: 8.738 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002026/3.49, allocations: 1.039 MB / 1.938 GB, free: 7.695 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/3.492, allocations: 1.279 MB / 1.94 GB, free: 6.324 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/3.492, allocations: 7.875 kB / 1.94 GB, free: 6.316 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/3.492, allocations: 4 kB / 1.94 GB, free: 6.312 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/3.492, allocations: 32 kB / 1.94 GB, free: 6.281 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4915/3.984, allocations: 7.103 MB / 1.947 GB, free: 246.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/3.985, allocations: 0.491 MB / 1.947 GB, free: 246.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004623/3.985, allocations: 328.4 kB / 1.947 GB, free: 246.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/3.986, allocations: 1.269 MB / 1.949 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/3.986, allocations: 42.53 kB / 1.949 GB, free: 245 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 4.218e-06/3.986, allocations: 1.969 kB / 1.949 GB, free: 245 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.01029/3.997, allocations: 1.457 MB / 1.95 GB, free: 245 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/3.997, allocations: 117.5 kB / 1.95 GB, free: 244.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/3.998, allocations: 0.9722 MB / 1.951 GB, free: 244.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002727/3.999, allocations: 29.86 kB / 1.951 GB, free: 244.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/3.999, allocations: 0.5289 MB / 1.952 GB, free: 244.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/3.999, allocations: 213.2 kB / 1.952 GB, free: 244.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/3.999, allocations: 0 / 1.952 GB, free: 244.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.058e-05/4, allocations: 346 kB / 1.952 GB, free: 244.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/4, allocations: 318 kB / 1.953 GB, free: 244.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/4.001, allocations: 0.5794 MB / 1.953 GB, free: 243.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/4.002, allocations: 428.3 kB / 1.954 GB, free: 243.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/4.002, allocations: 0 / 1.954 GB, free: 243.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01034/4.012, allocations: 1.7 MB / 1.955 GB, free: 243.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006074/4.013, allocations: 2.444 MB / 1.958 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/4.013, allocations: 7.469 kB / 1.958 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000883/4.014, allocations: 362.8 kB / 1.958 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/4.016, allocations: 262.8 kB / 1.958 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/4.017, allocations: 0.9644 MB / 1.959 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/4.02, allocations: 248.8 kB / 1.959 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/4.02, allocations: 48.64 kB / 1.959 GB, free: 240.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/4.02, allocations: 2.469 kB / 1.959 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01004/4.03, allocations: 1.552 MB / 1.961 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/4.03, allocations: 6.906 kB / 1.961 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007668/4.031, allocations: 364.5 kB / 1.961 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/4.032, allocations: 257.5 kB / 1.962 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/4.034, allocations: 0.9718 MB / 1.963 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/4.036, allocations: 197.8 kB / 1.963 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/4.036, allocations: 51.48 kB / 1.963 GB, free: 240 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 (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.0003796/4.037, allocations: 131.7 kB / 1.963 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/4.037, allocations: 123.6 kB / 1.963 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/4.04, allocations: 0.9407 MB / 1.964 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/4.04, allocations: 11.5 kB / 1.964 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/4.04, allocations: 0 / 1.964 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/4.041, allocations: 0.8226 MB / 1.965 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/4.046, allocations: 2.525 MB / 1.967 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/4.046, allocations: 6.562 kB / 1.967 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009966/4.047, allocations: 158.2 kB / 1.967 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007579/4.048, allocations: 357.8 kB / 1.968 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/4.048, allocations: 28.17 kB / 1.968 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/4.049, allocations: 0.9536 MB / 1.969 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/4.049, allocations: 3.938 kB / 1.969 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002561/4.052, allocations: 1.677 MB / 1.97 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007081/4.052, allocations: 374.6 kB / 1.971 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/4.053, allocations: 3.969 kB / 1.971 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/4.054, allocations: 133.2 kB / 1.971 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/4.054, allocations: 57.11 kB / 1.971 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/4.055, allocations: 45.48 kB / 1.971 GB, free: 237.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001129/4.056, allocations: 0.7367 MB / 1.972 GB, free: 237.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003302/4.059, allocations: 0.9806 MB / 1.973 GB, free: 237.7 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: 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.001857/4.061, allocations: 0.9008 MB / 1.973 GB, free: 237.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002531/4.063, allocations: 1.286 MB / 1.975 GB, free: 237.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/4.063, allocations: 0 / 1.975 GB, free: 237.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/4.064, allocations: 375 kB / 1.975 GB, free: 237.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/4.067, allocations: 0.5591 MB / 1.976 GB, free: 237.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/4.072, allocations: 2.007 MB / 1.978 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/4.073, allocations: 1.383 MB / 1.979 GB, free: 236.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.31e-07/4.073, allocations: 0 / 1.979 GB, free: 236.2 MB / 0.948 GB Notification: Performance of Templates: time 0.06445/4.137, allocations: 39.89 MB / 2.018 GB, free: 235.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)