Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.388/1.388, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001045/0.001044, allocations: 173.3 kB / 361.1 MB, free: 7.098 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.163/1.163, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009016/0.0009016, allocations: 92 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2148/0.2158, allocations: 121.4 MB / 0.8511 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.7492, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8076/1.557, allocations: 440.9 MB / 1.394 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.557, allocations: 83.14 kB / 1.394 GB, free: 126.2 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 4.538/6.095, allocations: 1.495 GB / 2.89 GB, free: 84.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/6.095, allocations: 9.625 kB / 2.89 GB, free: 84.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007569/6.103, allocations: 1.197 MB / 2.891 GB, free: 84.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06737/6.17, allocations: 27.7 MB / 2.918 GB, free: 82.44 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/6.17, allocations: 75.97 kB / 2.918 GB, free: 82.44 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005328/6.171, allocations: 140.8 kB / 2.918 GB, free: 82.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003362/6.174, allocations: 1.79 MB / 2.92 GB, free: 81.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/6.178, allocations: 2.173 MB / 2.922 GB, free: 80.78 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/6.178, allocations: 3.938 kB / 2.922 GB, free: 80.78 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/6.178, allocations: 5.531 kB / 2.922 GB, free: 80.78 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/6.178, allocations: 51.84 kB / 2.922 GB, free: 80.78 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/6.194, allocations: 11.85 MB / 2.934 GB, free: 72.45 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/6.196, allocations: 1.634 MB / 2.935 GB, free: 71.88 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/6.197, allocations: 0.7301 MB / 2.936 GB, free: 71.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006624/6.204, allocations: 3.616 MB / 2.94 GB, free: 69.08 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/6.204, allocations: 45.41 kB / 2.94 GB, free: 69.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=116): time 3.998e-06/6.204, allocations: 0 / 2.94 GB, free: 69.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=116): time 0.00835/6.213, allocations: 2.502 MB / 2.942 GB, free: 68.19 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/6.213, allocations: 63.94 kB / 2.942 GB, free: 68.12 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/6.217, allocations: 2.428 MB / 2.944 GB, free: 67.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003805/6.217, allocations: 29.14 kB / 2.945 GB, free: 67.15 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/6.218, allocations: 0.9957 MB / 2.945 GB, free: 66.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004596/6.218, allocations: 386.1 kB / 2.946 GB, free: 66.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/6.218, allocations: 0 / 2.946 GB, free: 66.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001018/6.218, allocations: 377.2 kB / 2.946 GB, free: 65.85 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/6.219, allocations: 0.7086 MB / 2.947 GB, free: 65.58 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/6.221, allocations: 1.445 MB / 2.948 GB, free: 64.36 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/6.224, allocations: 1.114 MB / 2.949 GB, free: 64.03 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/6.224, allocations: 5.281 kB / 2.949 GB, free: 64.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007873/6.232, allocations: 3.024 MB / 2.952 GB, free: 63.01 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001304/6.233, allocations: 7.589 MB / 2.96 GB, free: 54.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/6.233, allocations: 16.22 kB / 2.96 GB, free: 54.95 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/6.235, allocations: 0.7189 MB / 2.961 GB, free: 54.72 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/6.237, allocations: 385.2 kB / 2.961 GB, free: 54.69 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/6.241, allocations: 5.509 MB / 2.966 GB, free: 50.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/6.244, allocations: 295.1 kB / 2.967 GB, free: 49.92 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/6.245, allocations: 156.1 kB / 2.967 GB, free: 49.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/6.245, allocations: 6.875 kB / 2.967 GB, free: 49.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006675/6.251, allocations: 2.428 MB / 2.969 GB, free: 49.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.763e-05/6.251, allocations: 14.66 kB / 2.969 GB, free: 49.15 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/6.254, allocations: 0.8273 MB / 2.97 GB, free: 48.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/6.255, allocations: 354.7 kB / 2.97 GB, free: 48.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/6.27, allocations: 12.22 MB / 2.982 GB, free: 39.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/6.273, allocations: 244.2 kB / 2.982 GB, free: 39.72 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/6.273, allocations: 136.1 kB / 2.983 GB, free: 39.71 MB / 0.9636 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.0006441/6.274, allocations: 175 kB / 2.983 GB, free: 39.55 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006075/6.275, allocations: 328.7 kB / 2.983 GB, free: 39.37 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007894/6.283, allocations: 2.898 MB / 2.986 GB, free: 38.43 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/6.283, allocations: 15.55 kB / 2.986 GB, free: 38.43 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/6.283, allocations: 0 / 2.986 GB, free: 38.43 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/6.283, allocations: 12.22 kB / 2.986 GB, free: 38.43 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/6.295, allocations: 4.561 MB / 2.99 GB, free: 35.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/6.295, allocations: 3.938 kB / 2.99 GB, free: 35.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/6.296, allocations: 219.8 kB / 2.991 GB, free: 35.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/6.297, allocations: 0.5179 MB / 2.991 GB, free: 34.78 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/6.297, allocations: 35.77 kB / 2.991 GB, free: 34.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/6.301, allocations: 5.061 MB / 2.996 GB, free: 29.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/6.301, allocations: 0 / 2.996 GB, free: 29.48 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005946/6.307, allocations: 2.48 MB / 2.998 GB, free: 26.97 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00622/6.313, allocations: 3.048 MB / 3.001 GB, free: 23.87 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002403/6.316, allocations: 0.5783 MB / 3.002 GB, free: 23.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/6.316, allocations: 7.984 kB / 3.002 GB, free: 23.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/6.318, allocations: 175.7 kB / 3.002 GB, free: 23.09 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/6.318, allocations: 93.02 kB / 3.002 GB, free: 23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/6.318, allocations: 75.94 kB / 3.002 GB, free: 22.93 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003051/6.321, allocations: 1.806 MB / 3.004 GB, free: 21.14 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009225/6.331, allocations: 2.409 MB / 3.006 GB, free: 18.73 MB / 0.9636 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.003654/6.334, allocations: 2.254 MB / 3.009 GB, free: 16.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006128/6.341, allocations: 3.52 MB / 3.012 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/6.341, allocations: 4 kB / 3.012 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/6.342, allocations: 0.8139 MB / 3.013 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006405/6.348, allocations: 1.359 MB / 3.014 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009134/6.358, allocations: 4.454 MB / 3.019 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/6.36, allocations: 2.513 MB / 3.021 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/6.36, allocations: 0 / 3.021 GB, free: 3.871 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)