Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7887/0.7887, allocations: 141.8 MB / 149.1 MB, free: 1.359 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 177.7 kB / 181.9 MB, free: 13.44 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.3 MB / 436 MB, free: 6.27 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 88.05 kB / 0.507 GB, free: 19.02 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 277.1 kB / 0.5884 GB, free: 7.379 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.304e-06, allocations: 2.688 kB / 0.6759 GB, free: 140.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1888, allocations: 82.79 MB / 0.7567 GB, free: 89.81 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.375, allocations: 398.4 MB / 1.146 GB, free: 192.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.375, allocations: 95.55 kB / 1.146 GB, free: 192.1 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.599/6.975, allocations: 1.52 GB / 2.666 GB, free: 57.99 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.001228/6.976, allocations: 98.58 kB / 2.666 GB, free: 57.98 MB / 0.745 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.01961/6.996, allocations: 3.596 MB / 2.669 GB, free: 56.18 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/6.996, allocations: 10.5 kB / 2.669 GB, free: 56.18 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008969/7.005, allocations: 1.197 MB / 2.67 GB, free: 55.95 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08511/7.09, allocations: 28.17 MB / 2.698 GB, free: 54.06 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/7.09, allocations: 71.28 kB / 2.698 GB, free: 54.06 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/7.091, allocations: 142.4 kB / 2.698 GB, free: 54.06 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006081/7.098, allocations: 1.794 MB / 2.7 GB, free: 54.04 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006878/7.104, allocations: 2.173 MB / 2.702 GB, free: 53.68 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.921e-05/7.105, allocations: 6 kB / 2.702 GB, free: 53.67 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006193/7.105, allocations: 3.625 kB / 2.702 GB, free: 53.67 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/7.105, allocations: 53.12 kB / 2.702 GB, free: 53.67 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/7.131, allocations: 11.86 MB / 2.714 GB, free: 46.85 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/7.134, allocations: 1.639 MB / 2.715 GB, free: 46.27 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/7.135, allocations: 0.7266 MB / 2.716 GB, free: 46 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008413/7.144, allocations: 3.626 MB / 2.719 GB, free: 43.48 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/7.144, allocations: 50.89 kB / 2.72 GB, free: 43.43 MB / 0.745 GB Notification: Performance of pre-optimization done (n=116): time 4.479e-06/7.144, allocations: 0 / 2.72 GB, free: 43.43 MB / 0.745 GB Notification: Performance of matching and sorting (n=116): time 0.009527/7.153, allocations: 2.498 MB / 2.722 GB, free: 42.59 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/7.153, allocations: 68.22 kB / 2.722 GB, free: 42.53 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007804/7.161, allocations: 2.446 MB / 2.724 GB, free: 41.58 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.000593/7.162, allocations: 25.7 kB / 2.724 GB, free: 41.55 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/7.163, allocations: 1.001 MB / 2.725 GB, free: 40.88 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009188/7.164, allocations: 392 kB / 2.726 GB, free: 40.57 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/7.164, allocations: 1.438 kB / 2.726 GB, free: 40.57 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0001692/7.165, allocations: 375.5 kB / 2.726 GB, free: 40.24 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/7.166, allocations: 0.7057 MB / 2.727 GB, free: 39.97 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/7.168, allocations: 1.442 MB / 2.728 GB, free: 38.75 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005074/7.173, allocations: 1.121 MB / 2.729 GB, free: 38.42 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.404e-05/7.173, allocations: 4.844 kB / 2.729 GB, free: 38.42 MB / 0.745 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01183/7.185, allocations: 3.026 MB / 2.732 GB, free: 37.08 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.001828/7.187, allocations: 7.591 MB / 2.74 GB, free: 28.93 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-05/7.187, allocations: 20 kB / 2.74 GB, free: 28.91 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/7.189, allocations: 0.7171 MB / 2.74 GB, free: 28.3 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/7.191, allocations: 389.6 kB / 2.741 GB, free: 27.98 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/7.195, allocations: 5.51 MB / 2.746 GB, free: 22.5 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00421/7.199, allocations: 288.8 kB / 2.746 GB, free: 22.27 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005856/7.2, allocations: 154.8 kB / 2.747 GB, free: 22.14 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/7.2, allocations: 6.156 kB / 2.747 GB, free: 22.13 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007812/7.208, allocations: 2.427 MB / 2.749 GB, free: 20.08 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.154e-05/7.208, allocations: 23.17 kB / 2.749 GB, free: 20.06 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/7.21, allocations: 0.8267 MB / 2.75 GB, free: 19.36 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/7.212, allocations: 350.1 kB / 2.75 GB, free: 19.07 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/7.228, allocations: 12.23 MB / 2.762 GB, free: 6.566 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003907/7.232, allocations: 238.5 kB / 2.762 GB, free: 6.332 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006286/7.233, allocations: 136 kB / 2.762 GB, free: 6.199 MB / 0.745 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.001154/7.234, allocations: 167.8 kB / 2.763 GB, free: 6.031 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/7.235, allocations: 323.8 kB / 2.763 GB, free: 5.711 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009514/7.245, allocations: 2.916 MB / 2.766 GB, free: 2.801 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-05/7.245, allocations: 19.98 kB / 2.766 GB, free: 2.781 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/7.245, allocations: 0 / 2.766 GB, free: 2.781 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/7.245, allocations: 7.984 kB / 2.766 GB, free: 2.773 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/7.259, allocations: 4.574 MB / 2.77 GB, free: 14.18 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/7.259, allocations: 0 / 2.77 GB, free: 14.18 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/7.26, allocations: 219.7 kB / 2.77 GB, free: 13.96 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/7.262, allocations: 0.5107 MB / 2.771 GB, free: 13.44 MB / 0.7607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/7.262, allocations: 27.95 kB / 2.771 GB, free: 13.41 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/7.267, allocations: 5.085 MB / 2.776 GB, free: 8.133 MB / 0.7607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/7.267, allocations: 0 / 2.776 GB, free: 8.133 MB / 0.7607 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007808/7.275, allocations: 2.48 MB / 2.778 GB, free: 5.617 MB / 0.7607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002313/7.277, allocations: 0.5822 MB / 2.779 GB, free: 5.012 MB / 0.7607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/7.278, allocations: 7.062 kB / 2.779 GB, free: 5.008 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/7.281, allocations: 179.6 kB / 2.779 GB, free: 4.832 MB / 0.7607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/7.281, allocations: 85.08 kB / 2.779 GB, free: 4.746 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/7.281, allocations: 71.94 kB / 2.779 GB, free: 4.676 MB / 0.7607 GB Notification: Performance of sort global known variables: time 0.004797/7.286, allocations: 1.83 MB / 2.781 GB, free: 2.863 MB / 0.7607 GB Notification: Performance of remove unused functions: time 0.009792/7.296, allocations: 1.816 MB / 2.783 GB, free: 1.043 MB / 0.7607 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.4237/7.72, allocations: 2.265 MB / 2.785 GB, free: 106.2 MB / 0.7607 GB Notification: Performance of simCode: created initialization part: time 0.006724/7.726, allocations: 3.522 MB / 2.788 GB, free: 105.8 MB / 0.7607 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/7.727, allocations: 3.5 kB / 2.788 GB, free: 105.8 MB / 0.7607 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/7.728, allocations: 0.8144 MB / 2.789 GB, free: 105.8 MB / 0.7607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006886/7.735, allocations: 1.352 MB / 2.791 GB, free: 105.8 MB / 0.7607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/7.745, allocations: 4.475 MB / 2.795 GB, free: 104.6 MB / 0.7607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002356/7.748, allocations: 2.519 MB / 2.797 GB, free: 103.9 MB / 0.7607 GB Notification: Performance of SimCode: time 1.843e-06/7.748, allocations: 0 / 2.797 GB, free: 103.9 MB / 0.7607 GB Notification: Performance of Templates: time 0.1438/7.891, allocations: 85.34 MB / 2.881 GB, free: 99.98 MB / 0.7607 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)