Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.9226/0.9226, allocations: 141.8 MB / 149.1 MB, free: 10.12 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 177.7 kB / 181.9 MB, free: 7.023 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.4 MB / 436 MB, free: 15.08 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 93.88 kB / 0.507 GB, free: 8.281 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001936/0.001936, allocations: 288.3 kB / 0.5885 GB, free: 5.074 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/7.975e-06, allocations: 1.719 kB / 0.6759 GB, free: 166.8 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1953, allocations: 82.79 MB / 0.7567 GB, free: 114.1 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8018/0.9972, allocations: 393.6 MB / 1.141 GB, free: 13.71 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.9975, allocations: 91.7 kB / 1.141 GB, free: 13.67 MB / 0.7138 GB Notification: Performance of FrontEnd: time 1.992/2.99, allocations: 0.5581 GB / 1.699 GB, free: 27.73 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.000246/2.99, allocations: 43.98 kB / 1.699 GB, free: 27.69 MB / 0.7138 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.005617/2.996, allocations: 1.847 MB / 1.701 GB, free: 25.78 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/2.996, allocations: 8.031 kB / 1.701 GB, free: 25.77 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005659/3.001, allocations: 0.7081 MB / 1.702 GB, free: 25.06 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/3.006, allocations: 1.793 MB / 1.704 GB, free: 23.21 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/3.006, allocations: 80 kB / 1.704 GB, free: 23.12 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/3.006, allocations: 76 kB / 1.704 GB, free: 23.05 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001919/3.008, allocations: 1.035 MB / 1.705 GB, free: 22.01 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/3.01, allocations: 1.291 MB / 1.706 GB, free: 20.63 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/3.01, allocations: 11.94 kB / 1.706 GB, free: 20.62 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/3.01, allocations: 0 / 1.706 GB, free: 20.62 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/3.01, allocations: 58.08 kB / 1.706 GB, free: 20.56 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/3.021, allocations: 7.096 MB / 1.713 GB, free: 13.18 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007603/3.022, allocations: 0.5036 MB / 1.714 GB, free: 12.66 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/3.022, allocations: 329.8 kB / 1.714 GB, free: 12.34 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/3.023, allocations: 1.271 MB / 1.715 GB, free: 10.8 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/3.023, allocations: 43.16 kB / 1.715 GB, free: 10.75 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=64): time 3.367e-06/3.023, allocations: 0 / 1.715 GB, free: 10.75 MB / 0.7138 GB Notification: Performance of matching and sorting (n=64): time 0.01019/3.033, allocations: 1.452 MB / 1.717 GB, free: 9.285 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/3.034, allocations: 119.5 kB / 1.717 GB, free: 9.145 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/3.035, allocations: 0.9667 MB / 1.718 GB, free: 8.168 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/3.035, allocations: 29.7 kB / 1.718 GB, free: 8.133 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/3.036, allocations: 0.5296 MB / 1.718 GB, free: 7.594 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/3.036, allocations: 216.8 kB / 1.718 GB, free: 7.379 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/3.036, allocations: 0 / 1.718 GB, free: 7.379 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/3.036, allocations: 337.9 kB / 1.719 GB, free: 7.043 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004963/3.036, allocations: 317.9 kB / 1.719 GB, free: 6.734 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/3.037, allocations: 0.5868 MB / 1.72 GB, free: 6.027 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/3.038, allocations: 426.7 kB / 1.72 GB, free: 5.609 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/3.038, allocations: 8 kB / 1.72 GB, free: 5.602 MB / 0.7138 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01024/3.049, allocations: 1.702 MB / 1.722 GB, free: 3.887 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006815/3.049, allocations: 2.445 MB / 1.724 GB, free: 1.266 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/3.049, allocations: 12 kB / 1.724 GB, free: 1.254 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008564/3.05, allocations: 357.9 kB / 1.724 GB, free: 0.9023 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/3.052, allocations: 259.6 kB / 1.725 GB, free: 0.6484 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3487/3.4, allocations: 0.9605 MB / 1.726 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/3.404, allocations: 238.5 kB / 1.726 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/3.404, allocations: 58.86 kB / 1.726 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/3.404, allocations: 8 kB / 1.726 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01023/3.414, allocations: 1.544 MB / 1.727 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/3.414, allocations: 3.781 kB / 1.727 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007976/3.415, allocations: 370.8 kB / 1.728 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/3.417, allocations: 259.8 kB / 1.728 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/3.418, allocations: 0.9649 MB / 1.729 GB, free: 150 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/3.42, allocations: 201.2 kB / 1.729 GB, free: 150 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/3.421, allocations: 53.73 kB / 1.729 GB, free: 150 MB / 0.7138 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.0003848/3.421, allocations: 127.5 kB / 1.729 GB, free: 149.9 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/3.421, allocations: 122.7 kB / 1.729 GB, free: 149.9 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/3.424, allocations: 0.9363 MB / 1.73 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/3.424, allocations: 10.78 kB / 1.73 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/3.424, allocations: 2.625 kB / 1.73 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001503/3.425, allocations: 0.8222 MB / 1.731 GB, free: 149.6 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005217/3.431, allocations: 2.537 MB / 1.734 GB, free: 149.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/3.431, allocations: 3.125 kB / 1.734 GB, free: 149.2 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/3.432, allocations: 157.4 kB / 1.734 GB, free: 149.2 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007874/3.432, allocations: 366.8 kB / 1.734 GB, free: 149.2 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/3.433, allocations: 16.69 kB / 1.734 GB, free: 149.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/3.434, allocations: 0.9616 MB / 1.735 GB, free: 148.7 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/3.434, allocations: 6 kB / 1.735 GB, free: 148.7 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002685/3.436, allocations: 1.672 MB / 1.737 GB, free: 148.1 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000758/3.437, allocations: 374.5 kB / 1.737 GB, free: 148 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/3.437, allocations: 5.938 kB / 1.737 GB, free: 148 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/3.439, allocations: 138.5 kB / 1.737 GB, free: 148 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/3.439, allocations: 48.75 kB / 1.737 GB, free: 148 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/3.439, allocations: 46.12 kB / 1.737 GB, free: 148 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001112/3.44, allocations: 0.7355 MB / 1.738 GB, free: 147.9 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003448/3.444, allocations: 0.9824 MB / 1.739 GB, free: 147.8 MB / 0.7138 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.002042/3.446, allocations: 0.9039 MB / 1.74 GB, free: 147.7 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002457/3.448, allocations: 1.285 MB / 1.741 GB, free: 147.6 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/3.448, allocations: 0 / 1.741 GB, free: 147.6 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0006383/3.449, allocations: 368.6 kB / 1.741 GB, free: 147.6 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/3.452, allocations: 0.554 MB / 1.742 GB, free: 147.6 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/3.457, allocations: 2.01 MB / 1.744 GB, free: 147 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/3.458, allocations: 1.383 MB / 1.745 GB, free: 146.3 MB / 0.7138 GB Notification: Performance of SimCode: time 1.683e-06/3.458, allocations: 0 / 1.745 GB, free: 146.3 MB / 0.7138 GB Notification: Performance of Templates: time 0.06667/3.525, allocations: 39.94 MB / 1.784 GB, free: 145.5 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)