Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7821/0.7821, allocations: 141.8 MB / 149.1 MB, free: 4.555 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 185 kB / 181.9 MB, free: 216 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.3 MB / 436 MB, free: 9.328 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 94.25 kB / 0.507 GB, free: 24.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001835/0.001835, allocations: 285.1 kB / 0.5885 GB, free: 12.35 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.113e-06/7.143e-06, allocations: 0 / 0.6759 GB, free: 2.703 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5288, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8214/1.35, allocations: 393.6 MB / 1.141 GB, free: 2.398 MB / 0.6669 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/1.351, allocations: 94.19 kB / 1.141 GB, free: 2.352 MB / 0.6669 GB Notification: Performance of FrontEnd: time 2.036/3.387, allocations: 0.5583 GB / 1.7 GB, free: 3.754 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0002511/3.387, allocations: 43.98 kB / 1.7 GB, free: 3.711 MB / 0.6982 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.006112/3.393, allocations: 1.874 MB / 1.701 GB, free: 1.773 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/3.393, allocations: 8.031 kB / 1.701 GB, free: 1.766 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005779/3.399, allocations: 0.7081 MB / 1.702 GB, free: 1.055 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005463/3.405, allocations: 1.782 MB / 1.704 GB, free: 15.21 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/3.405, allocations: 84 kB / 1.704 GB, free: 15.12 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/3.405, allocations: 76 kB / 1.704 GB, free: 15.05 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003116/3.408, allocations: 1.039 MB / 1.705 GB, free: 14 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003588/3.412, allocations: 1.293 MB / 1.706 GB, free: 12.61 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/3.412, allocations: 11.94 kB / 1.706 GB, free: 12.6 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/3.412, allocations: 4 kB / 1.706 GB, free: 12.6 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.533e-05/3.412, allocations: 54.08 kB / 1.706 GB, free: 12.54 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/3.427, allocations: 7.38 MB / 1.714 GB, free: 4.828 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/3.428, allocations: 0.55 MB / 1.714 GB, free: 4.266 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/3.429, allocations: 326.8 kB / 1.714 GB, free: 3.945 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/3.431, allocations: 1.275 MB / 1.716 GB, free: 2.391 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/3.431, allocations: 43.97 kB / 1.716 GB, free: 2.34 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=66): time 3.427e-06/3.431, allocations: 0 / 1.716 GB, free: 2.34 MB / 0.7138 GB Notification: Performance of matching and sorting (n=66): time 0.002947/3.434, allocations: 0.8706 MB / 1.717 GB, free: 1.461 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/3.434, allocations: 115.5 kB / 1.717 GB, free: 1.32 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/3.436, allocations: 0.9588 MB / 1.718 GB, free: 360 kB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/3.436, allocations: 29.7 kB / 1.718 GB, free: 324 kB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.3486/3.785, allocations: 0.5217 MB / 1.718 GB, free: 157.4 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/3.785, allocations: 222.2 kB / 1.718 GB, free: 157.4 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/3.785, allocations: 0 / 1.718 GB, free: 157.4 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/3.785, allocations: 343.2 kB / 1.719 GB, free: 157.1 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/3.786, allocations: 298.7 kB / 1.719 GB, free: 157.1 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/3.787, allocations: 0.583 MB / 1.719 GB, free: 156.8 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/3.788, allocations: 413 kB / 1.72 GB, free: 156.8 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/3.788, allocations: 0 / 1.72 GB, free: 156.8 MB / 0.7138 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002723/3.791, allocations: 1.124 MB / 1.721 GB, free: 156.6 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006299/3.791, allocations: 2.459 MB / 1.723 GB, free: 154.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/3.791, allocations: 3.844 kB / 1.723 GB, free: 154.1 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/3.792, allocations: 441.6 kB / 1.724 GB, free: 154.1 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/3.794, allocations: 250.7 kB / 1.724 GB, free: 154.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/3.796, allocations: 1.157 MB / 1.725 GB, free: 153.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/3.798, allocations: 234.2 kB / 1.725 GB, free: 153.5 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/3.798, allocations: 58.83 kB / 1.725 GB, free: 153.5 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/3.798, allocations: 5.781 kB / 1.725 GB, free: 153.5 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002285/3.801, allocations: 0.9651 MB / 1.726 GB, free: 153.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/3.801, allocations: 7.438 kB / 1.726 GB, free: 153.5 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009729/3.802, allocations: 450.5 kB / 1.727 GB, free: 153.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/3.803, allocations: 251 kB / 1.727 GB, free: 153.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/3.805, allocations: 1.159 MB / 1.728 GB, free: 153 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/3.807, allocations: 198.7 kB / 1.728 GB, free: 153 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/3.807, allocations: 61.69 kB / 1.728 GB, free: 153 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 (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.0003419/3.807, allocations: 127.8 kB / 1.729 GB, free: 152.9 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/3.808, allocations: 125.4 kB / 1.729 GB, free: 152.8 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/3.812, allocations: 1.061 MB / 1.73 GB, free: 152.7 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/3.812, allocations: 11.41 kB / 1.73 GB, free: 152.7 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/3.812, allocations: 0 / 1.73 GB, free: 152.7 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003472/3.815, allocations: 0.9472 MB / 1.731 GB, free: 152.5 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/3.822, allocations: 2.956 MB / 1.734 GB, free: 151.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/3.822, allocations: 7.25 kB / 1.734 GB, free: 151.6 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009663/3.823, allocations: 155 kB / 1.734 GB, free: 151.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009281/3.824, allocations: 430.1 kB / 1.734 GB, free: 151.6 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/3.824, allocations: 18.08 kB / 1.734 GB, free: 151.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/3.825, allocations: 1.157 MB / 1.735 GB, free: 151.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/3.825, allocations: 3.438 kB / 1.735 GB, free: 151.1 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002324/3.828, allocations: 1.283 MB / 1.737 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/3.828, allocations: 366.5 kB / 1.737 GB, free: 150.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/3.829, allocations: 12.52 kB / 1.737 GB, free: 150.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/3.83, allocations: 141.3 kB / 1.737 GB, free: 150.4 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/3.831, allocations: 48.2 kB / 1.737 GB, free: 150.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/3.831, allocations: 50.52 kB / 1.737 GB, free: 150.4 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001087/3.832, allocations: 0.7299 MB / 1.738 GB, free: 150.2 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003161/3.835, allocations: 0.9902 MB / 1.739 GB, free: 150.2 MB / 0.7138 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.00175/3.837, allocations: 0.8953 MB / 1.74 GB, free: 150.1 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002479/3.839, allocations: 1.299 MB / 1.741 GB, free: 150 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/3.839, allocations: 3.906 kB / 1.741 GB, free: 150 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0006725/3.84, allocations: 380.7 kB / 1.741 GB, free: 150 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/3.843, allocations: 0.5539 MB / 1.742 GB, free: 150 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/3.847, allocations: 1.844 MB / 1.744 GB, free: 149.5 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/3.849, allocations: 1.379 MB / 1.745 GB, free: 148.7 MB / 0.7138 GB Notification: Performance of SimCode: time 1.553e-06/3.849, allocations: 0 / 1.745 GB, free: 148.7 MB / 0.7138 GB Notification: Performance of Templates: time 0.06242/3.911, allocations: 40.58 MB / 1.785 GB, free: 147.8 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)