Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.562/1.562, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001391/0.001391, allocations: 193.2 kB / 361.1 MB, free: 7.07 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.364/1.364, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008772/0.0008773, allocations: 90.28 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.728e-06, allocations: 4 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6344/0.6345, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9542/1.589, allocations: 440.9 MB / 1.394 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.589, allocations: 87.42 kB / 1.394 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.291/6.88, allocations: 1.492 GB / 2.886 GB, free: 83.38 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0007461/6.881, allocations: 102.4 kB / 2.886 GB, free: 83.36 MB / 0.9948 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.01208/6.893, allocations: 3.586 MB / 2.89 GB, free: 81.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/6.893, allocations: 9.375 kB / 2.89 GB, free: 81.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007486/6.901, allocations: 1.198 MB / 2.891 GB, free: 81.47 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06697/6.968, allocations: 27.69 MB / 2.918 GB, free: 79.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/6.968, allocations: 68.31 kB / 2.918 GB, free: 79.83 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/6.969, allocations: 141.9 kB / 2.918 GB, free: 79.83 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004936/6.974, allocations: 1.793 MB / 2.92 GB, free: 79.81 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005087/6.979, allocations: 2.174 MB / 2.922 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/6.979, allocations: 7.562 kB / 2.922 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/6.979, allocations: 2.938 kB / 2.922 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/6.979, allocations: 52.38 kB / 2.922 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/7, allocations: 11.85 MB / 2.934 GB, free: 73.33 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/7.002, allocations: 1.639 MB / 2.935 GB, free: 73.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009259/7.003, allocations: 0.7257 MB / 2.936 GB, free: 73.29 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006487/7.01, allocations: 3.618 MB / 2.939 GB, free: 71.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/7.01, allocations: 45.38 kB / 2.94 GB, free: 71.56 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=116): time 3.957e-06/7.01, allocations: 96 / 2.94 GB, free: 71.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=116): time 0.007452/7.017, allocations: 2.499 MB / 2.942 GB, free: 71.25 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/7.017, allocations: 63 kB / 2.942 GB, free: 71.19 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/7.021, allocations: 2.427 MB / 2.944 GB, free: 70.94 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004393/7.022, allocations: 29.33 kB / 2.944 GB, free: 70.91 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005791/7.023, allocations: 0.9962 MB / 2.945 GB, free: 70.42 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/7.023, allocations: 386 kB / 2.946 GB, free: 70.17 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/7.023, allocations: 0 / 2.946 GB, free: 70.17 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001054/7.023, allocations: 375.4 kB / 2.946 GB, free: 69.86 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/7.024, allocations: 0.7036 MB / 2.947 GB, free: 69.86 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/7.026, allocations: 1.442 MB / 2.948 GB, free: 68.95 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/7.029, allocations: 1.119 MB / 2.949 GB, free: 68.91 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/7.029, allocations: 6.156 kB / 2.949 GB, free: 68.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.009315/7.038, allocations: 3.029 MB / 2.952 GB, free: 68.53 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002319/7.041, allocations: 7.586 MB / 2.96 GB, free: 60.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.426e-05/7.041, allocations: 19.41 kB / 2.96 GB, free: 60.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/7.043, allocations: 0.7167 MB / 2.96 GB, free: 60.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/7.045, allocations: 384.2 kB / 2.961 GB, free: 60.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/7.049, allocations: 5.508 MB / 2.966 GB, free: 56.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/7.053, allocations: 297 kB / 2.966 GB, free: 56.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006492/7.054, allocations: 154.5 kB / 2.967 GB, free: 56.23 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/7.054, allocations: 3.594 kB / 2.967 GB, free: 56.23 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007559/7.061, allocations: 2.422 MB / 2.969 GB, free: 56.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.259e-05/7.062, allocations: 23.47 kB / 2.969 GB, free: 56.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/7.064, allocations: 0.8275 MB / 2.97 GB, free: 55.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/7.065, allocations: 353.2 kB / 2.97 GB, free: 55.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/7.081, allocations: 12.22 MB / 2.982 GB, free: 47.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/7.085, allocations: 241.9 kB / 2.982 GB, free: 47.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006336/7.085, allocations: 134.7 kB / 2.982 GB, free: 47.69 MB / 0.9948 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.001095/7.086, allocations: 184.3 kB / 2.983 GB, free: 47.53 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/7.088, allocations: 320.7 kB / 2.983 GB, free: 47.36 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008898/7.096, allocations: 2.903 MB / 2.986 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/7.096, allocations: 19.2 kB / 2.986 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/7.097, allocations: 0 / 2.986 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/7.097, allocations: 10.14 kB / 2.986 GB, free: 46.49 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/7.109, allocations: 4.558 MB / 2.99 GB, free: 44.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/7.109, allocations: 2.5 kB / 2.99 GB, free: 44.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/7.11, allocations: 216.9 kB / 2.99 GB, free: 44.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/7.112, allocations: 0.5138 MB / 2.991 GB, free: 44.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/7.112, allocations: 34.05 kB / 2.991 GB, free: 44.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003103/7.115, allocations: 5.072 MB / 2.996 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/7.115, allocations: 0 / 2.996 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006127/7.121, allocations: 2.483 MB / 2.998 GB, free: 38.94 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/7.123, allocations: 0.5814 MB / 2.999 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/7.124, allocations: 0 / 2.999 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002838/7.127, allocations: 178.6 kB / 2.999 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/7.127, allocations: 82.22 kB / 2.999 GB, free: 38.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/7.128, allocations: 75.61 kB / 2.999 GB, free: 38.52 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.004388/7.132, allocations: 1.807 MB / 3.001 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.011/7.143, allocations: 1.825 MB / 3.003 GB, free: 37.38 MB / 0.9948 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.005321/7.148, allocations: 2.255 MB / 3.005 GB, free: 36.54 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007456/7.156, allocations: 3.525 MB / 3.008 GB, free: 35.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/7.156, allocations: 3.609 kB / 3.008 GB, free: 35.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/7.158, allocations: 0.8092 MB / 3.009 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007632/7.165, allocations: 1.358 MB / 3.011 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/7.179, allocations: 4.456 MB / 3.015 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004183/7.183, allocations: 2.513 MB / 3.017 GB, free: 31.86 MB / 0.9948 GB Notification: Performance of SimCode: time 1.353e-06/7.183, allocations: 0 / 3.017 GB, free: 31.86 MB / 0.9948 GB Notification: Performance of Templates: time 0.6599/7.843, allocations: 85.19 MB / 3.101 GB, free: 215.6 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)