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: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.571/1.571, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.00123/0.00123, allocations: 181.3 kB / 366.3 MB, free: 2.016 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.443/1.443, allocations: 205.2 MB / 0.6256 GB, free: 5.82 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.0009674/0.0009676, allocations: 87.34 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.291/0.292, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7079/1, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9152/1.915, allocations: 443.2 MB / 1.405 GB, free: 46.22 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/1.916, allocations: 92.12 kB / 1.406 GB, free: 46.18 MB / 0.823 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 5.285/7.201, allocations: 1.443 GB / 2.849 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/7.201, allocations: 11.44 kB / 2.849 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007659/7.209, allocations: 1.211 MB / 2.85 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06948/7.278, allocations: 28.57 MB / 2.878 GB, free: 99.46 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/7.278, allocations: 70.81 kB / 2.878 GB, free: 99.46 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/7.279, allocations: 145.8 kB / 2.878 GB, free: 99.46 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004842/7.284, allocations: 1.921 MB / 2.88 GB, free: 99.44 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005658/7.29, allocations: 2.29 MB / 2.882 GB, free: 99.08 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/7.29, allocations: 3.938 kB / 2.882 GB, free: 99.07 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004373/7.29, allocations: 5.906 kB / 2.882 GB, free: 99.07 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/7.291, allocations: 53.34 kB / 2.882 GB, free: 99.07 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02322/7.314, allocations: 12.06 MB / 2.894 GB, free: 92.96 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004495/7.318, allocations: 1.947 MB / 2.896 GB, free: 92.93 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/7.32, allocations: 0.8378 MB / 2.897 GB, free: 92.92 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/7.331, allocations: 3.987 MB / 2.901 GB, free: 91.02 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/7.331, allocations: 45.41 kB / 2.901 GB, free: 90.98 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=119): time 3.757e-06/7.331, allocations: 3.219 kB / 2.901 GB, free: 90.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=119): time 0.008893/7.34, allocations: 2.806 MB / 2.904 GB, free: 90.66 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/7.34, allocations: 64.31 kB / 2.904 GB, free: 90.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007213/7.347, allocations: 2.597 MB / 2.906 GB, free: 90.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007592/7.348, allocations: 35.23 kB / 2.906 GB, free: 90.27 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/7.349, allocations: 1.029 MB / 2.907 GB, free: 89.72 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/7.35, allocations: 399.9 kB / 2.908 GB, free: 89.41 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/7.351, allocations: 0 / 2.908 GB, free: 89.41 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001885/7.351, allocations: 378.8 kB / 2.908 GB, free: 89.07 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/7.353, allocations: 0.8445 MB / 2.909 GB, free: 88.75 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/7.355, allocations: 1.63 MB / 2.91 GB, free: 87.41 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004214/7.36, allocations: 1.275 MB / 2.912 GB, free: 87.02 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/7.36, allocations: 3.594 kB / 2.912 GB, free: 87.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009322/7.369, allocations: 3.371 MB / 2.915 GB, free: 85.84 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002054/7.371, allocations: 8.056 MB / 2.923 GB, free: 77.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.242e-05/7.371, allocations: 18.28 kB / 2.923 GB, free: 77.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/7.373, allocations: 0.878 MB / 2.924 GB, free: 77.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/7.375, allocations: 397 kB / 2.924 GB, free: 77.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/7.38, allocations: 5.944 MB / 2.93 GB, free: 72.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/7.384, allocations: 312 kB / 2.93 GB, free: 72.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006256/7.385, allocations: 181.8 kB / 2.93 GB, free: 72.07 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/7.385, allocations: 3.812 kB / 2.93 GB, free: 72.07 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008118/7.393, allocations: 2.829 MB / 2.933 GB, free: 71.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-05/7.393, allocations: 17.62 kB / 2.933 GB, free: 71.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002792/7.396, allocations: 1.025 MB / 2.934 GB, free: 70.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/7.398, allocations: 372.5 kB / 2.935 GB, free: 70.85 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/7.417, allocations: 13.88 MB / 2.948 GB, free: 61.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004631/7.422, allocations: 262.8 kB / 2.948 GB, free: 61.26 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008665/7.423, allocations: 150.5 kB / 2.948 GB, free: 61.25 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.001343/7.424, allocations: 175.3 kB / 2.949 GB, free: 61.09 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/7.426, allocations: 342.9 kB / 2.949 GB, free: 60.91 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008447/7.434, allocations: 2.964 MB / 2.952 GB, free: 59.95 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/7.434, allocations: 15.59 kB / 2.952 GB, free: 59.95 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/7.434, allocations: 7.469 kB / 2.952 GB, free: 59.95 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/7.434, allocations: 6.469 kB / 2.952 GB, free: 59.95 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/7.449, allocations: 4.859 MB / 2.957 GB, free: 58.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/7.449, allocations: 0 / 2.957 GB, free: 58.03 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/7.45, allocations: 218.9 kB / 2.957 GB, free: 58.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/7.451, allocations: 0.5511 MB / 2.957 GB, free: 57.82 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/7.451, allocations: 34.42 kB / 2.957 GB, free: 57.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/7.455, allocations: 5.203 MB / 2.962 GB, free: 53.22 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/7.455, allocations: 1.375 kB / 2.962 GB, free: 53.22 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007728/7.463, allocations: 2.677 MB / 2.965 GB, free: 52.05 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009086/7.472, allocations: 3.254 MB / 2.968 GB, free: 50.36 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/7.475, allocations: 0.6111 MB / 2.969 GB, free: 49.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/7.477, allocations: 2.219 kB / 2.969 GB, free: 49.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/7.48, allocations: 187.5 kB / 2.969 GB, free: 49.94 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/7.48, allocations: 92.92 kB / 2.969 GB, free: 49.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002611/7.48, allocations: 84.19 kB / 2.969 GB, free: 49.91 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.004966/7.485, allocations: 1.94 MB / 2.971 GB, free: 49.11 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01337/7.499, allocations: 2.519 MB / 2.974 GB, free: 47.48 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.004445/7.503, allocations: 2.305 MB / 2.976 GB, free: 45.58 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00856/7.512, allocations: 3.92 MB / 2.98 GB, free: 41.94 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/7.512, allocations: 2.25 kB / 2.98 GB, free: 41.94 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/7.514, allocations: 0.8638 MB / 2.98 GB, free: 41.15 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009047/7.523, allocations: 1.516 MB / 2.982 GB, free: 40 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/7.537, allocations: 4.726 MB / 2.987 GB, free: 35.66 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004287/7.541, allocations: 2.611 MB / 2.989 GB, free: 33.64 MB / 0.9792 GB Notification: Performance of SimCode: time 1.343e-06/7.541, allocations: 4 kB / 2.989 GB, free: 33.64 MB / 0.9792 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)