Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.258/1.258, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 181.3 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.2 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 101 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3502/0.3511, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.5274, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.581, allocations: 435.6 MB / 1.31 GB, free: 310.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/1.581, allocations: 90.39 kB / 1.31 GB, free: 310.8 MB / 0.8698 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 3.939/5.521, allocations: 1.405 GB / 2.715 GB, free: 82.58 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/5.521, allocations: 7.656 kB / 2.715 GB, free: 82.58 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006377/5.527, allocations: 1.215 MB / 2.716 GB, free: 82.33 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06159/5.589, allocations: 27.89 MB / 2.744 GB, free: 80.64 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.722e-05/5.589, allocations: 77.53 kB / 2.744 GB, free: 80.64 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/5.59, allocations: 142.4 kB / 2.744 GB, free: 80.64 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003196/5.593, allocations: 1.912 MB / 2.746 GB, free: 80.62 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/5.596, allocations: 2.289 MB / 2.748 GB, free: 80.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/5.596, allocations: 3.938 kB / 2.748 GB, free: 80.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/5.596, allocations: 7.078 kB / 2.748 GB, free: 80.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/5.596, allocations: 47.94 kB / 2.748 GB, free: 80.27 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/5.612, allocations: 12.06 MB / 2.76 GB, free: 74.27 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/5.614, allocations: 1.951 MB / 2.762 GB, free: 74.24 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009534/5.615, allocations: 0.8295 MB / 2.762 GB, free: 74.23 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006149/5.621, allocations: 3.963 MB / 2.766 GB, free: 72.35 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/5.621, allocations: 51.34 kB / 2.766 GB, free: 72.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=119): time 2.645e-06/5.621, allocations: 0 / 2.766 GB, free: 72.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119): time 0.007034/5.629, allocations: 2.799 MB / 2.769 GB, free: 72 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/5.629, allocations: 70.03 kB / 2.769 GB, free: 71.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003526/5.632, allocations: 2.607 MB / 2.772 GB, free: 71.63 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003154/5.632, allocations: 28.58 kB / 2.772 GB, free: 71.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005081/5.633, allocations: 1.018 MB / 2.773 GB, free: 71.11 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/5.633, allocations: 396.7 kB / 2.773 GB, free: 70.85 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/5.633, allocations: 3.031 kB / 2.773 GB, free: 70.85 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/5.634, allocations: 381.5 kB / 2.773 GB, free: 70.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/5.635, allocations: 0.8407 MB / 2.774 GB, free: 70.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/5.636, allocations: 1.635 MB / 2.776 GB, free: 69.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/5.639, allocations: 1.28 MB / 2.777 GB, free: 69.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/5.639, allocations: 6.406 kB / 2.777 GB, free: 69.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007043/5.646, allocations: 3.369 MB / 2.78 GB, free: 69.24 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001381/5.648, allocations: 8.045 MB / 2.788 GB, free: 60.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/5.648, allocations: 18.06 kB / 2.788 GB, free: 60.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/5.65, allocations: 0.8804 MB / 2.789 GB, free: 60.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/5.651, allocations: 400.9 kB / 2.79 GB, free: 60.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/5.656, allocations: 5.949 MB / 2.795 GB, free: 56.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/5.659, allocations: 306.9 kB / 2.796 GB, free: 56.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/5.659, allocations: 184.2 kB / 2.796 GB, free: 56.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/5.659, allocations: 3.875 kB / 2.796 GB, free: 56.57 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007144/5.666, allocations: 2.822 MB / 2.799 GB, free: 56.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/5.666, allocations: 18.06 kB / 2.799 GB, free: 56.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/5.669, allocations: 1.027 MB / 2.8 GB, free: 56.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/5.67, allocations: 371.7 kB / 2.8 GB, free: 56.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/5.687, allocations: 13.89 MB / 2.814 GB, free: 48.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/5.69, allocations: 249.5 kB / 2.814 GB, free: 48.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/5.69, allocations: 154.5 kB / 2.814 GB, free: 48.64 MB / 0.9167 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.0006168/5.691, allocations: 176.1 kB / 2.814 GB, free: 48.52 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/5.691, allocations: 343.6 kB / 2.814 GB, free: 48.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006662/5.698, allocations: 2.954 MB / 2.817 GB, free: 48.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/5.698, allocations: 25.17 kB / 2.817 GB, free: 48.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/5.698, allocations: 6.312 kB / 2.817 GB, free: 48.12 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/5.698, allocations: 7.172 kB / 2.817 GB, free: 48.12 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/5.708, allocations: 4.823 MB / 2.822 GB, free: 47.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/5.708, allocations: 3.312 kB / 2.822 GB, free: 47.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/5.709, allocations: 220.2 kB / 2.822 GB, free: 47.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/5.71, allocations: 0.5564 MB / 2.823 GB, free: 47.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/5.71, allocations: 30.61 kB / 2.823 GB, free: 47.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/5.713, allocations: 5.194 MB / 2.828 GB, free: 43.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/5.713, allocations: 1.688 kB / 2.828 GB, free: 43.39 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005549/5.719, allocations: 2.682 MB / 2.831 GB, free: 42.75 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005936/5.725, allocations: 3.254 MB / 2.834 GB, free: 41.74 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/5.726, allocations: 0.6034 MB / 2.834 GB, free: 41.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004967/5.727, allocations: 4.75 kB / 2.834 GB, free: 41.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/5.729, allocations: 188.3 kB / 2.834 GB, free: 41.43 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/5.729, allocations: 94.89 kB / 2.835 GB, free: 41.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/5.729, allocations: 82.48 kB / 2.835 GB, free: 41.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002814/5.732, allocations: 1.938 MB / 2.837 GB, free: 41.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008951/5.741, allocations: 2.46 MB / 2.839 GB, free: 40.95 MB / 0.9167 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.003262/5.744, allocations: 2.28 MB / 2.841 GB, free: 40.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006827/5.751, allocations: 3.91 MB / 2.845 GB, free: 39.85 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/5.751, allocations: 0 / 2.845 GB, free: 39.85 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/5.753, allocations: 0.8549 MB / 2.846 GB, free: 39.84 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007481/5.76, allocations: 1.521 MB / 2.847 GB, free: 39.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/5.771, allocations: 4.716 MB / 2.852 GB, free: 38.62 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/5.773, allocations: 2.612 MB / 2.854 GB, free: 37.86 MB / 0.9167 GB Notification: Performance of SimCode: time 1.072e-06/5.773, allocations: 0 / 2.854 GB, free: 37.86 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)