Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7117/0.7117, allocations: 141.8 MB / 149.1 MB, free: 13.53 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 190.1 kB / 181.9 MB, free: 10.17 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.3 MB / 436 MB, free: 2.707 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.000902, allocations: 99.22 kB / 0.507 GB, free: 17.75 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 273.9 kB / 0.5884 GB, free: 4.164 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3904/0.3922, allocations: 89.64 MB / 0.676 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.5299, allocations: 82.78 MB / 0.7568 GB, free: 83.76 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.652, allocations: 398.5 MB / 1.146 GB, free: 256.1 MB / 0.6983 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/1.652, allocations: 87.72 kB / 1.146 GB, free: 256.1 MB / 0.6983 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.596/6.248, allocations: 1.523 GB / 2.669 GB, free: 60.81 MB / 0.7452 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/6.249, allocations: 14.78 kB / 2.669 GB, free: 60.81 MB / 0.7452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008659/6.257, allocations: 1.197 MB / 2.67 GB, free: 60.57 MB / 0.7452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07453/6.332, allocations: 28.16 MB / 2.698 GB, free: 58.76 MB / 0.7452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/6.332, allocations: 65.16 kB / 2.698 GB, free: 58.76 MB / 0.7452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/6.333, allocations: 142.6 kB / 2.698 GB, free: 58.76 MB / 0.7452 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005267/6.339, allocations: 1.798 MB / 2.7 GB, free: 58.75 MB / 0.7452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005327/6.344, allocations: 2.168 MB / 2.702 GB, free: 58.38 MB / 0.7452 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.864e-05/6.344, allocations: 3.938 kB / 2.702 GB, free: 58.38 MB / 0.7452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/6.344, allocations: 9.531 kB / 2.702 GB, free: 58.37 MB / 0.7452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/6.344, allocations: 49.59 kB / 2.702 GB, free: 58.37 MB / 0.7452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01802/6.362, allocations: 11.85 MB / 2.714 GB, free: 52.19 MB / 0.7452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/6.365, allocations: 1.646 MB / 2.715 GB, free: 52.15 MB / 0.7452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009815/6.366, allocations: 0.7299 MB / 2.716 GB, free: 52.14 MB / 0.7452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006001/6.372, allocations: 3.621 MB / 2.72 GB, free: 50.44 MB / 0.7452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/6.372, allocations: 43.88 kB / 2.72 GB, free: 50.4 MB / 0.7452 GB Notification: Performance of pre-optimization done (n=116): time 2.745e-06/6.372, allocations: 0 / 2.72 GB, free: 50.4 MB / 0.7452 GB Notification: Performance of matching and sorting (n=116): time 0.007353/6.379, allocations: 2.504 MB / 2.722 GB, free: 50.08 MB / 0.7452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/6.379, allocations: 67.19 kB / 2.722 GB, free: 50.02 MB / 0.7452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/6.383, allocations: 2.445 MB / 2.724 GB, free: 49.22 MB / 0.7452 GB Notification: Performance of collectPreVariables (initialization): time 0.0002605/6.383, allocations: 28.52 kB / 2.725 GB, free: 49.19 MB / 0.7452 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/6.384, allocations: 1.001 MB / 2.726 GB, free: 48.51 MB / 0.7452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/6.384, allocations: 384.3 kB / 2.726 GB, free: 48.21 MB / 0.7452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/6.384, allocations: 0 / 2.726 GB, free: 48.21 MB / 0.7452 GB Notification: Performance of setup shared object (initialization): time 0.0001199/6.385, allocations: 378.1 kB / 2.726 GB, free: 47.88 MB / 0.7452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/6.386, allocations: 0.7005 MB / 2.727 GB, free: 47.61 MB / 0.7452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/6.387, allocations: 1.446 MB / 2.728 GB, free: 46.39 MB / 0.7452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/6.39, allocations: 1.125 MB / 2.729 GB, free: 46.06 MB / 0.7452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/6.39, allocations: 3.938 kB / 2.729 GB, free: 46.06 MB / 0.7452 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.00758/6.398, allocations: 3.028 MB / 2.732 GB, free: 45.04 MB / 0.7452 GB Notification: Performance of prepare postOptimizeDAE: time 0.001232/6.399, allocations: 7.583 MB / 2.74 GB, free: 36.98 MB / 0.7452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/6.399, allocations: 19.34 kB / 2.74 GB, free: 36.98 MB / 0.7452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/6.401, allocations: 0.7178 MB / 2.741 GB, free: 36.75 MB / 0.7452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/6.402, allocations: 389.2 kB / 2.741 GB, free: 36.71 MB / 0.7452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/6.406, allocations: 5.508 MB / 2.746 GB, free: 32.05 MB / 0.7452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/6.41, allocations: 296 kB / 2.747 GB, free: 31.93 MB / 0.7452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004575/6.41, allocations: 152.9 kB / 2.747 GB, free: 31.92 MB / 0.7452 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/6.41, allocations: 3.312 kB / 2.747 GB, free: 31.92 MB / 0.7452 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00686/6.417, allocations: 2.423 MB / 2.749 GB, free: 31.15 MB / 0.7452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/6.417, allocations: 22 kB / 2.749 GB, free: 31.15 MB / 0.7452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/6.42, allocations: 0.8373 MB / 2.75 GB, free: 30.89 MB / 0.7452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/6.422, allocations: 354 kB / 2.75 GB, free: 30.86 MB / 0.7452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/6.437, allocations: 12.22 MB / 2.762 GB, free: 19.75 MB / 0.7452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/6.44, allocations: 242.3 kB / 2.762 GB, free: 19.56 MB / 0.7452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/6.44, allocations: 133.1 kB / 2.763 GB, free: 19.44 MB / 0.7452 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.0006159/6.441, allocations: 175 kB / 2.763 GB, free: 19.27 MB / 0.7452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/6.441, allocations: 323.8 kB / 2.763 GB, free: 18.95 MB / 0.7452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007397/6.448, allocations: 2.912 MB / 2.766 GB, free: 16.59 MB / 0.7452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/6.449, allocations: 22.34 kB / 2.766 GB, free: 16.57 MB / 0.7452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/6.449, allocations: 0 / 2.766 GB, free: 16.57 MB / 0.7452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/6.449, allocations: 9.469 kB / 2.766 GB, free: 16.57 MB / 0.7452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/6.459, allocations: 4.555 MB / 2.77 GB, free: 12.96 MB / 0.7452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/6.459, allocations: 8 kB / 2.77 GB, free: 12.96 MB / 0.7452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/6.46, allocations: 215.6 kB / 2.771 GB, free: 12.79 MB / 0.7452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/6.461, allocations: 0.517 MB / 2.771 GB, free: 12.34 MB / 0.7452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/6.461, allocations: 32.66 kB / 2.771 GB, free: 12.32 MB / 0.7452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/6.464, allocations: 5.076 MB / 2.776 GB, free: 7.195 MB / 0.7452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/6.464, allocations: 7.109 kB / 2.776 GB, free: 7.191 MB / 0.7452 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005552/6.469, allocations: 2.479 MB / 2.778 GB, free: 4.988 MB / 0.7452 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005754/6.475, allocations: 3.057 MB / 2.781 GB, free: 2.207 MB / 0.7452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/6.477, allocations: 0.5818 MB / 2.782 GB, free: 1.684 MB / 0.7452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/6.477, allocations: 0.5156 kB / 2.782 GB, free: 1.684 MB / 0.7452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/6.479, allocations: 181.4 kB / 2.782 GB, free: 1.555 MB / 0.7452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/6.479, allocations: 83.44 kB / 2.782 GB, free: 1.504 MB / 0.7452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/6.48, allocations: 77.52 kB / 2.782 GB, free: 1.445 MB / 0.7452 GB Notification: Performance of sort global known variables: time 0.003523/6.483, allocations: 1.878 MB / 2.784 GB, free: 15.96 MB / 0.7608 GB Notification: Performance of remove unused functions: time 0.008504/6.492, allocations: 2.406 MB / 2.787 GB, free: 13.55 MB / 0.7608 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.003551/6.495, allocations: 2.261 MB / 2.789 GB, free: 11.43 MB / 0.7608 GB Notification: Performance of simCode: created initialization part: time 0.00713/6.502, allocations: 3.531 MB / 2.792 GB, free: 7.863 MB / 0.7608 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/6.502, allocations: 0.75 kB / 2.792 GB, free: 7.863 MB / 0.7608 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/6.504, allocations: 0.813 MB / 2.793 GB, free: 7.051 MB / 0.7608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006797/6.511, allocations: 1.355 MB / 2.794 GB, free: 5.75 MB / 0.7608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/6.522, allocations: 4.477 MB / 2.799 GB, free: 1.223 MB / 0.7608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3374/6.859, allocations: 2.51 MB / 2.801 GB, free: 110.3 MB / 0.7608 GB Notification: Performance of SimCode: time 1.262e-06/6.86, allocations: 0 / 2.801 GB, free: 110.3 MB / 0.7608 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)