Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") [: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.7873/0.7873, allocations: 141.8 MB / 149.1 MB, free: 2.164 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.001209/0.001209, allocations: 181.3 kB / 181.9 MB, free: 1.699 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.548/1.548, allocations: 221.4 MB / 436 MB, free: 6.496 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.001088/0.001088, allocations: 100 kB / 0.507 GB, free: 3.18 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 278.3 kB / 0.5884 GB, free: 48.13 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.013e-06, allocations: 0 / 0.6759 GB, free: 6.508 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4366, allocations: 82.76 MB / 0.7567 GB, free: 25.58 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7478/1.184, allocations: 399.7 MB / 1.147 GB, free: 3.742 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.185, allocations: 94.39 kB / 1.147 GB, free: 3.695 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.355/6.54, allocations: 1.467 GB / 2.614 GB, free: 70.92 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0006839/6.54, allocations: 106.4 kB / 2.614 GB, free: 70.9 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01188/6.552, allocations: 3.716 MB / 2.618 GB, free: 69.16 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/6.552, allocations: 10.91 kB / 2.618 GB, free: 69.16 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007466/6.56, allocations: 1.219 MB / 2.619 GB, free: 68.91 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06883/6.629, allocations: 29.04 MB / 2.647 GB, free: 67.21 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/6.629, allocations: 76.06 kB / 2.647 GB, free: 67.21 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008428/6.63, allocations: 145.7 kB / 2.647 GB, free: 67.21 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003868/6.634, allocations: 1.917 MB / 2.649 GB, free: 67.2 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/6.638, allocations: 2.287 MB / 2.652 GB, free: 66.84 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/6.638, allocations: 7.719 kB / 2.652 GB, free: 66.84 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/6.638, allocations: 10.25 kB / 2.652 GB, free: 66.84 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/6.638, allocations: 49.38 kB / 2.652 GB, free: 66.84 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01932/6.657, allocations: 12.06 MB / 2.663 GB, free: 60.84 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/6.66, allocations: 1.948 MB / 2.665 GB, free: 60.8 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/6.661, allocations: 0.8473 MB / 2.666 GB, free: 60.79 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007537/6.668, allocations: 3.994 MB / 2.67 GB, free: 58.9 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/6.669, allocations: 48.72 kB / 2.67 GB, free: 58.86 MB / 0.745 GB Notification: Performance of pre-optimization done (n=119): time 3.937e-06/6.669, allocations: 0 / 2.67 GB, free: 58.86 MB / 0.745 GB Notification: Performance of matching and sorting (n=119): time 0.007914/6.677, allocations: 2.801 MB / 2.673 GB, free: 58.55 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/6.677, allocations: 66.5 kB / 2.673 GB, free: 58.49 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004783/6.681, allocations: 2.619 MB / 2.675 GB, free: 58.2 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0006718/6.682, allocations: 29.2 kB / 2.675 GB, free: 58.16 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/6.683, allocations: 1.027 MB / 2.676 GB, free: 57.67 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007514/6.684, allocations: 396.7 kB / 2.677 GB, free: 57.41 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/6.684, allocations: 1.875 kB / 2.677 GB, free: 57.41 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0001137/6.684, allocations: 380.9 kB / 2.677 GB, free: 57.11 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/6.685, allocations: 0.8436 MB / 2.678 GB, free: 57.1 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/6.687, allocations: 1.635 MB / 2.68 GB, free: 56.15 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/6.69, allocations: 1.271 MB / 2.681 GB, free: 56.12 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/6.69, allocations: 11.06 kB / 2.681 GB, free: 56.12 MB / 0.745 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008342/6.699, allocations: 3.375 MB / 2.684 GB, free: 55.8 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.001428/6.7, allocations: 8.057 MB / 2.692 GB, free: 47.46 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/6.7, allocations: 25.06 kB / 2.692 GB, free: 47.46 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/6.702, allocations: 0.8735 MB / 2.693 GB, free: 47.4 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/6.704, allocations: 403.7 kB / 2.693 GB, free: 47.38 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/6.709, allocations: 5.942 MB / 2.699 GB, free: 43.2 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00409/6.713, allocations: 308.9 kB / 2.699 GB, free: 43.09 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005469/6.714, allocations: 178.1 kB / 2.7 GB, free: 43.09 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/6.714, allocations: 5.438 kB / 2.7 GB, free: 43.09 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00721/6.721, allocations: 2.829 MB / 2.702 GB, free: 42.89 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/6.721, allocations: 21.72 kB / 2.702 GB, free: 42.89 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/6.723, allocations: 1.029 MB / 2.703 GB, free: 42.82 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/6.725, allocations: 366.6 kB / 2.704 GB, free: 42.8 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/6.743, allocations: 13.9 MB / 2.717 GB, free: 35.06 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/6.747, allocations: 251.5 kB / 2.717 GB, free: 34.99 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006661/6.748, allocations: 158.7 kB / 2.718 GB, free: 34.99 MB / 0.745 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.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: pum2.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: pum1.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: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * 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.001027/6.749, allocations: 169.7 kB / 2.718 GB, free: 34.84 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/6.75, allocations: 347.3 kB / 2.718 GB, free: 34.65 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009078/6.759, allocations: 2.98 MB / 2.721 GB, free: 34.38 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/6.759, allocations: 20.3 kB / 2.721 GB, free: 34.38 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/6.759, allocations: 0 / 2.721 GB, free: 34.38 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/6.759, allocations: 7.172 kB / 2.721 GB, free: 34.38 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/6.773, allocations: 4.857 MB / 2.726 GB, free: 33.85 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/6.773, allocations: 1.125 kB / 2.726 GB, free: 33.85 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/6.774, allocations: 228.1 kB / 2.726 GB, free: 33.84 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/6.775, allocations: 0.5533 MB / 2.727 GB, free: 33.78 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/6.775, allocations: 38.17 kB / 2.727 GB, free: 33.78 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/6.779, allocations: 5.187 MB / 2.732 GB, free: 29.47 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/6.779, allocations: 1.281 kB / 2.732 GB, free: 29.47 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006679/6.785, allocations: 2.688 MB / 2.734 GB, free: 28.29 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002371/6.788, allocations: 0.6257 MB / 2.735 GB, free: 27.87 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/6.789, allocations: 0 / 2.735 GB, free: 27.87 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003356/6.793, allocations: 185.5 kB / 2.735 GB, free: 27.86 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/6.793, allocations: 83.89 kB / 2.735 GB, free: 27.85 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/6.793, allocations: 85.06 kB / 2.735 GB, free: 27.84 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.005323/6.798, allocations: 1.956 MB / 2.737 GB, free: 27.03 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.01015/6.809, allocations: 1.92 MB / 2.739 GB, free: 26.61 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.004548/6.813, allocations: 2.321 MB / 2.741 GB, free: 25.78 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.009357/6.823, allocations: 3.905 MB / 2.745 GB, free: 24.21 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/6.823, allocations: 3.312 kB / 2.745 GB, free: 24.21 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/6.825, allocations: 0.861 MB / 2.746 GB, free: 23.8 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00834/6.833, allocations: 1.52 MB / 2.747 GB, free: 22.63 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/6.847, allocations: 4.73 MB / 2.752 GB, free: 18.28 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004186/6.851, allocations: 2.62 MB / 2.755 GB, free: 16.27 MB / 0.745 GB Notification: Performance of SimCode: time 1.823e-06/6.851, allocations: 0 / 2.755 GB, free: 16.27 MB / 0.745 GB Notification: Performance of Templates: time 0.5962/7.448, allocations: 91.5 MB / 2.844 GB, free: 131.7 MB / 0.7763 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)