Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.354/2.354, allocations: 284.9 MB / 292.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 181.2 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 94.92 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.479e-05, allocations: 4 kB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6531/0.6531, allocations: 115.2 MB / 0.9628 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.689, allocations: 421.2 MB / 1.374 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.689, allocations: 87.73 kB / 1.374 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.459/4.148, allocations: 0.5476 GB / 1.922 GB, free: 68.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001833/4.148, allocations: 43.84 kB / 1.922 GB, free: 68.5 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.005151/4.153, allocations: 1.852 MB / 1.924 GB, free: 66.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/4.153, allocations: 8.531 kB / 1.924 GB, free: 66.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00859/4.162, allocations: 0.6651 MB / 1.924 GB, free: 65.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005615/4.168, allocations: 1.765 MB / 1.926 GB, free: 64.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/4.168, allocations: 84 kB / 1.926 GB, free: 64.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/4.168, allocations: 68 kB / 1.926 GB, free: 63.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003289/4.171, allocations: 1.016 MB / 1.927 GB, free: 62.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/4.175, allocations: 1.271 MB / 1.928 GB, free: 61.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/4.175, allocations: 0 / 1.928 GB, free: 61.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/4.175, allocations: 4 kB / 1.928 GB, free: 61.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/4.175, allocations: 32 kB / 1.928 GB, free: 61.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/4.192, allocations: 7.286 MB / 1.936 GB, free: 54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/4.194, allocations: 0.5199 MB / 1.936 GB, free: 53.47 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008019/4.194, allocations: 313.2 kB / 1.936 GB, free: 53.17 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/4.196, allocations: 1.274 MB / 1.938 GB, free: 51.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/4.196, allocations: 47.2 kB / 1.938 GB, free: 51.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 3.186e-06/4.196, allocations: 0 / 1.938 GB, free: 51.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.003397/4.2, allocations: 0.8046 MB / 1.938 GB, free: 50.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/4.2, allocations: 111.5 kB / 1.939 GB, free: 50.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/4.202, allocations: 0.9588 MB / 1.939 GB, free: 49.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002968/4.202, allocations: 29.7 kB / 1.939 GB, free: 49.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/4.203, allocations: 0.522 MB / 1.94 GB, free: 49.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/4.203, allocations: 212.8 kB / 1.94 GB, free: 48.87 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/4.204, allocations: 0 / 1.94 GB, free: 48.87 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/4.204, allocations: 341.9 kB / 1.941 GB, free: 48.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008927/4.205, allocations: 285.9 kB / 1.941 GB, free: 48.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/4.206, allocations: 0.5584 MB / 1.941 GB, free: 47.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/4.208, allocations: 413.4 kB / 1.942 GB, free: 47.17 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/4.208, allocations: 0 / 1.942 GB, free: 47.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004653/4.212, allocations: 1.081 MB / 1.943 GB, free: 46.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006276/4.213, allocations: 2.445 MB / 1.945 GB, free: 43.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/4.213, allocations: 4 kB / 1.945 GB, free: 43.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/4.215, allocations: 367.2 kB / 1.946 GB, free: 43.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/4.219, allocations: 247.6 kB / 1.946 GB, free: 42.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003275/4.222, allocations: 1.111 MB / 1.947 GB, free: 41.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01799/4.24, allocations: 226.9 kB / 1.947 GB, free: 41.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/4.241, allocations: 55.94 kB / 1.947 GB, free: 41.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/4.241, allocations: 4 kB / 1.947 GB, free: 41.43 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0211/4.262, allocations: 0.9171 MB / 1.948 GB, free: 40.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/4.262, allocations: 11.98 kB / 1.948 GB, free: 40.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/4.264, allocations: 356.9 kB / 1.948 GB, free: 40.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/4.276, allocations: 255.6 kB / 1.949 GB, free: 39.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/4.287, allocations: 1.099 MB / 1.95 GB, free: 38.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005479/4.292, allocations: 191.7 kB / 1.95 GB, free: 38.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/4.293, allocations: 51.95 kB / 1.95 GB, free: 38.53 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003825/4.293, allocations: 136.7 kB / 1.95 GB, free: 38.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/4.294, allocations: 130.5 kB / 1.95 GB, free: 38.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/4.298, allocations: 0.9185 MB / 1.951 GB, free: 37.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/4.298, allocations: 8 kB / 1.951 GB, free: 37.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/4.298, allocations: 0 / 1.951 GB, free: 37.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002842/4.3, allocations: 0.812 MB / 1.952 GB, free: 36.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009419/4.31, allocations: 2.855 MB / 1.955 GB, free: 33.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/4.31, allocations: 4 kB / 1.955 GB, free: 33.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/4.312, allocations: 156.1 kB / 1.955 GB, free: 33.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/4.313, allocations: 357.1 kB / 1.955 GB, free: 32.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/4.314, allocations: 19.97 kB / 1.955 GB, free: 32.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/4.318, allocations: 1.201 MB / 1.956 GB, free: 31.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/4.318, allocations: 7.984 kB / 1.956 GB, free: 31.69 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003422/4.321, allocations: 1.222 MB / 1.958 GB, free: 30.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/4.322, allocations: 367.2 kB / 1.958 GB, free: 29.96 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/4.323, allocations: 7.984 kB / 1.958 GB, free: 29.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003519/4.326, allocations: 131.8 kB / 1.958 GB, free: 29.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/4.327, allocations: 52.25 kB / 1.958 GB, free: 29.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/4.327, allocations: 39.95 kB / 1.958 GB, free: 29.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001693/4.329, allocations: 0.7407 MB / 1.959 GB, free: 28.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004629/4.333, allocations: 0.978 MB / 1.96 GB, free: 28.01 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002497/4.336, allocations: 0.8856 MB / 1.961 GB, free: 27.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004104/4.34, allocations: 1.245 MB / 1.962 GB, free: 25.92 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/4.34, allocations: 3.938 kB / 1.962 GB, free: 25.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/4.343, allocations: 469.7 kB / 1.962 GB, free: 25.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00536/4.348, allocations: 0.5472 MB / 1.963 GB, free: 24.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009783/4.358, allocations: 1.946 MB / 1.965 GB, free: 22.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/4.36, allocations: 1.375 MB / 1.966 GB, free: 21.48 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/4.36, allocations: 0 / 1.966 GB, free: 21.48 MB / 0.948 GB Notification: Performance of Templates: time 0.5638/4.924, allocations: 39.18 MB / 2.004 GB, free: 265.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)