Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.291/2.291, allocations: 253.1 MB / 260.4 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001752/0.001752, allocations: 177.3 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 94.5 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.178e-05/1.203e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.489/1.688, allocations: 428.2 MB / 1.306 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/1.689, allocations: 88.39 kB / 1.306 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.077/3.766, allocations: 0.5027 GB / 1.809 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001933/3.766, allocations: 45.33 kB / 1.809 GB, free: 122.8 MB / 0.8698 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.006891/3.773, allocations: 1.914 MB / 1.811 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/3.773, allocations: 8.031 kB / 1.811 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/3.776, allocations: 343.2 kB / 1.811 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005626/3.782, allocations: 1.646 MB / 1.813 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/3.782, allocations: 113.5 kB / 1.813 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/3.782, allocations: 64 kB / 1.813 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003108/3.785, allocations: 1.007 MB / 1.814 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/3.788, allocations: 1.116 MB / 1.815 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/3.788, allocations: 0 / 1.815 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/3.789, allocations: 4 kB / 1.815 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.293e-05/3.789, allocations: 43.52 kB / 1.815 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/3.803, allocations: 7.08 MB / 1.822 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/3.804, allocations: 0.575 MB / 1.823 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009189/3.805, allocations: 390.6 kB / 1.823 GB, free: 108 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/3.806, allocations: 0.831 MB / 1.824 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/3.806, allocations: 46.47 kB / 1.824 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 4.849e-06/3.806, allocations: 0 / 1.824 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.002904/3.809, allocations: 0.8224 MB / 1.825 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/3.809, allocations: 111.5 kB / 1.825 GB, free: 106 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/3.812, allocations: 1.153 MB / 1.826 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002949/3.812, allocations: 33.7 kB / 1.826 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/3.812, allocations: 0.5117 MB / 1.826 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/3.813, allocations: 212.9 kB / 1.827 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/3.813, allocations: 0 / 1.827 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/3.813, allocations: 337.9 kB / 1.827 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/3.814, allocations: 357.9 kB / 1.827 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/3.815, allocations: 0.602 MB / 1.828 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/3.817, allocations: 432.8 kB / 1.828 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/3.817, allocations: 0 / 1.828 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003321/3.82, allocations: 1.033 MB / 1.829 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003898/3.82, allocations: 1.872 MB / 1.831 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/3.821, allocations: 4 kB / 1.831 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/3.821, allocations: 8 kB / 1.831 GB, free: 99.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/3.823, allocations: 287.6 kB / 1.831 GB, free: 98.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/3.823, allocations: 8 kB / 1.831 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/3.826, allocations: 215 kB / 1.832 GB, free: 98.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/3.826, allocations: 35.98 kB / 1.832 GB, free: 98.67 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/3.826, allocations: 4 kB / 1.832 GB, free: 98.66 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002838/3.829, allocations: 0.861 MB / 1.832 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/3.829, allocations: 4.625 kB / 1.832 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/3.829, allocations: 15.94 kB / 1.832 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/3.831, allocations: 275.7 kB / 1.833 GB, free: 97.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/3.831, allocations: 15.92 kB / 1.833 GB, free: 97.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/3.834, allocations: 187.2 kB / 1.833 GB, free: 97.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/3.834, allocations: 35.97 kB / 1.833 GB, free: 97.28 MB / 0.8698 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.0003804/3.835, allocations: 132.6 kB / 1.833 GB, free: 97.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/3.835, allocations: 142.2 kB / 1.833 GB, free: 97 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/3.838, allocations: 0.9897 MB / 1.834 GB, free: 96 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/3.839, allocations: 15.98 kB / 1.834 GB, free: 95.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/3.839, allocations: 0 / 1.834 GB, free: 95.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002148/3.841, allocations: 0.8345 MB / 1.835 GB, free: 95.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006881/3.848, allocations: 2.45 MB / 1.837 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/3.848, allocations: 4 kB / 1.837 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/3.85, allocations: 216 kB / 1.838 GB, free: 92.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/3.85, allocations: 4 kB / 1.838 GB, free: 92.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/3.85, allocations: 11.98 kB / 1.838 GB, free: 92.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.515e-06/3.85, allocations: 4 kB / 1.838 GB, free: 92.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/3.85, allocations: 10.12 kB / 1.838 GB, free: 92.36 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004239/3.854, allocations: 1.734 MB / 1.839 GB, free: 90.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/3.856, allocations: 375 kB / 1.84 GB, free: 90.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/3.856, allocations: 4 kB / 1.84 GB, free: 90.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/3.858, allocations: 123.8 kB / 1.84 GB, free: 89.99 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/3.859, allocations: 72.33 kB / 1.84 GB, free: 89.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/3.859, allocations: 35.97 kB / 1.84 GB, free: 89.88 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00193/3.861, allocations: 0.8678 MB / 1.841 GB, free: 89.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003886/3.865, allocations: 0.8482 MB / 1.842 GB, free: 88.17 MB / 0.8698 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.001943/3.867, allocations: 0.8022 MB / 1.842 GB, free: 87.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003734/3.87, allocations: 1.4 MB / 1.844 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/3.87, allocations: 4.938 kB / 1.844 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/3.872, allocations: 473.9 kB / 1.844 GB, free: 85.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005424/3.877, allocations: 0.5515 MB / 1.845 GB, free: 85.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006855/3.884, allocations: 2.088 MB / 1.847 GB, free: 82.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/3.886, allocations: 1.453 MB / 1.848 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/3.886, allocations: 0 / 1.848 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of Templates: time 0.09051/3.977, allocations: 35.02 MB / 1.882 GB, free: 46.75 MB / 0.8698 GB