Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.573/1.573, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001533/0.001533, allocations: 176.2 kB / 366.3 MB, free: 1.938 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.75/1.75, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.001016/0.001016, allocations: 85.45 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.096e-05, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7458, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9768/1.723, allocations: 422.4 MB / 1.385 GB, free: 66.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.723, allocations: 93.94 kB / 1.385 GB, free: 66.55 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.58/3.303, allocations: 0.5475 GB / 1.933 GB, free: 1.906 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001469/3.303, allocations: 43.92 kB / 1.933 GB, free: 1.863 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.00359/3.307, allocations: 1.852 MB / 1.934 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/3.307, allocations: 12.03 kB / 1.935 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/3.312, allocations: 0.6573 MB / 1.935 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005306/3.317, allocations: 1.77 MB / 1.937 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/3.317, allocations: 84 kB / 1.937 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/3.318, allocations: 72 kB / 1.937 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002557/3.32, allocations: 1.004 MB / 1.938 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/3.323, allocations: 1.268 MB / 1.939 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/3.323, allocations: 4 kB / 1.939 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/3.323, allocations: 0 / 1.939 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.499e-05/3.323, allocations: 39.94 kB / 1.939 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/3.335, allocations: 7.314 MB / 1.946 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/3.336, allocations: 0.5175 MB / 1.947 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/3.337, allocations: 314.8 kB / 1.947 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/3.338, allocations: 1.271 MB / 1.948 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/3.338, allocations: 47.22 kB / 1.949 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=64): time 2.284e-06/3.338, allocations: 0 / 1.949 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of matching and sorting (n=64): time 0.3636/3.702, allocations: 0.7986 MB / 1.949 GB, free: 262.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/3.702, allocations: 112.9 kB / 1.949 GB, free: 262 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/3.704, allocations: 0.9649 MB / 1.95 GB, free: 261.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/3.704, allocations: 29.58 kB / 1.95 GB, free: 261.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/3.704, allocations: 0.5192 MB / 1.951 GB, free: 261.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/3.705, allocations: 216.3 kB / 1.951 GB, free: 261.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/3.705, allocations: 0 / 1.951 GB, free: 261.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/3.705, allocations: 342.1 kB / 1.951 GB, free: 261.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/3.705, allocations: 286.9 kB / 1.952 GB, free: 261.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/3.706, allocations: 0.5648 MB / 1.952 GB, free: 261 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/3.707, allocations: 395.5 kB / 1.953 GB, free: 261 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/3.707, allocations: 3.938 kB / 1.953 GB, free: 261 MB / 0.9636 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002154/3.709, allocations: 1.08 MB / 1.954 GB, free: 260.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004062/3.71, allocations: 2.452 MB / 1.956 GB, free: 258.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/3.71, allocations: 3.406 kB / 1.956 GB, free: 258.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008067/3.71, allocations: 363.1 kB / 1.956 GB, free: 258.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/3.712, allocations: 253.9 kB / 1.957 GB, free: 258.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/3.713, allocations: 1.1 MB / 1.958 GB, free: 257.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/3.715, allocations: 218.9 kB / 1.958 GB, free: 257.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/3.716, allocations: 62.33 kB / 1.958 GB, free: 257.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/3.716, allocations: 2.969 kB / 1.958 GB, free: 257.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001942/3.717, allocations: 0.9191 MB / 1.959 GB, free: 257.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/3.718, allocations: 7.844 kB / 1.959 GB, free: 257.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007307/3.718, allocations: 354.9 kB / 1.959 GB, free: 257.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/3.72, allocations: 257.3 kB / 1.96 GB, free: 257.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/3.721, allocations: 1.099 MB / 1.961 GB, free: 257.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/3.723, allocations: 192.4 kB / 1.961 GB, free: 257.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/3.723, allocations: 54.02 kB / 1.961 GB, free: 257.2 MB / 0.9636 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002579/3.723, allocations: 128.3 kB / 1.961 GB, free: 257.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/3.723, allocations: 124.6 kB / 1.961 GB, free: 257.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/3.725, allocations: 0.9222 MB / 1.962 GB, free: 257 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/3.725, allocations: 7.562 kB / 1.962 GB, free: 257 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/3.726, allocations: 3.094 kB / 1.962 GB, free: 257 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/3.727, allocations: 0.8183 MB / 1.963 GB, free: 256.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004959/3.732, allocations: 2.85 MB / 1.966 GB, free: 255.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/3.732, allocations: 2.062 kB / 1.966 GB, free: 255.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009908/3.733, allocations: 168.2 kB / 1.966 GB, free: 255.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007747/3.734, allocations: 349.7 kB / 1.966 GB, free: 255.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/3.734, allocations: 17.48 kB / 1.966 GB, free: 255.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/3.736, allocations: 1.203 MB / 1.967 GB, free: 255.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/3.736, allocations: 3.625 kB / 1.967 GB, free: 255.4 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002305/3.738, allocations: 1.231 MB / 1.968 GB, free: 254.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007723/3.739, allocations: 364 kB / 1.969 GB, free: 254.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/3.739, allocations: 11.03 kB / 1.969 GB, free: 254.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/3.741, allocations: 130.3 kB / 1.969 GB, free: 254.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/3.741, allocations: 45.56 kB / 1.969 GB, free: 254.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-05/3.741, allocations: 48.69 kB / 1.969 GB, free: 254.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001169/3.742, allocations: 0.7304 MB / 1.97 GB, free: 254.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003597/3.746, allocations: 0.9849 MB / 1.971 GB, free: 254.5 MB / 0.9636 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/3.748, allocations: 0.8759 MB / 1.972 GB, free: 254.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002498/3.75, allocations: 1.258 MB / 1.973 GB, free: 254.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/3.75, allocations: 0 / 1.973 GB, free: 254.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/3.752, allocations: 460.2 kB / 1.973 GB, free: 254.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/3.754, allocations: 0.5668 MB / 1.974 GB, free: 254.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/3.76, allocations: 1.951 MB / 1.976 GB, free: 253.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000937/3.761, allocations: 1.37 MB / 1.977 GB, free: 253 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/3.761, allocations: 3.312 kB / 1.977 GB, free: 253 MB / 0.9636 GB Notification: Performance of Templates: time 0.05446/3.815, allocations: 39.16 MB / 2.015 GB, free: 252.4 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)