Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.618/1.618, allocations: 289.8 MB / 297.1 MB, free: 9.055 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.00116/0.00116, allocations: 176.8 kB / 366.3 MB, free: 11.36 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.521/1.521, allocations: 205.1 MB / 0.6256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 92.42 kB / 0.7396 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.742e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2235, allocations: 116.3 MB / 0.9726 GB, free: 31.75 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.933/1.157, allocations: 436.1 MB / 1.398 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/1.157, allocations: 89.69 kB / 1.399 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.037/3.194, allocations: 0.516 GB / 1.915 GB, free: 217.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000146/3.194, allocations: 37.81 kB / 1.915 GB, free: 217.2 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004744/3.199, allocations: 1.917 MB / 1.916 GB, free: 216.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/3.199, allocations: 11.03 kB / 1.916 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/3.201, allocations: 342.9 kB / 1.917 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/3.204, allocations: 1.642 MB / 1.918 GB, free: 216.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/3.204, allocations: 119.5 kB / 1.918 GB, free: 216 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/3.205, allocations: 66.08 kB / 1.919 GB, free: 216 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001856/3.206, allocations: 1.002 MB / 1.92 GB, free: 216 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/3.208, allocations: 1.132 MB / 1.921 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/3.209, allocations: 7.219 kB / 1.921 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/3.209, allocations: 0 / 1.921 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/3.209, allocations: 42.62 kB / 1.921 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009255/3.218, allocations: 7.111 MB / 1.928 GB, free: 211.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/3.219, allocations: 0.5735 MB / 1.928 GB, free: 211.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/3.22, allocations: 385.9 kB / 1.929 GB, free: 211.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005891/3.22, allocations: 0.8337 MB / 1.929 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/3.22, allocations: 43.62 kB / 1.929 GB, free: 210.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 4.699e-06/3.22, allocations: 0 / 1.929 GB, free: 210.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.001948/3.222, allocations: 0.8269 MB / 1.93 GB, free: 210.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/3.222, allocations: 111.1 kB / 1.93 GB, free: 210.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/3.224, allocations: 1.152 MB / 1.931 GB, free: 210.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/3.224, allocations: 36.56 kB / 1.931 GB, free: 210.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/3.224, allocations: 0.5036 MB / 1.932 GB, free: 210 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/3.225, allocations: 214.1 kB / 1.932 GB, free: 209.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/3.225, allocations: 0 / 1.932 GB, free: 209.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001058/3.225, allocations: 337 kB / 1.932 GB, free: 209.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/3.225, allocations: 355.3 kB / 1.933 GB, free: 209.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/3.226, allocations: 0.6046 MB / 1.933 GB, free: 209 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/3.227, allocations: 428.1 kB / 1.934 GB, free: 208.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/3.227, allocations: 0 / 1.934 GB, free: 208.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002107/3.229, allocations: 1.038 MB / 1.935 GB, free: 208.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004362/3.23, allocations: 1.87 MB / 1.937 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/3.23, allocations: 4.562 kB / 1.937 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/3.23, allocations: 10.53 kB / 1.937 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/3.231, allocations: 277.2 kB / 1.937 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/3.231, allocations: 14.27 kB / 1.937 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/3.233, allocations: 217 kB / 1.937 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/3.233, allocations: 36.48 kB / 1.937 GB, free: 206.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/3.233, allocations: 2 kB / 1.937 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00162/3.234, allocations: 0.8608 MB / 1.938 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/3.234, allocations: 9.641 kB / 1.938 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/3.234, allocations: 11.59 kB / 1.938 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/3.236, allocations: 285.6 kB / 1.938 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/3.236, allocations: 14.28 kB / 1.938 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/3.237, allocations: 185.9 kB / 1.939 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/3.237, allocations: 39.67 kB / 1.939 GB, free: 206.1 MB / 0.948 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.0003823/3.238, allocations: 129.6 kB / 1.939 GB, free: 205.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/3.238, allocations: 142.1 kB / 1.939 GB, free: 205.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/3.24, allocations: 0.9912 MB / 1.94 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/3.24, allocations: 7.375 kB / 1.94 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/3.24, allocations: 0 / 1.94 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/3.241, allocations: 0.8355 MB / 1.941 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/3.246, allocations: 2.464 MB / 1.943 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/3.246, allocations: 3.469 kB / 1.943 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/3.247, allocations: 215.5 kB / 1.943 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/3.247, allocations: 2.688 kB / 1.943 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/3.247, allocations: 12.7 kB / 1.943 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/3.247, allocations: 7.719 kB / 1.943 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/3.247, allocations: 7.656 kB / 1.943 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003137/3.25, allocations: 1.748 MB / 1.945 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/3.251, allocations: 375.8 kB / 1.945 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/3.251, allocations: 4.766 kB / 1.945 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/3.253, allocations: 127 kB / 1.945 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/3.253, allocations: 70.11 kB / 1.946 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/3.253, allocations: 35.42 kB / 1.946 GB, free: 202.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001729/3.255, allocations: 0.8741 MB / 1.946 GB, free: 202.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003288/3.258, allocations: 0.8396 MB / 1.947 GB, free: 202 MB / 0.948 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.002006/3.26, allocations: 0.783 MB / 1.948 GB, free: 201.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002992/3.263, allocations: 1.405 MB / 1.949 GB, free: 201.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/3.263, allocations: 1.438 kB / 1.949 GB, free: 201.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/3.264, allocations: 473.3 kB / 1.95 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/3.268, allocations: 0.5518 MB / 1.95 GB, free: 201 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005729/3.274, allocations: 2.072 MB / 1.952 GB, free: 200.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/3.276, allocations: 1.456 MB / 1.954 GB, free: 199.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.833e-06/3.276, allocations: 2.344 kB / 1.954 GB, free: 199.3 MB / 0.948 GB Notification: Performance of Templates: time 0.07325/3.349, allocations: 35.15 MB / 1.988 GB, free: 182.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)