Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") [: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.489/2.489, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001727/0.001727, allocations: 181.2 kB / 360.4 MB, free: 7.527 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.992/1.992, allocations: 205.1 MB / 0.6188 GB, free: 12.53 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.001228/0.001227, allocations: 92.55 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.906e-06/9.097e-06, allocations: 0 / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6367/0.6368, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.705, allocations: 434.7 MB / 1.387 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/1.705, allocations: 87.2 kB / 1.387 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.316/4.022, allocations: 0.516 GB / 1.903 GB, free: 63.41 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002379/4.022, allocations: 39.98 kB / 1.903 GB, free: 63.37 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006885/4.029, allocations: 1.922 MB / 1.905 GB, free: 61.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/4.029, allocations: 8.031 kB / 1.905 GB, free: 61.39 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/4.032, allocations: 341.5 kB / 1.906 GB, free: 61.05 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005718/4.037, allocations: 1.656 MB / 1.907 GB, free: 59.34 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/4.038, allocations: 125.5 kB / 1.907 GB, free: 59.21 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/4.038, allocations: 64 kB / 1.907 GB, free: 59.14 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003117/4.041, allocations: 0.996 MB / 1.908 GB, free: 58.14 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/4.044, allocations: 1.14 MB / 1.91 GB, free: 56.92 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.981e-05/4.044, allocations: 7.922 kB / 1.91 GB, free: 56.91 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/4.044, allocations: 7.906 kB / 1.91 GB, free: 56.91 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/4.044, allocations: 32 kB / 1.91 GB, free: 56.88 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/4.058, allocations: 7.116 MB / 1.917 GB, free: 49.25 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/4.06, allocations: 0.5745 MB / 1.917 GB, free: 48.67 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009063/4.061, allocations: 382.7 kB / 1.918 GB, free: 48.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/4.062, allocations: 0.8316 MB / 1.918 GB, free: 47.28 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/4.062, allocations: 47.2 kB / 1.918 GB, free: 47.23 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 4.018e-06/4.062, allocations: 0 / 1.918 GB, free: 47.23 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.003073/4.065, allocations: 0.8185 MB / 1.919 GB, free: 46.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/4.065, allocations: 123.4 kB / 1.919 GB, free: 46.25 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/4.068, allocations: 1.149 MB / 1.92 GB, free: 45.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003625/4.068, allocations: 29.7 kB / 1.92 GB, free: 45.06 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/4.069, allocations: 0.504 MB / 1.921 GB, free: 44.55 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/4.069, allocations: 212.8 kB / 1.921 GB, free: 44.34 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/4.069, allocations: 0 / 1.921 GB, free: 44.34 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/4.07, allocations: 337.9 kB / 1.921 GB, free: 44 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/4.071, allocations: 357.9 kB / 1.922 GB, free: 43.66 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/4.072, allocations: 0.601 MB / 1.922 GB, free: 42.95 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/4.073, allocations: 429.2 kB / 1.923 GB, free: 42.53 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/4.073, allocations: 4 kB / 1.923 GB, free: 42.52 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00361/4.077, allocations: 1.037 MB / 1.924 GB, free: 41.48 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004324/4.077, allocations: 1.864 MB / 1.926 GB, free: 39.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/4.077, allocations: 4 kB / 1.926 GB, free: 39.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/4.077, allocations: 16 kB / 1.926 GB, free: 39.49 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/4.08, allocations: 275.6 kB / 1.926 GB, free: 39.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/4.08, allocations: 11.94 kB / 1.926 GB, free: 39.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/4.083, allocations: 219 kB / 1.926 GB, free: 38.99 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/4.084, allocations: 39.98 kB / 1.926 GB, free: 38.95 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/4.084, allocations: 4 kB / 1.926 GB, free: 38.95 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002971/4.087, allocations: 0.8577 MB / 1.927 GB, free: 38.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/4.087, allocations: 8 kB / 1.927 GB, free: 38.08 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/4.087, allocations: 8 kB / 1.927 GB, free: 38.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/4.089, allocations: 279.7 kB / 1.927 GB, free: 37.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/4.089, allocations: 8 kB / 1.927 GB, free: 37.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/4.092, allocations: 191.1 kB / 1.927 GB, free: 37.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/4.092, allocations: 35.98 kB / 1.928 GB, free: 37.57 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003736/4.093, allocations: 124.7 kB / 1.928 GB, free: 37.44 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004579/4.093, allocations: 154.2 kB / 1.928 GB, free: 37.29 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/4.096, allocations: 0.9897 MB / 1.929 GB, free: 36.29 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/4.097, allocations: 4 kB / 1.929 GB, free: 36.28 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/4.097, allocations: 3.906 kB / 1.929 GB, free: 36.28 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002229/4.099, allocations: 0.8385 MB / 1.93 GB, free: 35.41 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007394/4.106, allocations: 2.468 MB / 1.932 GB, free: 32.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/4.106, allocations: 320 / 1.932 GB, free: 32.86 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/4.108, allocations: 215.7 kB / 1.932 GB, free: 32.65 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/4.108, allocations: 4 kB / 1.932 GB, free: 32.65 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/4.108, allocations: 15.98 kB / 1.932 GB, free: 32.63 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/4.108, allocations: 4 kB / 1.932 GB, free: 32.63 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/4.109, allocations: 7.938 kB / 1.932 GB, free: 32.62 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004276/4.113, allocations: 1.742 MB / 1.934 GB, free: 30.75 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/4.114, allocations: 379 kB / 1.934 GB, free: 30.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000536/4.115, allocations: 7.984 kB / 1.934 GB, free: 30.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/4.117, allocations: 135.8 kB / 1.934 GB, free: 30.22 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/4.118, allocations: 72.3 kB / 1.934 GB, free: 30.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/4.118, allocations: 39.97 kB / 1.935 GB, free: 30.11 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.00203/4.12, allocations: 0.8717 MB / 1.935 GB, free: 29.24 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004602/4.125, allocations: 0.8417 MB / 1.936 GB, free: 28.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002246/4.127, allocations: 0.796 MB / 1.937 GB, free: 27.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004524/4.132, allocations: 1.405 MB / 1.938 GB, free: 26.19 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/4.132, allocations: 4 kB / 1.938 GB, free: 26.19 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/4.133, allocations: 473.6 kB / 1.939 GB, free: 25.72 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005558/4.139, allocations: 0.5572 MB / 1.939 GB, free: 25.17 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0074/4.146, allocations: 2.08 MB / 1.941 GB, free: 23.02 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/4.148, allocations: 1.453 MB / 1.943 GB, free: 21.54 MB / 0.9323 GB Notification: Performance of SimCode: time 1.774e-06/4.148, allocations: 0 / 1.943 GB, free: 21.54 MB / 0.9323 GB Notification: Performance of Templates: time 0.4795/4.628, allocations: 35.26 MB / 1.977 GB, free: 261.7 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)