Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.481/2.481, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001772/0.001771, allocations: 177.3 kB / 360.3 MB, free: 7.52 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.921/1.921, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001298/0.001297, allocations: 92.33 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2965/0.2979, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.9674, allocations: 115.2 MB / 0.9627 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/2.138, allocations: 440.8 MB / 1.393 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003969/2.139, allocations: 88.19 kB / 1.393 GB, free: 123.4 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.651/9.79, allocations: 1.495 GB / 2.889 GB, free: 80.44 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/9.79, allocations: 7.688 kB / 2.889 GB, free: 80.44 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/9.802, allocations: 1.196 MB / 2.89 GB, free: 80.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1061/9.909, allocations: 27.7 MB / 2.917 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/9.909, allocations: 69.16 kB / 2.917 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/9.911, allocations: 140.8 kB / 2.917 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01149/9.922, allocations: 1.8 MB / 2.919 GB, free: 78.54 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007513/9.93, allocations: 2.172 MB / 2.921 GB, free: 78.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.787e-05/9.93, allocations: 6.562 kB / 2.921 GB, free: 78.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003738/9.93, allocations: 2.938 kB / 2.921 GB, free: 78.18 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/9.93, allocations: 52.75 kB / 2.921 GB, free: 78.18 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02796/9.958, allocations: 11.84 MB / 2.933 GB, free: 72.12 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/9.963, allocations: 1.643 MB / 2.934 GB, free: 72.09 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/9.965, allocations: 0.7275 MB / 2.935 GB, free: 72.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/9.976, allocations: 3.614 MB / 2.938 GB, free: 70.39 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/9.976, allocations: 51.44 kB / 2.938 GB, free: 70.36 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=116): time 3.958e-06/9.976, allocations: 3.5 kB / 2.938 GB, free: 70.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=116): time 0.01422/9.99, allocations: 2.5 MB / 2.941 GB, free: 70.05 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/9.99, allocations: 62.91 kB / 2.941 GB, free: 69.99 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009583/10, allocations: 2.422 MB / 2.943 GB, free: 69.75 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007256/10, allocations: 29.39 kB / 2.943 GB, free: 69.71 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001594/10, allocations: 1 MB / 2.944 GB, free: 69.22 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/10, allocations: 390.3 kB / 2.945 GB, free: 68.97 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/10, allocations: 0.5625 kB / 2.945 GB, free: 68.97 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002017/10, allocations: 367.7 kB / 2.945 GB, free: 68.66 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/10.01, allocations: 0.7135 MB / 2.946 GB, free: 68.66 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/10.01, allocations: 1.441 MB / 2.947 GB, free: 67.76 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006338/10.02, allocations: 1.117 MB / 2.948 GB, free: 67.74 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-05/10.02, allocations: 3.781 kB / 2.948 GB, free: 67.74 MB / 0.9948 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.02021/10.04, allocations: 3.03 MB / 2.951 GB, free: 67.36 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002968/10.04, allocations: 7.587 MB / 2.959 GB, free: 59.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/10.04, allocations: 18.06 kB / 2.959 GB, free: 59.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004881/10.04, allocations: 0.72 MB / 2.959 GB, free: 59.37 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005278/10.05, allocations: 387.3 kB / 2.96 GB, free: 59.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/10.06, allocations: 5.501 MB / 2.965 GB, free: 55.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00597/10.07, allocations: 297.5 kB / 2.965 GB, free: 55.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000847/10.07, allocations: 156 kB / 2.966 GB, free: 55.07 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/10.07, allocations: 3.406 kB / 2.966 GB, free: 55.07 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01215/10.08, allocations: 2.421 MB / 2.968 GB, free: 54.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-05/10.08, allocations: 17.75 kB / 2.968 GB, free: 54.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004038/10.08, allocations: 0.8266 MB / 2.969 GB, free: 54.81 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/10.09, allocations: 358.2 kB / 2.969 GB, free: 54.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0259/10.11, allocations: 12.21 MB / 2.981 GB, free: 47.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005219/10.12, allocations: 241.5 kB / 2.981 GB, free: 46.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007458/10.12, allocations: 140.2 kB / 2.981 GB, free: 46.98 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.0008992/10.12, allocations: 183.6 kB / 2.981 GB, free: 46.84 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/10.12, allocations: 319.8 kB / 2.982 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/10.14, allocations: 2.904 MB / 2.985 GB, free: 46.38 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-05/10.14, allocations: 19.44 kB / 2.985 GB, free: 46.38 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/10.14, allocations: 5.812 kB / 2.985 GB, free: 46.37 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-05/10.14, allocations: 14.5 kB / 2.985 GB, free: 46.37 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/10.15, allocations: 4.554 MB / 2.989 GB, free: 45.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/10.16, allocations: 0 / 2.989 GB, free: 45.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002595/10.16, allocations: 218.8 kB / 2.989 GB, free: 45.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/10.16, allocations: 0.5142 MB / 2.99 GB, free: 45.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003663/10.16, allocations: 32.3 kB / 2.99 GB, free: 45.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006056/10.17, allocations: 5.069 MB / 2.995 GB, free: 41.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/10.17, allocations: 0 / 2.995 GB, free: 41.64 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01037/10.18, allocations: 2.488 MB / 2.997 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0147/10.19, allocations: 3.045 MB / 3 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003604/10.2, allocations: 0.5829 MB / 3.001 GB, free: 39.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001878/10.2, allocations: 3.938 kB / 3.001 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007621/10.2, allocations: 174.4 kB / 3.001 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008289/10.21, allocations: 90.03 kB / 3.001 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004199/10.21, allocations: 76.84 kB / 3.001 GB, free: 39.22 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.005144/10.21, allocations: 1.815 MB / 3.003 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01526/10.23, allocations: 2.398 MB / 3.005 GB, free: 37.5 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.005029/10.23, allocations: 2.254 MB / 3.007 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01088/10.24, allocations: 3.524 MB / 3.011 GB, free: 35.31 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/10.24, allocations: 2 kB / 3.011 GB, free: 35.31 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00347/10.25, allocations: 0.8083 MB / 3.012 GB, free: 35.05 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0134/10.26, allocations: 1.363 MB / 3.013 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/10.28, allocations: 4.45 MB / 3.017 GB, free: 33 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006155/10.29, allocations: 2.507 MB / 3.02 GB, free: 32.07 MB / 0.9948 GB Notification: Performance of SimCode: time 2.565e-06/10.29, allocations: 2.688 kB / 3.02 GB, free: 32.07 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)