Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.224/1.224, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.0009643/0.000964, allocations: 173.2 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.1 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 93.25 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3637/0.3646, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.5522, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.635, allocations: 434.4 MB / 1.309 GB, free: 312 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/1.636, allocations: 90.64 kB / 1.309 GB, free: 312 MB / 0.8698 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.114/5.75, allocations: 1.455 GB / 2.764 GB, free: 77.48 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/5.75, allocations: 10.5 kB / 2.764 GB, free: 77.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006504/5.756, allocations: 1.201 MB / 2.765 GB, free: 77.24 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06015/5.817, allocations: 27.02 MB / 2.791 GB, free: 75.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/5.817, allocations: 67.84 kB / 2.791 GB, free: 75.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/5.817, allocations: 143.6 kB / 2.792 GB, free: 75.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003093/5.82, allocations: 1.794 MB / 2.793 GB, free: 75.58 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/5.823, allocations: 2.167 MB / 2.795 GB, free: 75.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/5.824, allocations: 2.688 kB / 2.795 GB, free: 75.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/5.824, allocations: 5.328 kB / 2.795 GB, free: 75.23 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/5.824, allocations: 51.75 kB / 2.796 GB, free: 75.23 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/5.839, allocations: 11.84 MB / 2.807 GB, free: 69.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/5.841, allocations: 1.641 MB / 2.809 GB, free: 69.12 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000863/5.842, allocations: 0.7203 MB / 2.809 GB, free: 69.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005963/5.848, allocations: 3.598 MB / 2.813 GB, free: 67.42 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/5.848, allocations: 53.06 kB / 2.813 GB, free: 67.38 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=116): time 2.965e-06/5.848, allocations: 0 / 2.813 GB, free: 67.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=116): time 0.007032/5.855, allocations: 2.492 MB / 2.815 GB, free: 67.08 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/5.855, allocations: 70.22 kB / 2.815 GB, free: 67.02 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003319/5.859, allocations: 2.42 MB / 2.818 GB, free: 66.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002824/5.859, allocations: 28.73 kB / 2.818 GB, free: 66.74 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/5.859, allocations: 1.003 MB / 2.819 GB, free: 66.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/5.86, allocations: 383.9 kB / 2.819 GB, free: 65.99 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/5.86, allocations: 3.344 kB / 2.819 GB, free: 65.99 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000106/5.86, allocations: 376.7 kB / 2.82 GB, free: 65.69 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009664/5.861, allocations: 0.7061 MB / 2.82 GB, free: 65.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/5.862, allocations: 1.44 MB / 2.822 GB, free: 64.79 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/5.865, allocations: 1.121 MB / 2.823 GB, free: 64.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/5.865, allocations: 7.062 kB / 2.823 GB, free: 64.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007941/5.873, allocations: 3.029 MB / 2.826 GB, free: 64.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001248/5.875, allocations: 7.587 MB / 2.833 GB, free: 56.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/5.875, allocations: 15.84 kB / 2.833 GB, free: 56.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/5.876, allocations: 0.7178 MB / 2.834 GB, free: 56.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/5.878, allocations: 387.3 kB / 2.834 GB, free: 56.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/5.882, allocations: 5.506 MB / 2.84 GB, free: 52.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/5.885, allocations: 289.3 kB / 2.84 GB, free: 52.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004784/5.886, allocations: 153.5 kB / 2.84 GB, free: 52.22 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/5.886, allocations: 3.812 kB / 2.84 GB, free: 52.22 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006359/5.892, allocations: 2.429 MB / 2.842 GB, free: 52.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/5.892, allocations: 17.38 kB / 2.842 GB, free: 52.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/5.894, allocations: 0.8356 MB / 2.843 GB, free: 52.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/5.896, allocations: 359.5 kB / 2.844 GB, free: 52.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/5.91, allocations: 12.2 MB / 2.855 GB, free: 44.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/5.915, allocations: 238.6 kB / 2.856 GB, free: 44.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/5.915, allocations: 135.5 kB / 2.856 GB, free: 44.33 MB / 0.9167 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.0008746/5.916, allocations: 180.2 kB / 2.856 GB, free: 44.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000712/5.917, allocations: 325.9 kB / 2.856 GB, free: 44.04 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008695/5.925, allocations: 2.898 MB / 2.859 GB, free: 43.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/5.925, allocations: 18.03 kB / 2.859 GB, free: 43.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/5.925, allocations: 0 / 2.859 GB, free: 43.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/5.925, allocations: 3.656 kB / 2.859 GB, free: 43.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/5.936, allocations: 4.538 MB / 2.864 GB, free: 43.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/5.936, allocations: 3.188 kB / 2.864 GB, free: 43.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/5.938, allocations: 210.6 kB / 2.864 GB, free: 43.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/5.939, allocations: 0.5204 MB / 2.864 GB, free: 43.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-05/5.939, allocations: 31.41 kB / 2.864 GB, free: 43.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/5.942, allocations: 5.073 MB / 2.869 GB, free: 39.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/5.942, allocations: 3.469 kB / 2.869 GB, free: 39.14 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005522/5.947, allocations: 2.483 MB / 2.872 GB, free: 38.61 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006088/5.953, allocations: 3.044 MB / 2.875 GB, free: 37.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/5.955, allocations: 0.585 MB / 2.875 GB, free: 37.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004662/5.955, allocations: 0 / 2.875 GB, free: 37.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/5.957, allocations: 178.2 kB / 2.875 GB, free: 37.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/5.957, allocations: 79.44 kB / 2.875 GB, free: 37.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/5.957, allocations: 76.86 kB / 2.876 GB, free: 37.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002605/5.96, allocations: 1.81 MB / 2.877 GB, free: 37.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008095/5.968, allocations: 2.34 MB / 2.88 GB, free: 36.97 MB / 0.9167 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.003728/5.972, allocations: 2.235 MB / 2.882 GB, free: 36.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007209/5.979, allocations: 3.512 MB / 2.885 GB, free: 35.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/5.979, allocations: 5.969 kB / 2.885 GB, free: 35.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/5.981, allocations: 0.8101 MB / 2.886 GB, free: 35.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00654/5.987, allocations: 1.35 MB / 2.887 GB, free: 35.79 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009133/5.996, allocations: 4.45 MB / 2.892 GB, free: 34.67 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/5.999, allocations: 2.507 MB / 2.894 GB, free: 33.91 MB / 0.9167 GB Notification: Performance of SimCode: time 7.62e-07/5.999, allocations: 2.156 kB / 2.894 GB, free: 33.91 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)