Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.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.PumpCurveDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives",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.7581/0.7581, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.00132/0.00132, allocations: 181.3 kB / 164.4 MB, free: 6.875 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.805/1.805, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.001019/0.001019, allocations: 82.23 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4048/0.4059, allocations: 82.89 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.6398, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.744, allocations: 371.9 MB / 0.9842 GB, free: 110.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.744, allocations: 93.69 kB / 0.9843 GB, free: 110 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 3.843/5.587, allocations: 0.9443 GB / 1.929 GB, free: 56.77 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/5.587, allocations: 6.906 kB / 1.929 GB, free: 56.77 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00898/5.596, allocations: 1.105 MB / 1.93 GB, free: 56.55 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05829/5.654, allocations: 20 MB / 1.949 GB, free: 55.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/5.655, allocations: 52.38 kB / 1.949 GB, free: 55.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000999/5.656, allocations: 110.1 kB / 1.949 GB, free: 55.25 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004619/5.66, allocations: 1.634 MB / 1.951 GB, free: 55.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005743/5.666, allocations: 1.856 MB / 1.953 GB, free: 54.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/5.666, allocations: 0 / 1.953 GB, free: 54.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004355/5.667, allocations: 6.969 kB / 1.953 GB, free: 54.95 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/5.667, allocations: 40.31 kB / 1.953 GB, free: 54.95 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01995/5.687, allocations: 10.84 MB / 1.963 GB, free: 50.11 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/5.689, allocations: 1.598 MB / 1.965 GB, free: 50.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/5.69, allocations: 0.7047 MB / 1.966 GB, free: 50.06 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00632/5.696, allocations: 3.067 MB / 1.969 GB, free: 49.23 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/5.696, allocations: 45.61 kB / 1.969 GB, free: 49.19 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=78): time 3.667e-06/5.696, allocations: 0 / 1.969 GB, free: 49.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.006521/5.703, allocations: 2.215 MB / 1.971 GB, free: 48.94 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/5.703, allocations: 63.88 kB / 1.971 GB, free: 48.88 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007291/5.71, allocations: 3.533 MB / 1.974 GB, free: 48.63 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005249/5.711, allocations: 30.39 kB / 1.974 GB, free: 48.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/5.711, allocations: 0.9004 MB / 1.975 GB, free: 48.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/5.712, allocations: 266.5 kB / 1.975 GB, free: 48 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/5.712, allocations: 0 / 1.975 GB, free: 48 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001353/5.712, allocations: 364.3 kB / 1.976 GB, free: 47.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/5.713, allocations: 0.7741 MB / 1.977 GB, free: 47.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/5.714, allocations: 1.513 MB / 1.978 GB, free: 46.77 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/5.717, allocations: 1.108 MB / 1.979 GB, free: 46.76 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/5.717, allocations: 11.08 kB / 1.979 GB, free: 46.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006419/5.724, allocations: 2.833 MB / 1.982 GB, free: 46.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002253/5.726, allocations: 9.352 MB / 1.991 GB, free: 36.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/5.726, allocations: 18.91 kB / 1.991 GB, free: 36.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/5.727, allocations: 484.3 kB / 1.992 GB, free: 36.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/5.729, allocations: 371 kB / 1.992 GB, free: 36.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/5.731, allocations: 2.472 MB / 1.994 GB, free: 35.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/5.735, allocations: 261.2 kB / 1.995 GB, free: 35.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/5.736, allocations: 154.7 kB / 1.995 GB, free: 35.08 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/5.736, allocations: 3.531 kB / 1.995 GB, free: 35.08 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006041/5.742, allocations: 2.183 MB / 1.997 GB, free: 35.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.587e-05/5.742, allocations: 19.62 kB / 1.997 GB, free: 35.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/5.743, allocations: 0.5151 MB / 1.997 GB, free: 35.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/5.745, allocations: 343.8 kB / 1.998 GB, free: 35.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00865/5.754, allocations: 5.299 MB / 2.003 GB, free: 32.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/5.758, allocations: 204.2 kB / 2.003 GB, free: 32.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008316/5.759, allocations: 135.5 kB / 2.003 GB, free: 32.27 MB / 0.6667 GB 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 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: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001419/5.76, allocations: 167 kB / 2.003 GB, free: 32.15 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002092/5.762, allocations: 310.1 kB / 2.004 GB, free: 31.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009795/5.772, allocations: 2.238 MB / 2.006 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/5.772, allocations: 15.44 kB / 2.006 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/5.772, allocations: 2.25 kB / 2.006 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/5.772, allocations: 10.27 kB / 2.006 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/5.779, allocations: 2.272 MB / 2.008 GB, free: 31.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/5.779, allocations: 2.75 kB / 2.008 GB, free: 31.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/5.78, allocations: 172.6 kB / 2.008 GB, free: 31.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/5.781, allocations: 328.5 kB / 2.009 GB, free: 31.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/5.781, allocations: 22.08 kB / 2.009 GB, free: 31.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/5.783, allocations: 2.15 MB / 2.011 GB, free: 30.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/5.783, allocations: 0 / 2.011 GB, free: 30.03 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006826/5.79, allocations: 2.615 MB / 2.013 GB, free: 29.64 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009418/5.799, allocations: 3.86 MB / 2.017 GB, free: 28.88 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002991/5.802, allocations: 0.7037 MB / 2.018 GB, free: 28.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/5.804, allocations: 1.562 kB / 2.018 GB, free: 28.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/5.807, allocations: 138.7 kB / 2.018 GB, free: 28.59 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/5.807, allocations: 59.25 kB / 2.018 GB, free: 28.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/5.807, allocations: 59.17 kB / 2.018 GB, free: 28.59 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.007531/5.815, allocations: 2.645 MB / 2.02 GB, free: 28.45 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0117/5.826, allocations: 1.996 MB / 2.022 GB, free: 28.22 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004272/5.831, allocations: 1.723 MB / 2.024 GB, free: 27.72 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006576/5.837, allocations: 2.959 MB / 2.027 GB, free: 27.46 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/5.837, allocations: 1.812 kB / 2.027 GB, free: 27.46 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/5.839, allocations: 0.6043 MB / 2.028 GB, free: 27.44 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008562/5.847, allocations: 1.423 MB / 2.029 GB, free: 27.39 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/5.865, allocations: 4.329 MB / 2.033 GB, free: 26.37 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005731/5.87, allocations: 2.48 MB / 2.036 GB, free: 25.61 MB / 0.6667 GB Notification: Performance of SimCode: time 2.284e-06/5.87, allocations: 0 / 2.036 GB, free: 25.61 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)