Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.00618/0.00618, allocations: 185.2 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7374/0.7374, 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.613/1.613, allocations: 221.3 MB / 395 MB, free: 10.21 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.001427/0.001427, allocations: 94.61 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4949/0.4964, allocations: 88.42 MB / 0.5529 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.6818, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.837, allocations: 402.5 MB / 1.026 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/1.838, allocations: 92.64 kB / 1.026 GB, free: 231.5 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 5.409/7.246, allocations: 1.471 GB / 2.498 GB, free: 45.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/7.246, allocations: 9.406 kB / 2.498 GB, free: 45.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008187/7.255, allocations: 1.216 MB / 2.499 GB, free: 44.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07575/7.33, allocations: 29.05 MB / 2.527 GB, free: 42.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/7.331, allocations: 75.88 kB / 2.527 GB, free: 42.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009152/7.332, allocations: 145.4 kB / 2.527 GB, free: 42.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004273/7.336, allocations: 1.915 MB / 2.529 GB, free: 42.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/7.34, allocations: 2.291 MB / 2.532 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/7.34, allocations: 3.781 kB / 2.532 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/7.34, allocations: 0 / 2.532 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/7.34, allocations: 54.5 kB / 2.532 GB, free: 42.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02332/7.364, allocations: 12.08 MB / 2.543 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/7.367, allocations: 1.95 MB / 2.545 GB, free: 35.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/7.369, allocations: 0.844 MB / 2.546 GB, free: 35.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007653/7.376, allocations: 3.993 MB / 2.55 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/7.376, allocations: 47.03 kB / 2.55 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 3.507e-06/7.376, allocations: 0 / 2.55 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.008124/7.384, allocations: 2.806 MB / 2.553 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/7.385, allocations: 64.81 kB / 2.553 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005247/7.39, allocations: 2.639 MB / 2.555 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006898/7.39, allocations: 29.67 kB / 2.555 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007126/7.391, allocations: 1.033 MB / 2.556 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007283/7.392, allocations: 391.5 kB / 2.557 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/7.392, allocations: 0 / 2.557 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001667/7.392, allocations: 387.2 kB / 2.557 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/7.394, allocations: 0.8486 MB / 2.558 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/7.396, allocations: 1.621 MB / 2.56 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/7.4, allocations: 1.276 MB / 2.561 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/7.4, allocations: 5.812 kB / 2.561 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009594/7.41, allocations: 3.38 MB / 2.564 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001856/7.411, allocations: 8.069 MB / 2.572 GB, free: 17.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.051e-05/7.411, allocations: 19.66 kB / 2.572 GB, free: 17.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/7.414, allocations: 0.8651 MB / 2.573 GB, free: 17.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/7.416, allocations: 401.2 kB / 2.573 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/7.421, allocations: 5.952 MB / 2.579 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/7.426, allocations: 308.9 kB / 2.579 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007916/7.427, allocations: 180.7 kB / 2.58 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/7.427, allocations: 4.094 kB / 2.58 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00903/7.436, allocations: 2.831 MB / 2.582 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-05/7.436, allocations: 20.61 kB / 2.582 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/7.439, allocations: 1.02 MB / 2.583 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/7.44, allocations: 369.8 kB / 2.584 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/7.46, allocations: 13.89 MB / 2.597 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004303/7.464, allocations: 257.9 kB / 2.598 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006201/7.465, allocations: 154.6 kB / 2.598 GB, free: 11.21 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.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: pum2.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: pum1.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: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * 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.000957/7.466, allocations: 174.2 kB / 2.598 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/7.467, allocations: 347.4 kB / 2.598 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008243/7.475, allocations: 2.954 MB / 2.601 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/7.475, allocations: 21.53 kB / 2.601 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/7.475, allocations: 0 / 2.601 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/7.475, allocations: 7.359 kB / 2.601 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/7.49, allocations: 4.872 MB / 2.606 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/7.49, allocations: 0 / 2.606 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/7.492, allocations: 223.8 kB / 2.606 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/7.493, allocations: 0.5613 MB / 2.607 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/7.493, allocations: 35.95 kB / 2.607 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4835/7.977, allocations: 5.193 MB / 2.612 GB, free: 105.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/7.977, allocations: 0 / 2.612 GB, free: 105.5 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007195/7.984, allocations: 2.681 MB / 2.614 GB, free: 105.1 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00792/7.992, allocations: 3.264 MB / 2.618 GB, free: 104.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/7.995, allocations: 0.6166 MB / 2.618 GB, free: 104.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/7.996, allocations: 0 / 2.618 GB, free: 104.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/7.999, allocations: 182.8 kB / 2.618 GB, free: 104.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/7.999, allocations: 91.77 kB / 2.618 GB, free: 104.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/7.999, allocations: 78.58 kB / 2.618 GB, free: 104.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.003741/8.003, allocations: 1.968 MB / 2.62 GB, free: 103.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01223/8.015, allocations: 2.515 MB / 2.623 GB, free: 103.8 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.004101/8.02, allocations: 2.314 MB / 2.625 GB, free: 103.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007311/8.027, allocations: 3.911 MB / 2.629 GB, free: 102.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/8.027, allocations: 6.812 kB / 2.629 GB, free: 102.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/8.029, allocations: 0.8515 MB / 2.63 GB, free: 102.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008997/8.038, allocations: 1.521 MB / 2.631 GB, free: 102.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/8.052, allocations: 4.763 MB / 2.636 GB, free: 101.6 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003075/8.055, allocations: 2.621 MB / 2.638 GB, free: 100.9 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/8.055, allocations: 2.156 kB / 2.638 GB, free: 100.9 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)