Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001447/0.001447, allocations: 177.3 kB / 366.3 MB, free: 2 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.545/1.545, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0009481/0.000948, allocations: 90.52 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.372e-06, allocations: 0 / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6793/0.6794, allocations: 116.3 MB / 0.9725 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.97/1.649, allocations: 443.2 MB / 1.405 GB, free: 46.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.65, allocations: 89.81 kB / 1.405 GB, free: 46.26 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.069/6.719, allocations: 1.44 GB / 2.845 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005071/6.72, allocations: 106.5 kB / 2.845 GB, free: 103.7 MB / 0.9792 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.01027/6.73, allocations: 3.707 MB / 2.849 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/6.73, allocations: 12.22 kB / 2.849 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006768/6.737, allocations: 1.212 MB / 2.85 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06376/6.8, allocations: 28.58 MB / 2.878 GB, free: 99.95 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/6.801, allocations: 68.84 kB / 2.878 GB, free: 99.95 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/6.801, allocations: 144.4 kB / 2.878 GB, free: 99.95 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003449/6.805, allocations: 1.922 MB / 2.88 GB, free: 99.93 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/6.809, allocations: 2.287 MB / 2.883 GB, free: 99.56 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/6.809, allocations: 3.938 kB / 2.883 GB, free: 99.55 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/6.809, allocations: 7.766 kB / 2.883 GB, free: 99.55 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/6.809, allocations: 50.84 kB / 2.883 GB, free: 99.55 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01779/6.827, allocations: 12.06 MB / 2.894 GB, free: 93.44 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/6.829, allocations: 1.945 MB / 2.896 GB, free: 93.41 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/6.83, allocations: 0.8404 MB / 2.897 GB, free: 93.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006896/6.837, allocations: 3.98 MB / 2.901 GB, free: 91.52 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/6.837, allocations: 42.94 kB / 2.901 GB, free: 91.48 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=119): time 3.647e-06/6.837, allocations: 0 / 2.901 GB, free: 91.48 MB / 0.9792 GB Notification: Performance of matching and sorting (n=119): time 0.007738/6.845, allocations: 2.804 MB / 2.904 GB, free: 91.16 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/6.845, allocations: 64.81 kB / 2.904 GB, free: 91.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/6.849, allocations: 2.602 MB / 2.906 GB, free: 90.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004536/6.85, allocations: 32.52 kB / 2.906 GB, free: 90.77 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/6.85, allocations: 1.036 MB / 2.907 GB, free: 90.22 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005206/6.851, allocations: 395.3 kB / 2.908 GB, free: 89.91 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/6.851, allocations: 0 / 2.908 GB, free: 89.91 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001134/6.851, allocations: 382.3 kB / 2.908 GB, free: 89.58 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/6.852, allocations: 0.8405 MB / 2.909 GB, free: 89.26 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/6.854, allocations: 1.625 MB / 2.911 GB, free: 87.93 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/6.857, allocations: 1.278 MB / 2.912 GB, free: 87.54 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/6.857, allocations: 3.625 kB / 2.912 GB, free: 87.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00738/6.865, allocations: 3.373 MB / 2.915 GB, free: 86.34 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001481/6.866, allocations: 8.057 MB / 2.923 GB, free: 77.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/6.866, allocations: 16.44 kB / 2.923 GB, free: 77.86 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/6.868, allocations: 0.8754 MB / 2.924 GB, free: 77.58 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/6.87, allocations: 401.5 kB / 2.924 GB, free: 77.54 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004333/6.874, allocations: 5.942 MB / 2.93 GB, free: 72.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/6.878, allocations: 307.6 kB / 2.93 GB, free: 72.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004185/6.879, allocations: 186.1 kB / 2.93 GB, free: 72.58 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/6.879, allocations: 5.938 kB / 2.93 GB, free: 72.58 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007045/6.886, allocations: 2.824 MB / 2.933 GB, free: 71.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/6.886, allocations: 17.47 kB / 2.933 GB, free: 71.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/6.889, allocations: 1.024 MB / 2.934 GB, free: 71.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/6.89, allocations: 372.8 kB / 2.935 GB, free: 71.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/6.908, allocations: 13.89 MB / 2.948 GB, free: 61.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/6.912, allocations: 257.6 kB / 2.948 GB, free: 61.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005259/6.912, allocations: 153.1 kB / 2.949 GB, free: 61.75 MB / 0.9792 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.0007743/6.913, allocations: 179.9 kB / 2.949 GB, free: 61.59 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008611/6.914, allocations: 341.1 kB / 2.949 GB, free: 61.41 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007227/6.921, allocations: 2.965 MB / 2.952 GB, free: 60.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/6.921, allocations: 17.8 kB / 2.952 GB, free: 60.45 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/6.921, allocations: 3.906 kB / 2.952 GB, free: 60.44 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/6.921, allocations: 8.719 kB / 2.952 GB, free: 60.44 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/6.932, allocations: 4.849 MB / 2.957 GB, free: 58.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/6.932, allocations: 3.969 kB / 2.957 GB, free: 58.53 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/6.934, allocations: 216.6 kB / 2.957 GB, free: 58.51 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/6.935, allocations: 0.5649 MB / 2.957 GB, free: 58.31 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/6.935, allocations: 28.53 kB / 2.958 GB, free: 58.31 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/6.938, allocations: 5.196 MB / 2.963 GB, free: 53.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/6.938, allocations: 2.75 kB / 2.963 GB, free: 53.72 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006216/6.944, allocations: 2.676 MB / 2.965 GB, free: 52.55 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/6.946, allocations: 0.6152 MB / 2.966 GB, free: 52.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006083/6.947, allocations: 0.6562 kB / 2.966 GB, free: 52.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/6.949, allocations: 181.7 kB / 2.966 GB, free: 52.13 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/6.949, allocations: 87.59 kB / 2.966 GB, free: 52.11 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/6.95, allocations: 87.59 kB / 2.966 GB, free: 52.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.003207/6.953, allocations: 1.943 MB / 2.968 GB, free: 51.29 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008131/6.961, allocations: 1.914 MB / 2.97 GB, free: 50.88 MB / 0.9792 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.004218/6.965, allocations: 2.314 MB / 2.972 GB, free: 49.03 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007769/6.973, allocations: 3.903 MB / 2.976 GB, free: 45.39 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/6.973, allocations: 4 kB / 2.976 GB, free: 45.39 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/6.975, allocations: 0.8596 MB / 2.977 GB, free: 44.62 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007583/6.982, allocations: 1.518 MB / 2.978 GB, free: 43.47 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/6.993, allocations: 4.724 MB / 2.983 GB, free: 39.12 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/6.995, allocations: 2.61 MB / 2.985 GB, free: 37.11 MB / 0.9792 GB Notification: Performance of SimCode: time 9.62e-07/6.995, allocations: 3.938 kB / 2.985 GB, free: 37.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.6713/7.666, allocations: 91.33 MB / 3.075 GB, free: 193.5 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)