Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001295/0.001295, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.539/1.539, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0009598/0.0009598, allocations: 92.59 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.364e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.804/0.804, allocations: 116.3 MB / 0.9726 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.839, allocations: 422.8 MB / 1.385 GB, free: 65.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.839, allocations: 93.8 kB / 1.385 GB, free: 65.84 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.738/3.577, allocations: 0.5476 GB / 1.933 GB, free: 19.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000279/3.578, allocations: 36 kB / 1.933 GB, free: 19.28 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.005881/3.584, allocations: 1.86 MB / 1.935 GB, free: 17.36 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/3.584, allocations: 12.03 kB / 1.935 GB, free: 17.35 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006018/3.59, allocations: 0.7081 MB / 1.936 GB, free: 16.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006489/3.596, allocations: 1.786 MB / 1.937 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/3.597, allocations: 84.02 kB / 1.938 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005978/3.597, allocations: 72 kB / 1.938 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003248/3.6, allocations: 1.036 MB / 1.939 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/3.604, allocations: 1.289 MB / 1.94 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/3.604, allocations: 4 kB / 1.94 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/3.604, allocations: 0 / 1.94 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/3.604, allocations: 43.92 kB / 1.94 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/3.616, allocations: 7.393 MB / 1.947 GB, free: 4.441 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/3.618, allocations: 0.5483 MB / 1.948 GB, free: 3.875 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/3.618, allocations: 334.7 kB / 1.948 GB, free: 3.547 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/3.619, allocations: 1.267 MB / 1.949 GB, free: 2.004 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/3.619, allocations: 43.22 kB / 1.949 GB, free: 1.953 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 3.767e-06/3.619, allocations: 0 / 1.949 GB, free: 1.953 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.002709/3.622, allocations: 0.8586 MB / 1.95 GB, free: 1.082 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/3.622, allocations: 115.4 kB / 1.95 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5035/4.126, allocations: 0.9599 MB / 1.951 GB, free: 246.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003548/4.126, allocations: 33.86 kB / 1.951 GB, free: 246.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/4.127, allocations: 0.5259 MB / 1.952 GB, free: 246.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/4.127, allocations: 218.4 kB / 1.952 GB, free: 246.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/4.127, allocations: 0 / 1.952 GB, free: 246.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001018/4.127, allocations: 336.7 kB / 1.952 GB, free: 246.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/4.128, allocations: 305 kB / 1.953 GB, free: 246.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/4.129, allocations: 0.5839 MB / 1.953 GB, free: 245.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/4.13, allocations: 421 kB / 1.953 GB, free: 245.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/4.13, allocations: 0 / 1.953 GB, free: 245.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002686/4.133, allocations: 1.118 MB / 1.955 GB, free: 245.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005744/4.133, allocations: 2.456 MB / 1.957 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/4.133, allocations: 6.875 kB / 1.957 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/4.134, allocations: 447 kB / 1.957 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/4.136, allocations: 249 kB / 1.958 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/4.137, allocations: 1.156 MB / 1.959 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/4.14, allocations: 240.2 kB / 1.959 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/4.14, allocations: 59.3 kB / 1.959 GB, free: 242.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/4.14, allocations: 6.406 kB / 1.959 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002321/4.143, allocations: 0.9694 MB / 1.96 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/4.143, allocations: 7.656 kB / 1.96 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009561/4.144, allocations: 448.9 kB / 1.96 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/4.145, allocations: 249.1 kB / 1.961 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/4.147, allocations: 1.161 MB / 1.962 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/4.149, allocations: 199.1 kB / 1.962 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/4.149, allocations: 54.05 kB / 1.962 GB, free: 242 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 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003881/4.15, allocations: 127.1 kB / 1.962 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/4.15, allocations: 128.6 kB / 1.962 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/4.154, allocations: 1.055 MB / 1.963 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/4.154, allocations: 9.75 kB / 1.963 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/4.154, allocations: 0 / 1.963 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003429/4.158, allocations: 0.9433 MB / 1.964 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007397/4.165, allocations: 2.96 MB / 1.967 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/4.165, allocations: 3.562 kB / 1.967 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009995/4.166, allocations: 159 kB / 1.967 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009652/4.167, allocations: 438.5 kB / 1.968 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/4.167, allocations: 17.58 kB / 1.968 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/4.169, allocations: 1.149 MB / 1.969 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/4.169, allocations: 5.625 kB / 1.969 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002567/4.172, allocations: 1.288 MB / 1.97 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/4.173, allocations: 371.7 kB / 1.97 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/4.173, allocations: 9.359 kB / 1.97 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/4.175, allocations: 138.3 kB / 1.971 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/4.175, allocations: 50.95 kB / 1.971 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/4.176, allocations: 41.31 kB / 1.971 GB, free: 239.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001524/4.177, allocations: 0.7383 MB / 1.971 GB, free: 239.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004331/4.181, allocations: 0.9802 MB / 1.972 GB, free: 239.3 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002431/4.184, allocations: 0.8931 MB / 1.973 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002945/4.187, allocations: 1.297 MB / 1.975 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/4.187, allocations: 3.688 kB / 1.975 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007466/4.188, allocations: 375.6 kB / 1.975 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/4.191, allocations: 0.571 MB / 1.975 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005906/4.197, allocations: 1.845 MB / 1.977 GB, free: 238.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/4.199, allocations: 1.368 MB / 1.979 GB, free: 237.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/4.199, allocations: 0 / 1.979 GB, free: 237.8 MB / 0.948 GB Notification: Performance of Templates: time 0.0652/4.264, allocations: 40.54 MB / 2.018 GB, free: 237.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)