Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004233/0.004233, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.724/0.724, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 98.39 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4164/0.4176, allocations: 88.42 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.5976, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.711, allocations: 401.2 MB / 1.025 GB, free: 199 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/1.712, allocations: 89.05 kB / 1.025 GB, free: 199 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 4.957/6.668, allocations: 1.524 GB / 2.549 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/6.668, allocations: 11.94 kB / 2.549 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008533/6.677, allocations: 1.204 MB / 2.551 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5738/7.251, allocations: 28.18 MB / 2.578 GB, free: 79.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/7.251, allocations: 79.88 kB / 2.578 GB, free: 79.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008574/7.252, allocations: 139.1 kB / 2.578 GB, free: 79.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003863/7.256, allocations: 1.793 MB / 2.58 GB, free: 79.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/7.26, allocations: 2.168 MB / 2.582 GB, free: 79.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.078e-05/7.26, allocations: 6.625 kB / 2.582 GB, free: 79.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/7.26, allocations: 2.062 kB / 2.582 GB, free: 79.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/7.26, allocations: 51.38 kB / 2.582 GB, free: 79.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/7.279, allocations: 11.86 MB / 2.594 GB, free: 73.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/7.281, allocations: 1.638 MB / 2.595 GB, free: 73.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009788/7.282, allocations: 0.7283 MB / 2.596 GB, free: 73.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006827/7.289, allocations: 3.616 MB / 2.6 GB, free: 71.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/7.289, allocations: 54.03 kB / 2.6 GB, free: 71.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=116): time 3.506e-06/7.289, allocations: 0 / 2.6 GB, free: 71.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=116): time 0.00779/7.297, allocations: 2.501 MB / 2.602 GB, free: 71.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/7.297, allocations: 64.47 kB / 2.602 GB, free: 71.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004205/7.301, allocations: 2.459 MB / 2.605 GB, free: 70.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003559/7.302, allocations: 30.14 kB / 2.605 GB, free: 70.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007307/7.302, allocations: 0.9975 MB / 2.606 GB, free: 70.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/7.303, allocations: 384.6 kB / 2.606 GB, free: 70.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/7.303, allocations: 0 / 2.606 GB, free: 70.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001347/7.303, allocations: 374 kB / 2.606 GB, free: 70 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/7.304, allocations: 0.7092 MB / 2.607 GB, free: 70 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/7.306, allocations: 1.444 MB / 2.608 GB, free: 69.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/7.309, allocations: 1.119 MB / 2.61 GB, free: 69.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/7.309, allocations: 8.125 kB / 2.61 GB, free: 69.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.008567/7.318, allocations: 3.036 MB / 2.613 GB, free: 68.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001424/7.319, allocations: 7.601 MB / 2.62 GB, free: 60.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/7.319, allocations: 21.94 kB / 2.62 GB, free: 60.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/7.321, allocations: 0.7163 MB / 2.621 GB, free: 60.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/7.323, allocations: 378.6 kB / 2.621 GB, free: 60.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00465/7.327, allocations: 5.51 MB / 2.626 GB, free: 72.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/7.331, allocations: 288.9 kB / 2.627 GB, free: 72.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003941/7.332, allocations: 162.8 kB / 2.627 GB, free: 72.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/7.332, allocations: 4.875 kB / 2.627 GB, free: 72.59 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006609/7.338, allocations: 2.43 MB / 2.629 GB, free: 72.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/7.338, allocations: 17.41 kB / 2.629 GB, free: 72.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/7.341, allocations: 0.8254 MB / 2.63 GB, free: 72.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/7.342, allocations: 355.8 kB / 2.63 GB, free: 72.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/7.358, allocations: 12.2 MB / 2.642 GB, free: 64.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00396/7.362, allocations: 240 kB / 2.643 GB, free: 64.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/7.363, allocations: 135.7 kB / 2.643 GB, free: 64.76 MB / 0.7448 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 (184): * Single equations (assignments): 172 * 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.0008999/7.363, allocations: 181.7 kB / 2.643 GB, free: 64.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009652/7.364, allocations: 326.9 kB / 2.643 GB, free: 64.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008655/7.373, allocations: 2.902 MB / 2.646 GB, free: 64.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.066e-05/7.373, allocations: 18.86 kB / 2.646 GB, free: 64.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/7.373, allocations: 3.906 kB / 2.646 GB, free: 64.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/7.373, allocations: 9.016 kB / 2.646 GB, free: 64.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/7.388, allocations: 4.566 MB / 2.65 GB, free: 63.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/7.388, allocations: 1.375 kB / 2.65 GB, free: 63.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/7.389, allocations: 218.1 kB / 2.651 GB, free: 63.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/7.39, allocations: 0.518 MB / 2.651 GB, free: 63.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/7.39, allocations: 30.5 kB / 2.651 GB, free: 63.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004178/7.395, allocations: 5.072 MB / 2.656 GB, free: 59.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/7.395, allocations: 0 / 2.656 GB, free: 59.57 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006504/7.401, allocations: 2.487 MB / 2.659 GB, free: 59.03 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007184/7.408, allocations: 3.051 MB / 2.662 GB, free: 58.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/7.411, allocations: 0.585 MB / 2.662 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/7.413, allocations: 2.938 kB / 2.662 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003294/7.416, allocations: 174.3 kB / 2.662 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/7.416, allocations: 92.77 kB / 2.662 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/7.417, allocations: 75.7 kB / 2.662 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.004819/7.421, allocations: 1.831 MB / 2.664 GB, free: 57.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01333/7.435, allocations: 2.409 MB / 2.667 GB, free: 57.46 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005613/7.44, allocations: 2.259 MB / 2.669 GB, free: 56.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00942/7.45, allocations: 3.527 MB / 2.672 GB, free: 56.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/7.45, allocations: 0 / 2.672 GB, free: 56.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/7.452, allocations: 0.8083 MB / 2.673 GB, free: 56.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008757/7.46, allocations: 1.353 MB / 2.674 GB, free: 56.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/7.475, allocations: 4.503 MB / 2.679 GB, free: 55.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004255/7.48, allocations: 2.528 MB / 2.681 GB, free: 54.54 MB / 0.7448 GB Notification: Performance of SimCode: time 1.152e-06/7.48, allocations: 0 / 2.681 GB, free: 54.54 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)