Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.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: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction") [: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.719/0.719, allocations: 127.4 MB / 134.6 MB, free: 4.051 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.001113/0.001113, allocations: 185.2 kB / 164.4 MB, free: 6.855 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.935/1.935, allocations: 205.1 MB / 399.1 MB, free: 6.117 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.001015/0.001016, allocations: 81.94 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.004e-05, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1802, allocations: 76.75 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.377, allocations: 403.2 MB / 1.015 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.377, allocations: 89.08 kB / 1.015 GB, free: 79.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.775/7.153, allocations: 1.445 GB / 2.46 GB, free: 66.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001293/7.154, allocations: 106.8 kB / 2.46 GB, free: 66.84 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.01826/7.172, allocations: 3.568 MB / 2.463 GB, free: 65.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/7.172, allocations: 7.562 kB / 2.463 GB, free: 65.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/7.183, allocations: 1.383 MB / 2.464 GB, free: 64.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08538/7.269, allocations: 26.85 MB / 2.491 GB, free: 63.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/7.269, allocations: 72.88 kB / 2.491 GB, free: 63.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/7.271, allocations: 139.4 kB / 2.491 GB, free: 63.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00708/7.278, allocations: 1.788 MB / 2.493 GB, free: 63.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008946/7.287, allocations: 2.16 MB / 2.495 GB, free: 63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/7.287, allocations: 1.219 kB / 2.495 GB, free: 63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008831/7.288, allocations: 5.562 kB / 2.495 GB, free: 63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/7.288, allocations: 52.31 kB / 2.495 GB, free: 63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03458/7.322, allocations: 11.78 MB / 2.506 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/7.327, allocations: 1.708 MB / 2.508 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/7.329, allocations: 0.7077 MB / 2.509 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009091/7.338, allocations: 3.226 MB / 2.512 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/7.338, allocations: 48.62 kB / 2.512 GB, free: 55.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=113): time 5.079e-06/7.338, allocations: 0 / 2.512 GB, free: 55.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=113): time 0.01267/7.351, allocations: 2.832 MB / 2.515 GB, free: 54.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/7.351, allocations: 68.41 kB / 2.515 GB, free: 54.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00785/7.359, allocations: 2.424 MB / 2.517 GB, free: 54.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007958/7.36, allocations: 27.55 kB / 2.517 GB, free: 54.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001503/7.361, allocations: 1.004 MB / 2.518 GB, free: 54.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/7.362, allocations: 373.5 kB / 2.518 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000447/7.363, allocations: 0 / 2.518 GB, free: 53.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002424/7.363, allocations: 377 kB / 2.519 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/7.365, allocations: 0.7219 MB / 2.52 GB, free: 53.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/7.367, allocations: 1.431 MB / 2.521 GB, free: 52.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004278/7.371, allocations: 1.124 MB / 2.522 GB, free: 52.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.833e-05/7.371, allocations: 5 kB / 2.522 GB, free: 52.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.009842/7.381, allocations: 3.046 MB / 2.525 GB, free: 52.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002175/7.383, allocations: 7.585 MB / 2.532 GB, free: 44.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.554e-05/7.383, allocations: 15.88 kB / 2.532 GB, free: 44.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/7.385, allocations: 0.7726 MB / 2.533 GB, free: 44.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/7.387, allocations: 381.1 kB / 2.534 GB, free: 44.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/7.392, allocations: 5.58 MB / 2.539 GB, free: 40.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004341/7.397, allocations: 323.6 kB / 2.539 GB, free: 40.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006952/7.397, allocations: 155.6 kB / 2.539 GB, free: 40.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/7.397, allocations: 3.5 kB / 2.539 GB, free: 40.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007738/7.405, allocations: 2.366 MB / 2.542 GB, free: 39.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.187e-05/7.405, allocations: 17.38 kB / 2.542 GB, free: 39.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/7.408, allocations: 0.8362 MB / 2.543 GB, free: 39.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/7.409, allocations: 348.4 kB / 2.543 GB, free: 39.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/7.427, allocations: 12.23 MB / 2.555 GB, free: 32.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/7.431, allocations: 235.5 kB / 2.555 GB, free: 32.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008281/7.432, allocations: 130.9 kB / 2.555 GB, free: 32.15 MB / 0.698 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 (183): * Single equations (assignments): 171 * 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.00139/7.433, allocations: 175.8 kB / 2.555 GB, free: 32.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/7.435, allocations: 325.8 kB / 2.556 GB, free: 31.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/7.447, allocations: 2.915 MB / 2.559 GB, free: 31.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/7.447, allocations: 13.5 kB / 2.559 GB, free: 31.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/7.447, allocations: 3.062 kB / 2.559 GB, free: 31.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/7.447, allocations: 7.031 kB / 2.559 GB, free: 31.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007107/7.454, allocations: 2.033 MB / 2.561 GB, free: 31.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/7.454, allocations: 0 / 2.561 GB, free: 31.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/7.455, allocations: 203.6 kB / 2.561 GB, free: 31.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/7.457, allocations: 0.5739 MB / 2.561 GB, free: 31.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/7.457, allocations: 27.55 kB / 2.561 GB, free: 31.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/7.461, allocations: 5.138 MB / 2.566 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/7.461, allocations: 6.75 kB / 2.566 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00867/7.47, allocations: 2.48 MB / 2.569 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002934/7.473, allocations: 0.5802 MB / 2.569 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/7.474, allocations: 0 / 2.569 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00367/7.478, allocations: 186.6 kB / 2.57 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/7.478, allocations: 69.27 kB / 2.57 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003183/7.478, allocations: 75.88 kB / 2.57 GB, free: 26.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.00558/7.484, allocations: 1.861 MB / 2.571 GB, free: 26.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01086/7.495, allocations: 1.78 MB / 2.573 GB, free: 25.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,1 4,1 6,1 4,1 6,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005464/7.5, allocations: 2.273 MB / 2.575 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008588/7.509, allocations: 3.496 MB / 2.579 GB, free: 24.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/7.509, allocations: 2.906 kB / 2.579 GB, free: 24.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/7.511, allocations: 0.7571 MB / 2.58 GB, free: 24.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008622/7.52, allocations: 1.357 MB / 2.581 GB, free: 24.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/7.541, allocations: 4.89 MB / 2.586 GB, free: 23.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005336/7.546, allocations: 2.492 MB / 2.588 GB, free: 38.71 MB / 0.7136 GB Notification: Performance of SimCode: time 1.703e-06/7.546, allocations: 0 / 2.588 GB, free: 38.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.1904/7.737, allocations: 86.77 MB / 2.673 GB, free: 6.707 MB / 0.7292 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)