Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") [: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.057/2.057, allocations: 253.1 MB / 260.4 MB, free: 8.637 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001712/0.001711, allocations: 188 kB / 319.6 MB, free: 8.09 MB / 254.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.364/2.364, allocations: 205.4 MB / 0.5704 GB, free: 4.242 MB / 414.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 100.1 kB / 0.6746 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.102e-05, allocations: 0 / 0.7843 GB, free: 106.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1952, allocations: 106.3 MB / 0.8881 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.457/1.653, allocations: 434 MB / 1.312 GB, free: 240 MB / 0.8575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/1.653, allocations: 88.03 kB / 1.312 GB, free: 240 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.741/8.394, allocations: 1.451 GB / 2.763 GB, free: 72.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0008772/8.395, allocations: 100.2 kB / 2.763 GB, free: 72.79 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0144/8.409, allocations: 3.587 MB / 2.767 GB, free: 71.14 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/8.41, allocations: 16.25 kB / 2.767 GB, free: 71.14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/8.422, allocations: 1.195 MB / 2.768 GB, free: 70.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.104/8.526, allocations: 27.02 MB / 2.794 GB, free: 69.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/8.526, allocations: 70.47 kB / 2.795 GB, free: 69.26 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/8.527, allocations: 140.5 kB / 2.795 GB, free: 69.26 MB / 0.9044 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006626/8.534, allocations: 1.789 MB / 2.796 GB, free: 69.24 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006973/8.541, allocations: 2.175 MB / 2.799 GB, free: 68.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.303e-05/8.541, allocations: 3.281 kB / 2.799 GB, free: 68.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003652/8.541, allocations: 3.094 kB / 2.799 GB, free: 68.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/8.541, allocations: 48.81 kB / 2.799 GB, free: 68.89 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/8.571, allocations: 11.84 MB / 2.81 GB, free: 62.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004521/8.576, allocations: 1.637 MB / 2.812 GB, free: 62.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/8.578, allocations: 0.7285 MB / 2.812 GB, free: 62.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0105/8.588, allocations: 3.599 MB / 2.816 GB, free: 61.08 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/8.588, allocations: 44.75 kB / 2.816 GB, free: 61.04 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=116): time 4.308e-06/8.588, allocations: 0 / 2.816 GB, free: 61.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=116): time 0.01329/8.601, allocations: 2.497 MB / 2.818 GB, free: 60.74 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/8.602, allocations: 66.06 kB / 2.819 GB, free: 60.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006932/8.608, allocations: 2.429 MB / 2.821 GB, free: 60.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006568/8.609, allocations: 29.64 kB / 2.821 GB, free: 60.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/8.61, allocations: 0.9987 MB / 2.822 GB, free: 59.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008318/8.611, allocations: 385.8 kB / 2.822 GB, free: 59.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/8.611, allocations: 0 / 2.822 GB, free: 59.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001802/8.612, allocations: 374.6 kB / 2.823 GB, free: 59.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/8.613, allocations: 0.7038 MB / 2.823 GB, free: 59.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/8.616, allocations: 1.438 MB / 2.825 GB, free: 58.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005879/8.622, allocations: 1.126 MB / 2.826 GB, free: 58.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.963e-05/8.622, allocations: 3.844 kB / 2.826 GB, free: 58.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01412/8.636, allocations: 3.03 MB / 2.829 GB, free: 58.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.001946/8.638, allocations: 7.572 MB / 2.836 GB, free: 50.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.981e-05/8.638, allocations: 16.12 kB / 2.836 GB, free: 50.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/8.641, allocations: 0.7181 MB / 2.837 GB, free: 50.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/8.645, allocations: 385.6 kB / 2.837 GB, free: 50.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006798/8.652, allocations: 5.511 MB / 2.843 GB, free: 45.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/8.657, allocations: 292.3 kB / 2.843 GB, free: 45.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007906/8.658, allocations: 156.5 kB / 2.843 GB, free: 45.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/8.658, allocations: 3.594 kB / 2.843 GB, free: 45.88 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01151/8.669, allocations: 2.427 MB / 2.845 GB, free: 45.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-05/8.67, allocations: 19.34 kB / 2.845 GB, free: 45.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003962/8.674, allocations: 0.8232 MB / 2.846 GB, free: 45.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/8.677, allocations: 359.6 kB / 2.847 GB, free: 45.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/8.701, allocations: 12.22 MB / 2.859 GB, free: 37.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004722/8.706, allocations: 239.5 kB / 2.859 GB, free: 37.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006714/8.707, allocations: 135.4 kB / 2.859 GB, free: 37.86 MB / 0.9044 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 172 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008695/8.708, allocations: 170.8 kB / 2.859 GB, free: 37.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/8.709, allocations: 328.9 kB / 2.859 GB, free: 37.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01867/8.727, allocations: 2.894 MB / 2.862 GB, free: 37.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001464/8.728, allocations: 14.09 kB / 2.862 GB, free: 37.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/8.728, allocations: 0 / 2.862 GB, free: 37.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.224e-05/8.728, allocations: 7.781 kB / 2.862 GB, free: 37.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02812/8.756, allocations: 4.537 MB / 2.867 GB, free: 36.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/8.756, allocations: 4.641 kB / 2.867 GB, free: 36.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003408/8.759, allocations: 212.2 kB / 2.867 GB, free: 36.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003235/8.763, allocations: 0.5204 MB / 2.867 GB, free: 36.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004745/8.763, allocations: 31.52 kB / 2.867 GB, free: 36.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008175/8.771, allocations: 5.077 MB / 2.872 GB, free: 48.28 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/8.771, allocations: 0 / 2.872 GB, free: 48.28 MB / 0.92 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01647/8.788, allocations: 2.476 MB / 2.875 GB, free: 47.25 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003759/8.792, allocations: 0.5781 MB / 2.875 GB, free: 46.86 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001632/8.794, allocations: 4.5 kB / 2.875 GB, free: 46.86 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006802/8.8, allocations: 175.1 kB / 2.876 GB, free: 46.86 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006679/8.801, allocations: 87.2 kB / 2.876 GB, free: 46.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000551/8.802, allocations: 71.22 kB / 2.876 GB, free: 46.83 MB / 0.92 GB Notification: Performance of sort global known variables: time 0.009614/8.811, allocations: 1.814 MB / 2.877 GB, free: 46.1 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01641/8.828, allocations: 1.785 MB / 2.879 GB, free: 45.7 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008112/8.836, allocations: 2.225 MB / 2.881 GB, free: 44.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01715/8.853, allocations: 3.52 MB / 2.885 GB, free: 43.49 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/8.853, allocations: 1.344 kB / 2.885 GB, free: 43.49 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004787/8.858, allocations: 0.8181 MB / 2.886 GB, free: 43.22 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01768/8.876, allocations: 1.356 MB / 2.887 GB, free: 42.88 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/8.898, allocations: 4.45 MB / 2.891 GB, free: 41.18 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006464/8.905, allocations: 2.51 MB / 2.894 GB, free: 40.25 MB / 0.92 GB Notification: Performance of SimCode: time 1.603e-06/8.905, allocations: 0.8125 kB / 2.894 GB, free: 40.25 MB / 0.92 GB Notification: Performance of Templates: time 0.7098/9.615, allocations: 84.71 MB / 2.976 GB, free: 173.3 MB / 0.9356 GB