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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7199/0.7199, allocations: 127.4 MB / 134.6 MB, free: 8.117 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 185.2 kB / 164.4 MB, free: 11.47 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 399.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009029/0.0009028, allocations: 85.94 kB / 476.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.3052/0.3061, allocations: 82.87 MB / 0.546 GB, free: 64.63 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.4671, allocations: 76.77 MB / 0.621 GB, free: 3.789 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.61, allocations: 403.8 MB / 1.015 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.61, allocations: 87.58 kB / 1.015 GB, free: 123.6 MB / 0.6387 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 5.941/7.552, allocations: 1.448 GB / 2.464 GB, free: 49.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/7.552, allocations: 12.25 kB / 2.464 GB, free: 49.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009814/7.562, allocations: 1.383 MB / 2.465 GB, free: 49.69 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07802/7.64, allocations: 26.86 MB / 2.491 GB, free: 48.06 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/7.64, allocations: 72.38 kB / 2.491 GB, free: 48.06 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/7.642, allocations: 138.8 kB / 2.492 GB, free: 48.06 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006589/7.648, allocations: 1.783 MB / 2.493 GB, free: 48.05 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008011/7.656, allocations: 2.167 MB / 2.495 GB, free: 47.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/7.656, allocations: 2.062 kB / 2.495 GB, free: 47.69 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007407/7.657, allocations: 3.906 kB / 2.495 GB, free: 47.69 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/7.657, allocations: 55.72 kB / 2.496 GB, free: 47.69 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/7.681, allocations: 11.77 MB / 2.507 GB, free: 41.44 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/7.684, allocations: 1.709 MB / 2.509 GB, free: 41.41 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/7.685, allocations: 0.712 MB / 2.509 GB, free: 41.4 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007341/7.692, allocations: 3.218 MB / 2.513 GB, free: 39.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/7.692, allocations: 47.31 kB / 2.513 GB, free: 39.87 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=113): time 6.191e-06/7.692, allocations: 0 / 2.513 GB, free: 39.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=113): time 0.01209/7.704, allocations: 2.83 MB / 2.515 GB, free: 39.57 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/7.704, allocations: 68.66 kB / 2.515 GB, free: 39.5 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006127/7.711, allocations: 2.416 MB / 2.518 GB, free: 39.26 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009729/7.712, allocations: 29.02 kB / 2.518 GB, free: 39.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/7.713, allocations: 1.006 MB / 2.519 GB, free: 38.74 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000587/7.713, allocations: 377.1 kB / 2.519 GB, free: 38.49 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/7.713, allocations: 1.312 kB / 2.519 GB, free: 38.49 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001763/7.714, allocations: 377 kB / 2.52 GB, free: 38.18 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/7.715, allocations: 0.7232 MB / 2.52 GB, free: 38.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/7.717, allocations: 1.43 MB / 2.522 GB, free: 37.31 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003748/7.721, allocations: 1.132 MB / 2.523 GB, free: 37.29 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/7.721, allocations: 3.719 kB / 2.523 GB, free: 37.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01027/7.731, allocations: 3.046 MB / 2.526 GB, free: 36.99 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.003528/7.735, allocations: 7.588 MB / 2.533 GB, free: 29.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.43e-05/7.735, allocations: 21.11 kB / 2.533 GB, free: 29.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/7.737, allocations: 0.7681 MB / 2.534 GB, free: 29.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/7.739, allocations: 381.7 kB / 2.534 GB, free: 29.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00511/7.744, allocations: 5.573 MB / 2.54 GB, free: 40.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/7.749, allocations: 319.6 kB / 2.54 GB, free: 40.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005558/7.75, allocations: 157.2 kB / 2.54 GB, free: 40.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/7.75, allocations: 3.125 kB / 2.54 GB, free: 40.75 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006967/7.757, allocations: 2.376 MB / 2.542 GB, free: 40.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.763e-05/7.757, allocations: 16.62 kB / 2.542 GB, free: 40.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/7.759, allocations: 0.8261 MB / 2.543 GB, free: 40.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/7.761, allocations: 353.1 kB / 2.544 GB, free: 40.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/7.779, allocations: 12.23 MB / 2.556 GB, free: 32.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004803/7.784, allocations: 240.6 kB / 2.556 GB, free: 32.87 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006306/7.785, allocations: 135.7 kB / 2.556 GB, free: 32.87 MB / 0.7169 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.001255/7.786, allocations: 156.8 kB / 2.556 GB, free: 32.76 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/7.788, allocations: 327.8 kB / 2.556 GB, free: 32.58 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/7.798, allocations: 2.926 MB / 2.559 GB, free: 32.38 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/7.798, allocations: 12.25 kB / 2.559 GB, free: 32.38 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/7.798, allocations: 2.125 kB / 2.559 GB, free: 32.38 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/7.798, allocations: 13.61 kB / 2.559 GB, free: 32.38 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005429/7.803, allocations: 2.02 MB / 2.561 GB, free: 32.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/7.803, allocations: 1.125 kB / 2.561 GB, free: 32.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/7.805, allocations: 203.1 kB / 2.561 GB, free: 32.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/7.806, allocations: 0.5556 MB / 2.562 GB, free: 32.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/7.806, allocations: 32.84 kB / 2.562 GB, free: 32.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/7.811, allocations: 5.144 MB / 2.567 GB, free: 27.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/7.811, allocations: 0 / 2.567 GB, free: 27.93 MB / 0.7169 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008732/7.82, allocations: 2.48 MB / 2.569 GB, free: 27.49 MB / 0.7169 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009216/7.829, allocations: 3.044 MB / 2.572 GB, free: 26.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/7.831, allocations: 0.5887 MB / 2.573 GB, free: 26.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008735/7.832, allocations: 1.406 kB / 2.573 GB, free: 26.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/7.835, allocations: 188.3 kB / 2.573 GB, free: 26.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/7.835, allocations: 77.31 kB / 2.573 GB, free: 26.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/7.835, allocations: 77.86 kB / 2.573 GB, free: 26.38 MB / 0.7169 GB Notification: Performance of sort global known variables: time 0.003499/7.838, allocations: 1.852 MB / 2.575 GB, free: 26.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01244/7.851, allocations: 2.339 MB / 2.577 GB, free: 25.95 MB / 0.7169 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.0041/7.855, allocations: 2.282 MB / 2.58 GB, free: 25.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006981/7.862, allocations: 3.491 MB / 2.583 GB, free: 24.85 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/7.862, allocations: 0 / 2.583 GB, free: 24.85 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/7.864, allocations: 0.7636 MB / 2.584 GB, free: 24.83 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007487/7.871, allocations: 1.358 MB / 2.585 GB, free: 24.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/7.887, allocations: 4.884 MB / 2.59 GB, free: 23.71 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002687/7.89, allocations: 2.494 MB / 2.592 GB, free: 22.95 MB / 0.7169 GB Notification: Performance of SimCode: time 1.443e-06/7.89, allocations: 0 / 2.592 GB, free: 22.95 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)