Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",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.1/package.mo): time 2.353/2.353, allocations: 248.6 MB / 255.9 MB, free: 7.168 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.001712/0.001712, allocations: 196.8 kB / 315.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.266/2.266, allocations: 205.1 MB / 0.5658 GB, free: 380 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001301/0.0013, allocations: 94.77 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.493/0.4943, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.7315, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.593/2.325, allocations: 434.2 MB / 1.307 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/2.325, allocations: 89.8 kB / 1.308 GB, free: 239.7 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 7.722/10.05, allocations: 1.455 GB / 2.762 GB, free: 72.09 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/10.05, allocations: 6.656 kB / 2.762 GB, free: 72.09 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/10.06, allocations: 1.198 MB / 2.764 GB, free: 71.85 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1123/10.17, allocations: 27.02 MB / 2.79 GB, free: 70.21 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/10.17, allocations: 68.47 kB / 2.79 GB, free: 70.21 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/10.17, allocations: 141.6 kB / 2.79 GB, free: 70.21 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00888/10.18, allocations: 1.798 MB / 2.792 GB, free: 70.19 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/10.2, allocations: 2.165 MB / 2.794 GB, free: 69.84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.874e-05/10.2, allocations: 1.688 kB / 2.794 GB, free: 69.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008503/10.2, allocations: 6.047 kB / 2.794 GB, free: 69.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.73e-05/10.2, allocations: 56.81 kB / 2.794 GB, free: 69.84 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/10.23, allocations: 11.83 MB / 2.806 GB, free: 63.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/10.23, allocations: 1.641 MB / 2.807 GB, free: 63.67 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/10.24, allocations: 0.7239 MB / 2.808 GB, free: 63.66 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/10.25, allocations: 3.597 MB / 2.812 GB, free: 61.96 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.551e-05/10.25, allocations: 46.34 kB / 2.812 GB, free: 61.92 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=116): time 7.965e-06/10.25, allocations: 3.531 kB / 2.812 GB, free: 61.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=116): time 0.02298/10.27, allocations: 2.495 MB / 2.814 GB, free: 61.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/10.27, allocations: 66.5 kB / 2.814 GB, free: 61.55 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009783/10.28, allocations: 2.423 MB / 2.816 GB, free: 61.31 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008038/10.28, allocations: 29.27 kB / 2.816 GB, free: 61.28 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/10.28, allocations: 0.9997 MB / 2.817 GB, free: 60.78 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/10.28, allocations: 385.3 kB / 2.818 GB, free: 60.53 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/10.28, allocations: 0 / 2.818 GB, free: 60.53 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002487/10.28, allocations: 378.5 kB / 2.818 GB, free: 60.22 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/10.29, allocations: 0.7041 MB / 2.819 GB, free: 60.22 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/10.29, allocations: 1.438 MB / 2.82 GB, free: 59.31 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009725/10.3, allocations: 1.126 MB / 2.821 GB, free: 59.26 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.521e-05/10.3, allocations: 5.156 kB / 2.821 GB, free: 59.26 MB / 0.9011 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.02304/10.32, allocations: 3.021 MB / 2.824 GB, free: 58.89 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002529/10.33, allocations: 7.583 MB / 2.832 GB, free: 50.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/10.33, allocations: 20.58 kB / 2.832 GB, free: 50.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/10.33, allocations: 0.7122 MB / 2.832 GB, free: 50.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005174/10.34, allocations: 388.3 kB / 2.833 GB, free: 50.87 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/10.35, allocations: 5.515 MB / 2.838 GB, free: 46.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007793/10.36, allocations: 286.3 kB / 2.838 GB, free: 46.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/10.36, allocations: 156.8 kB / 2.839 GB, free: 46.45 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/10.36, allocations: 4.625 kB / 2.839 GB, free: 46.45 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01319/10.37, allocations: 2.425 MB / 2.841 GB, free: 45.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.863e-05/10.37, allocations: 17.38 kB / 2.841 GB, free: 45.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004325/10.38, allocations: 0.8322 MB / 2.842 GB, free: 45.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/10.38, allocations: 357 kB / 2.842 GB, free: 45.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04286/10.42, allocations: 12.21 MB / 2.854 GB, free: 36.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007232/10.43, allocations: 238.1 kB / 2.854 GB, free: 36.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/10.43, allocations: 145.3 kB / 2.854 GB, free: 36.34 MB / 0.9011 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.00154/10.43, allocations: 167.9 kB / 2.855 GB, free: 36.19 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001659/10.43, allocations: 327.4 kB / 2.855 GB, free: 36.01 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02446/10.46, allocations: 2.899 MB / 2.858 GB, free: 35.08 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/10.46, allocations: 14.28 kB / 2.858 GB, free: 35.08 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/10.46, allocations: 0.6875 kB / 2.858 GB, free: 35.08 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-05/10.46, allocations: 10.55 kB / 2.858 GB, free: 35.08 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0306/10.49, allocations: 4.529 MB / 2.862 GB, free: 33.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.724e-05/10.49, allocations: 1.094 kB / 2.862 GB, free: 33.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004261/10.49, allocations: 216 kB / 2.862 GB, free: 33.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/10.5, allocations: 0.5247 MB / 2.863 GB, free: 33.08 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005391/10.5, allocations: 32.56 kB / 2.863 GB, free: 33.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/10.5, allocations: 5.064 MB / 2.868 GB, free: 28.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/10.5, allocations: 4.812 kB / 2.868 GB, free: 28.53 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01185/10.52, allocations: 2.48 MB / 2.87 GB, free: 27.5 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01256/10.53, allocations: 3.052 MB / 2.873 GB, free: 25.95 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002668/10.53, allocations: 0.5806 MB / 2.874 GB, free: 25.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/10.53, allocations: 1.594 kB / 2.874 GB, free: 25.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004733/10.54, allocations: 176.5 kB / 2.874 GB, free: 25.53 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000478/10.54, allocations: 83.58 kB / 2.874 GB, free: 25.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003597/10.54, allocations: 81.94 kB / 2.874 GB, free: 25.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.006293/10.54, allocations: 1.807 MB / 2.876 GB, free: 24.77 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01591/10.56, allocations: 2.339 MB / 2.878 GB, free: 23.82 MB / 0.9011 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.005655/10.57, allocations: 2.233 MB / 2.88 GB, free: 22.19 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01071/10.58, allocations: 3.513 MB / 2.884 GB, free: 18.91 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/10.58, allocations: 0 / 2.884 GB, free: 18.91 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002945/10.58, allocations: 0.8112 MB / 2.885 GB, free: 18.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01168/10.59, allocations: 1.35 MB / 2.886 GB, free: 17.14 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/10.61, allocations: 4.456 MB / 2.89 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005556/10.62, allocations: 2.507 MB / 2.893 GB, free: 27.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.753e-06/10.62, allocations: 4 kB / 2.893 GB, free: 27.1 MB / 0.9167 GB