Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.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.Pump_Nrpm_stratos,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_Nrpm_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6977/0.6977, allocations: 141.8 MB / 149.1 MB, free: 3.965 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 182.4 kB / 181.9 MB, free: 15.69 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.19/1.19, allocations: 221.3 MB / 436 MB, free: 8.879 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.0009441/0.0009442, allocations: 91.34 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 284.4 kB / 0.5885 GB, free: 11.88 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1772/0.179, allocations: 89.64 MB / 0.676 GB, free: 2.148 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.543, allocations: 82.76 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6157/1.159, allocations: 358.2 MB / 1.107 GB, free: 3.691 MB / 0.6357 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/1.159, allocations: 96.06 kB / 1.107 GB, free: 3.645 MB / 0.6357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 9.279/10.44, allocations: 2.719 GB / 3.825 GB, free: 55.7 MB / 0.8544 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/10.44, allocations: 14.75 kB / 3.825 GB, free: 55.7 MB / 0.8544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/10.46, allocations: 3.048 MB / 3.828 GB, free: 55.07 MB / 0.8544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1562/10.61, allocations: 61.2 MB / 3.888 GB, free: 51.42 MB / 0.8544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000431/10.61, allocations: 167.7 kB / 3.888 GB, free: 51.42 MB / 0.8544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002701/10.62, allocations: 341.8 kB / 3.889 GB, free: 51.42 MB / 0.8544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01306/10.63, allocations: 4.937 MB / 3.893 GB, free: 51.39 MB / 0.8544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/10.64, allocations: 5.582 MB / 3.899 GB, free: 50.63 MB / 0.8544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002146/10.64, allocations: 10.53 kB / 3.899 GB, free: 50.63 MB / 0.8544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001577/10.65, allocations: 9.719 kB / 3.899 GB, free: 50.63 MB / 0.8544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/10.65, allocations: 191.3 kB / 3.899 GB, free: 50.62 MB / 0.8544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05658/10.7, allocations: 29.7 MB / 3.928 GB, free: 39.77 MB / 0.8544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/10.71, allocations: 2.78 MB / 3.931 GB, free: 39.74 MB / 0.8544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002946/10.71, allocations: 2.247 MB / 3.933 GB, free: 39.71 MB / 0.8544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02247/10.73, allocations: 11.46 MB / 3.944 GB, free: 35.96 MB / 0.8544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/10.73, allocations: 64.03 kB / 3.944 GB, free: 35.91 MB / 0.8544 GB Notification: Performance of pre-optimization done (n=277): time 6.302e-06/10.73, allocations: 2.344 kB / 3.944 GB, free: 35.91 MB / 0.8544 GB Notification: Performance of matching and sorting (n=277): time 0.01932/10.75, allocations: 6.536 MB / 3.951 GB, free: 35.24 MB / 0.8544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/10.75, allocations: 80.75 kB / 3.951 GB, free: 35.18 MB / 0.8544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02115/10.77, allocations: 9.669 MB / 3.96 GB, free: 34.61 MB / 0.8544 GB Notification: Performance of collectPreVariables (initialization): time 0.001209/10.77, allocations: 32.17 kB / 3.96 GB, free: 34.57 MB / 0.8544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002664/10.78, allocations: 2.459 MB / 3.963 GB, free: 33.5 MB / 0.8544 GB Notification: Performance of collectInitialBindings (initialization): time 0.003089/10.78, allocations: 0.929 MB / 3.963 GB, free: 32.88 MB / 0.8544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/10.78, allocations: 0 / 3.963 GB, free: 32.88 MB / 0.8544 GB Notification: Performance of setup shared object (initialization): time 0.0003184/10.78, allocations: 0.4962 MB / 3.964 GB, free: 32.57 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003473/10.78, allocations: 2.338 MB / 3.966 GB, free: 32.55 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004799/10.79, allocations: 4.455 MB / 3.971 GB, free: 29.91 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00962/10.8, allocations: 3.421 MB / 3.974 GB, free: 29.85 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.677e-05/10.8, allocations: 14.81 kB / 3.974 GB, free: 29.85 MB / 0.8544 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01875/10.82, allocations: 8.195 MB / 3.982 GB, free: 29.19 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.007037/10.83, allocations: 34.16 MB / 4.015 GB, free: 10.43 MB / 0.87 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001693/10.83, allocations: 58.81 kB / 4.015 GB, free: 10.43 MB / 0.87 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/10.83, allocations: 0.8979 MB / 4.016 GB, free: 10.39 MB / 0.87 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006056/10.83, allocations: 1.264 MB / 4.017 GB, free: 10.39 MB / 0.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/10.84, allocations: 4.101 MB / 4.021 GB, free: 7.777 MB / 0.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00952/10.85, allocations: 0.6821 MB / 4.022 GB, free: 7.504 MB / 0.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/10.85, allocations: 437.9 kB / 4.023 GB, free: 7.504 MB / 0.87 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/10.85, allocations: 4.688 kB / 4.023 GB, free: 7.504 MB / 0.87 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01712/10.87, allocations: 6.319 MB / 4.029 GB, free: 7.367 MB / 0.87 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001893/10.87, allocations: 56.88 kB / 4.029 GB, free: 7.367 MB / 0.87 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/10.87, allocations: 0.8967 MB / 4.03 GB, free: 7.328 MB / 0.87 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004639/10.87, allocations: 1.173 MB / 4.031 GB, free: 7.254 MB / 0.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004081/10.88, allocations: 4.092 MB / 4.035 GB, free: 4.609 MB / 0.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008063/10.89, allocations: 0.5409 MB / 4.035 GB, free: 4.434 MB / 0.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007917/10.89, allocations: 376.8 kB / 4.036 GB, free: 4.434 MB / 0.87 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 (532): * Single equations (assignments): 517 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * 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.001577/10.89, allocations: 307.4 kB / 4.036 GB, free: 4.211 MB / 0.87 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001908/10.89, allocations: 0.8879 MB / 4.037 GB, free: 3.711 MB / 0.87 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/10.91, allocations: 6.723 MB / 4.043 GB, free: 3.355 MB / 0.87 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.314e-05/10.91, allocations: 46.25 kB / 4.043 GB, free: 3.355 MB / 0.87 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/10.91, allocations: 0 / 4.043 GB, free: 3.355 MB / 0.87 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/10.91, allocations: 15.94 kB / 4.043 GB, free: 3.355 MB / 0.87 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/10.93, allocations: 12.85 MB / 4.056 GB, free: 2.68 MB / 0.87 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/10.93, allocations: 3.062 kB / 4.056 GB, free: 2.68 MB / 0.87 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003224/10.94, allocations: 0.5961 MB / 4.057 GB, free: 2.656 MB / 0.87 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/10.94, allocations: 0.7956 MB / 4.057 GB, free: 2.613 MB / 0.87 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00032/10.94, allocations: 85.02 kB / 4.057 GB, free: 2.613 MB / 0.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/10.94, allocations: 3.963 MB / 4.061 GB, free: 15.99 MB / 0.8857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/10.94, allocations: 8.812 kB / 4.061 GB, free: 15.99 MB / 0.8857 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01404/10.96, allocations: 7.837 MB / 4.069 GB, free: 13.41 MB / 0.8857 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01945/10.98, allocations: 11.04 MB / 4.08 GB, free: 8.289 MB / 0.8857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006498/10.98, allocations: 1.92 MB / 4.082 GB, free: 7.129 MB / 0.8857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002588/10.99, allocations: 25.78 kB / 4.082 GB, free: 7.125 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005929/10.99, allocations: 357.7 kB / 4.082 GB, free: 7.109 MB / 0.8857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/10.99, allocations: 192 kB / 4.082 GB, free: 7.082 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004409/10.99, allocations: 188.8 kB / 4.082 GB, free: 7.055 MB / 0.8857 GB Notification: Performance of sort global known variables: time 0.01375/11.01, allocations: 7.197 MB / 4.089 GB, free: 4.137 MB / 0.8857 GB Notification: Performance of remove unused functions: time 0.02442/11.03, allocations: 5.394 MB / 4.095 GB, free: 0.9023 MB / 0.8857 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007955/11.04, allocations: 4.479 MB / 4.099 GB, free: 12.77 MB / 0.9013 GB Notification: Performance of simCode: created initialization part: time 0.01677/11.06, allocations: 8.736 MB / 4.108 GB, free: 4.684 MB / 0.9013 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/11.06, allocations: 0 / 4.108 GB, free: 4.684 MB / 0.9013 GB Notification: Performance of simCode: created simulation system equations: time 0.003489/11.06, allocations: 2.021 MB / 4.11 GB, free: 2.832 MB / 0.9013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01935/11.08, allocations: 4.15 MB / 4.114 GB, free: 0 / 0.9013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4626/11.54, allocations: 13.7 MB / 4.127 GB, free: 130.3 MB / 0.9013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008406/11.55, allocations: 6.088 MB / 4.133 GB, free: 129.4 MB / 0.9013 GB Notification: Performance of SimCode: time 1.102e-06/11.55, allocations: 0 / 4.133 GB, free: 129.4 MB / 0.9013 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)