Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_Nrpm_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_Pump_Nrpm_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_Pump_Nrpm_stratos",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/BuildSysPro 3.5.0/package.mo): time 0.7382/0.7382, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 181.2 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.1 MB / 399.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 83.33 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3576/0.3586, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.5314, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.605, allocations: 367.8 MB / 0.9802 GB, free: 114 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.605, allocations: 90.64 kB / 0.9803 GB, free: 114 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1234 * Number of variables: 1234 Notification: Performance of Generate backend data structure: time 12.23/13.84, allocations: 2.735 GB / 3.715 GB, free: 24.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/13.84, allocations: 9.062 kB / 3.715 GB, free: 24.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02598/13.87, allocations: 3.549 MB / 3.718 GB, free: 23.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1762/14.04, allocations: 61.41 MB / 3.778 GB, free: 19.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005294/14.04, allocations: 166.8 kB / 3.779 GB, free: 19.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00312/14.05, allocations: 333.9 kB / 3.779 GB, free: 19.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01339/14.06, allocations: 4.963 MB / 3.784 GB, free: 19.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/14.08, allocations: 5.894 MB / 3.79 GB, free: 18.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/14.08, allocations: 9.719 kB / 3.79 GB, free: 18.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000779/14.08, allocations: 10.69 kB / 3.79 GB, free: 18.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.821e-05/14.08, allocations: 122.1 kB / 3.79 GB, free: 18.6 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06921/14.15, allocations: 30.9 MB / 3.82 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008181/14.16, allocations: 4.504 MB / 3.824 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002855/14.16, allocations: 2.101 MB / 3.826 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02106/14.18, allocations: 9.211 MB / 3.835 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.141e-05/14.18, allocations: 71.33 kB / 3.835 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=256): time 5.711e-06/14.18, allocations: 0 / 3.835 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of matching and sorting (n=256): time 0.02196/14.2, allocations: 6.449 MB / 3.842 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/14.2, allocations: 0.7189 MB / 3.842 GB, free: 2.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02421/14.23, allocations: 9.902 MB / 3.852 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001856/14.23, allocations: 31.77 kB / 3.852 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004201/14.23, allocations: 2.581 MB / 3.855 GB, free: 15.87 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002984/14.24, allocations: 0.8637 MB / 3.855 GB, free: 15.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00067/14.24, allocations: 0 / 3.855 GB, free: 15.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0005361/14.24, allocations: 0.5042 MB / 3.856 GB, free: 14.78 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004039/14.24, allocations: 2.455 MB / 3.858 GB, free: 13.85 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006701/14.25, allocations: 4.675 MB / 3.863 GB, free: 10.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/14.26, allocations: 3.574 MB / 3.866 GB, free: 8.957 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/14.26, allocations: 13.12 kB / 3.866 GB, free: 8.957 MB / 0.823 GB Notification: Performance of matching and sorting (n=665) (initialization): time 0.02824/14.29, allocations: 8.563 MB / 3.875 GB, free: 6.031 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.01987/14.31, allocations: 34.71 MB / 3.909 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004681/14.31, allocations: 77.84 kB / 3.909 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003454/14.31, allocations: 0.8934 MB / 3.91 GB, free: 272 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007558/14.32, allocations: 1.221 MB / 3.911 GB, free: 152 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006592/14.33, allocations: 4.097 MB / 3.915 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/14.34, allocations: 0.7202 MB / 3.915 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002535/14.34, allocations: 455.3 kB / 3.916 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/14.34, allocations: 4.312 kB / 3.916 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02145/14.36, allocations: 6.572 MB / 3.922 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000294/14.36, allocations: 81.33 kB / 3.922 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/14.37, allocations: 0.8943 MB / 3.923 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005562/14.37, allocations: 1.138 MB / 3.924 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005208/14.38, allocations: 4.109 MB / 3.928 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009847/14.39, allocations: 0.5584 MB / 3.929 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/14.39, allocations: 392.8 kB / 3.929 GB, free: 1.957 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump5.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: pump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump4.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: pump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump3.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: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump2.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: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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: 266 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 505 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.003394/14.39, allocations: 311.7 kB / 3.93 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003879/14.4, allocations: 0.9099 MB / 3.93 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.154/15.55, allocations: 6.648 MB / 3.937 GB, free: 102.3 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-05/15.55, allocations: 33.88 kB / 3.937 GB, free: 102.3 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/15.55, allocations: 0 / 3.937 GB, free: 102.3 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.814e-05/15.55, allocations: 12.56 kB / 3.937 GB, free: 102.3 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/15.57, allocations: 6.538 MB / 3.943 GB, free: 102 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/15.57, allocations: 0 / 3.943 GB, free: 102 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003846/15.57, allocations: 0.5854 MB / 3.944 GB, free: 102 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/15.57, allocations: 0.7939 MB / 3.945 GB, free: 102 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006842/15.57, allocations: 83.41 kB / 3.945 GB, free: 102 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/15.58, allocations: 3.971 MB / 3.949 GB, free: 99.39 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/15.58, allocations: 0 / 3.949 GB, free: 99.39 MB / 0.8699 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02006/15.6, allocations: 7.614 MB / 3.956 GB, free: 99.04 MB / 0.8699 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02299/15.62, allocations: 10.69 MB / 3.967 GB, free: 98.04 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007072/15.63, allocations: 1.92 MB / 3.968 GB, free: 97.43 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004154/15.63, allocations: 20.33 kB / 3.968 GB, free: 97.43 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00946/15.64, allocations: 353.1 kB / 3.969 GB, free: 97.42 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008357/15.64, allocations: 172.2 kB / 3.969 GB, free: 97.41 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006269/15.64, allocations: 176.2 kB / 3.969 GB, free: 97.41 MB / 0.8699 GB Notification: Performance of sort global known variables: time 0.01848/15.66, allocations: 7.407 MB / 3.976 GB, free: 97.13 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.02799/15.69, allocations: 5.34 MB / 3.982 GB, free: 96.9 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (pump1.filter.x[1],pump1.filter.x[2],pump2.filter.x[1],pump2.filter.x[2],pump3.filter.x[1],pump3.filter.x[2],pump4.filter.x[1],pump4.filter.x[2],pump5.filter.x[1],pump5.filter.x[2],forcedPump1.filter.x[1],forcedPump1.filter.x[2],forcedPump2.filter.x[1],forcedPump2.filter.x[2],forcedPump3.filter.x[1],forcedPump3.filter.x[2],forcedPump4.filter.x[1],forcedPump4.filter.x[2],forcedPump5.filter.x[1],forcedPump5.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {3 8,2 9,2 9,2 9,3 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.007984/15.7, allocations: 4.566 MB / 3.986 GB, free: 95.35 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.01978/15.72, allocations: 9.522 MB / 3.995 GB, free: 94.58 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/15.72, allocations: 2.531 kB / 3.995 GB, free: 94.58 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.003771/15.72, allocations: 1.901 MB / 3.997 GB, free: 94.56 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02351/15.74, allocations: 4.149 MB / 4.001 GB, free: 94.5 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04742/15.79, allocations: 13.78 MB / 4.015 GB, free: 91.46 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01725/15.81, allocations: 6.208 MB / 4.021 GB, free: 90.54 MB / 0.8699 GB Notification: Performance of SimCode: time 1.273e-06/15.81, allocations: 1.969 kB / 4.021 GB, free: 90.54 MB / 0.8699 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)