Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"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.0.1-maint.8.0.x/package.mo): time 1.369/1.369, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009509/0.0009508, allocations: 169.3 kB / 361.1 MB, free: 7.113 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.143/1.143, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009054/0.0009052, allocations: 88.34 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2448/0.2458, allocations: 121.4 MB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.845, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8197/1.665, allocations: 434.9 MB / 1.388 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.665, allocations: 95.28 kB / 1.389 GB, free: 132.7 MB / 0.8542 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 1.314/2.979, allocations: 0.5179 GB / 1.906 GB, free: 59.22 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/2.979, allocations: 12.44 kB / 1.906 GB, free: 59.21 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/2.981, allocations: 337.5 kB / 1.907 GB, free: 58.88 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/2.984, allocations: 1.656 MB / 1.908 GB, free: 57.16 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/2.985, allocations: 117.5 kB / 1.909 GB, free: 57.04 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/2.985, allocations: 64 kB / 1.909 GB, free: 56.97 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001792/2.987, allocations: 1.004 MB / 1.91 GB, free: 55.96 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/2.988, allocations: 1.127 MB / 1.911 GB, free: 54.75 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/2.988, allocations: 4 kB / 1.911 GB, free: 54.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/2.989, allocations: 3.906 kB / 1.911 GB, free: 54.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/2.989, allocations: 39.94 kB / 1.911 GB, free: 54.71 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00806/2.997, allocations: 7.126 MB / 1.918 GB, free: 47.08 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/2.998, allocations: 0.5784 MB / 1.918 GB, free: 46.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/2.998, allocations: 378.8 kB / 1.919 GB, free: 46.12 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004139/2.998, allocations: 0.8317 MB / 1.919 GB, free: 45.11 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/2.998, allocations: 39.22 kB / 1.919 GB, free: 45.06 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 2.905e-06/2.998, allocations: 0 / 1.919 GB, free: 45.06 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.001466/3, allocations: 0.8301 MB / 1.92 GB, free: 44.22 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/3, allocations: 115.5 kB / 1.92 GB, free: 44.09 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/3.001, allocations: 1.153 MB / 1.921 GB, free: 42.93 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/3.001, allocations: 25.7 kB / 1.922 GB, free: 42.89 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/3.002, allocations: 0.5118 MB / 1.922 GB, free: 42.38 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/3.002, allocations: 216.8 kB / 1.922 GB, free: 42.16 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/3.002, allocations: 0 / 1.922 GB, free: 42.16 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/3.002, allocations: 334 kB / 1.923 GB, free: 41.83 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/3.002, allocations: 349.9 kB / 1.923 GB, free: 41.49 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/3.003, allocations: 0.6088 MB / 1.923 GB, free: 40.77 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/3.004, allocations: 429.3 kB / 1.924 GB, free: 40.35 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/3.004, allocations: 0 / 1.924 GB, free: 40.35 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001914/3.006, allocations: 1.037 MB / 1.925 GB, free: 39.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004454/3.006, allocations: 1.868 MB / 1.927 GB, free: 37.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/3.006, allocations: 4 kB / 1.927 GB, free: 37.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/3.006, allocations: 12 kB / 1.927 GB, free: 37.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/3.007, allocations: 283.6 kB / 1.927 GB, free: 37.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/3.008, allocations: 8 kB / 1.927 GB, free: 37.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/3.009, allocations: 215 kB / 1.927 GB, free: 36.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/3.009, allocations: 35.98 kB / 1.927 GB, free: 36.79 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/3.009, allocations: 8 kB / 1.927 GB, free: 36.78 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/3.011, allocations: 0.8576 MB / 1.928 GB, free: 35.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/3.011, allocations: 8.125 kB / 1.928 GB, free: 35.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/3.011, allocations: 12 kB / 1.928 GB, free: 35.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/3.012, allocations: 275.6 kB / 1.928 GB, free: 35.63 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/3.012, allocations: 19.86 kB / 1.928 GB, free: 35.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/3.013, allocations: 191.1 kB / 1.929 GB, free: 35.42 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-05/3.013, allocations: 35.98 kB / 1.929 GB, free: 35.39 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.0002086/3.013, allocations: 124.7 kB / 1.929 GB, free: 35.26 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/3.014, allocations: 142.2 kB / 1.929 GB, free: 35.12 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/3.015, allocations: 0.982 MB / 1.93 GB, free: 34.12 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/3.015, allocations: 12 kB / 1.93 GB, free: 34.11 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/3.015, allocations: 7.891 kB / 1.93 GB, free: 34.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/3.017, allocations: 0.8307 MB / 1.931 GB, free: 33.24 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/3.02, allocations: 2.468 MB / 1.933 GB, free: 30.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/3.021, allocations: 4 kB / 1.933 GB, free: 30.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009973/3.022, allocations: 220 kB / 1.933 GB, free: 30.47 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/3.022, allocations: 8 kB / 1.933 GB, free: 30.46 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/3.022, allocations: 4 kB / 1.933 GB, free: 30.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/3.022, allocations: 15.98 kB / 1.933 GB, free: 30.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/3.022, allocations: 0 / 1.933 GB, free: 30.45 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002046/3.024, allocations: 1.745 MB / 1.935 GB, free: 28.57 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002704/3.026, allocations: 2.719 MB / 1.938 GB, free: 25.73 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006128/3.027, allocations: 379.1 kB / 1.938 GB, free: 25.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/3.027, allocations: 7.906 kB / 1.938 GB, free: 25.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/3.028, allocations: 131.8 kB / 1.938 GB, free: 25.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/3.029, allocations: 76.3 kB / 1.938 GB, free: 25.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.732e-05/3.029, allocations: 31.97 kB / 1.938 GB, free: 25.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001052/3.03, allocations: 0.8756 MB / 1.939 GB, free: 24.22 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004009/3.034, allocations: 1.06 MB / 1.94 GB, free: 23.16 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.001505/3.035, allocations: 0.8043 MB / 1.941 GB, free: 22.34 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002075/3.037, allocations: 1.402 MB / 1.942 GB, free: 20.93 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/3.037, allocations: 6.5 kB / 1.942 GB, free: 20.93 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006756/3.038, allocations: 465.6 kB / 1.943 GB, free: 20.47 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/3.041, allocations: 0.566 MB / 1.943 GB, free: 19.91 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/3.045, allocations: 2.073 MB / 1.945 GB, free: 17.77 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/3.046, allocations: 1.457 MB / 1.947 GB, free: 16.28 MB / 0.9323 GB Notification: Performance of SimCode: time 9.62e-07/3.046, allocations: 0 / 1.947 GB, free: 16.28 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)