Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.447/2.447, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.002785/0.002784, allocations: 181.3 kB / 360.3 MB, free: 7.551 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.928/1.928, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001233/0.001233, allocations: 89.72 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2713/0.2725, allocations: 121.4 MB / 0.8502 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6652/0.9378, allocations: 115.2 MB / 0.9627 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/2.031, allocations: 442 MB / 1.394 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004363/2.032, allocations: 97.27 kB / 1.394 GB, free: 126.9 MB / 0.8542 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 7.448/9.48, allocations: 1.443 GB / 2.838 GB, free: 99.77 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/9.48, allocations: 13.53 kB / 2.838 GB, free: 99.77 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/9.493, allocations: 1.211 MB / 2.839 GB, free: 99.53 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1297/9.622, allocations: 28.56 MB / 2.867 GB, free: 97.84 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/9.623, allocations: 68.41 kB / 2.867 GB, free: 97.84 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/9.624, allocations: 146.3 kB / 2.867 GB, free: 97.84 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009587/9.634, allocations: 1.923 MB / 2.869 GB, free: 97.82 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/9.645, allocations: 2.294 MB / 2.871 GB, free: 97.46 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-05/9.645, allocations: 5.125 kB / 2.871 GB, free: 97.46 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004375/9.646, allocations: 3.344 kB / 2.871 GB, free: 97.46 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/9.646, allocations: 52.59 kB / 2.871 GB, free: 97.46 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02951/9.675, allocations: 12.06 MB / 2.883 GB, free: 91.46 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004889/9.68, allocations: 1.944 MB / 2.885 GB, free: 91.43 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/9.683, allocations: 0.8389 MB / 2.886 GB, free: 91.42 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/9.694, allocations: 3.996 MB / 2.89 GB, free: 89.53 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/9.694, allocations: 45.59 kB / 2.89 GB, free: 89.49 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=119): time 4.889e-06/9.694, allocations: 0 / 2.89 GB, free: 89.49 MB / 0.9792 GB Notification: Performance of matching and sorting (n=119): time 0.014/9.708, allocations: 2.801 MB / 2.893 GB, free: 89.18 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/9.709, allocations: 65.03 kB / 2.893 GB, free: 89.11 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008/9.717, allocations: 2.605 MB / 2.895 GB, free: 88.82 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007229/9.717, allocations: 29.61 kB / 2.895 GB, free: 88.79 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001374/9.719, allocations: 1.025 MB / 2.896 GB, free: 88.29 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/9.72, allocations: 399.3 kB / 2.897 GB, free: 88.03 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/9.72, allocations: 0 / 2.897 GB, free: 88.03 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001995/9.72, allocations: 377.7 kB / 2.897 GB, free: 87.72 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003839/9.724, allocations: 0.8451 MB / 2.898 GB, free: 87.72 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005366/9.73, allocations: 1.624 MB / 2.899 GB, free: 86.77 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009995/9.74, allocations: 1.284 MB / 2.901 GB, free: 86.74 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.85e-05/9.74, allocations: 5.688 kB / 2.901 GB, free: 86.74 MB / 0.9792 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01736/9.757, allocations: 3.373 MB / 2.904 GB, free: 86.43 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001888/9.759, allocations: 8.052 MB / 2.912 GB, free: 78.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/9.759, allocations: 19.47 kB / 2.912 GB, free: 78.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/9.763, allocations: 0.8733 MB / 2.913 GB, free: 78.02 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/9.767, allocations: 404.3 kB / 2.913 GB, free: 78.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00772/9.775, allocations: 5.942 MB / 2.919 GB, free: 73.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/9.781, allocations: 313.4 kB / 2.919 GB, free: 73.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009283/9.782, allocations: 181.8 kB / 2.919 GB, free: 73.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/9.782, allocations: 6.109 kB / 2.919 GB, free: 73.75 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01381/9.795, allocations: 2.824 MB / 2.922 GB, free: 73.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.916e-05/9.796, allocations: 20.47 kB / 2.922 GB, free: 73.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/9.801, allocations: 1.026 MB / 2.923 GB, free: 73.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/9.804, allocations: 368.2 kB / 2.923 GB, free: 73.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03119/9.835, allocations: 13.89 MB / 2.937 GB, free: 65.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005319/9.841, allocations: 260.2 kB / 2.937 GB, free: 65.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008275/9.841, allocations: 154.1 kB / 2.937 GB, free: 65.8 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.001063/9.843, allocations: 172.3 kB / 2.938 GB, free: 65.68 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/9.844, allocations: 343.6 kB / 2.938 GB, free: 65.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/9.857, allocations: 2.961 MB / 2.941 GB, free: 65.27 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.298e-05/9.857, allocations: 19.77 kB / 2.941 GB, free: 65.27 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/9.857, allocations: 3.906 kB / 2.941 GB, free: 65.26 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.111e-05/9.857, allocations: 6.562 kB / 2.941 GB, free: 65.26 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/9.881, allocations: 4.841 MB / 2.946 GB, free: 64.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/9.881, allocations: 2.969 kB / 2.946 GB, free: 64.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003444/9.885, allocations: 220.4 kB / 2.946 GB, free: 64.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003162/9.888, allocations: 0.5576 MB / 2.946 GB, free: 64.68 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005311/9.889, allocations: 30.7 kB / 2.946 GB, free: 64.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/9.896, allocations: 5.198 MB / 2.951 GB, free: 60.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/9.896, allocations: 0 / 2.951 GB, free: 60.52 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01573/9.912, allocations: 2.68 MB / 2.954 GB, free: 59.88 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01719/9.929, allocations: 3.26 MB / 2.957 GB, free: 58.87 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00361/9.933, allocations: 0.6149 MB / 2.958 GB, free: 58.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00199/9.935, allocations: 0 / 2.958 GB, free: 58.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007026/9.942, allocations: 181.5 kB / 2.958 GB, free: 58.56 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/9.943, allocations: 86.81 kB / 2.958 GB, free: 58.55 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005183/9.943, allocations: 81.44 kB / 2.958 GB, free: 58.55 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.007996/9.951, allocations: 1.946 MB / 2.96 GB, free: 58.07 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02195/9.973, allocations: 2.512 MB / 2.963 GB, free: 57.06 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.007423/9.981, allocations: 2.319 MB / 2.965 GB, free: 56.35 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01632/9.997, allocations: 3.914 MB / 2.969 GB, free: 54.81 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/9.997, allocations: 2.438 kB / 2.969 GB, free: 54.81 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004243/10, allocations: 0.8575 MB / 2.969 GB, free: 54.54 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01891/10.02, allocations: 1.521 MB / 2.971 GB, free: 54.23 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/10.05, allocations: 4.721 MB / 2.976 GB, free: 52.43 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007355/10.05, allocations: 2.608 MB / 2.978 GB, free: 51.51 MB / 0.9792 GB Notification: Performance of SimCode: time 1.482e-06/10.05, allocations: 0 / 2.978 GB, free: 51.51 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)