Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_dev_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.003214/0.003214, allocations: 184.3 kB / 7.462 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.7297/0.7297, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.573/1.573, allocations: 221.3 MB / 395 MB, free: 10.24 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.00105/0.00105, allocations: 92.53 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4739/0.475, allocations: 88.43 MB / 0.5529 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.6682, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.844, allocations: 402.5 MB / 1.026 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.844, allocations: 89.06 kB / 1.026 GB, free: 231.6 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.11/6.954, allocations: 1.471 GB / 2.498 GB, free: 49.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/6.954, allocations: 8.5 kB / 2.498 GB, free: 49.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008691/6.962, allocations: 1.221 MB / 2.499 GB, free: 48.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08217/7.045, allocations: 29.07 MB / 2.527 GB, free: 46.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/7.045, allocations: 76.16 kB / 2.527 GB, free: 46.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/7.046, allocations: 142.3 kB / 2.527 GB, free: 46.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005726/7.052, allocations: 1.915 MB / 2.529 GB, free: 45.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007404/7.059, allocations: 2.291 MB / 2.532 GB, free: 44.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.225e-05/7.059, allocations: 1.312 kB / 2.532 GB, free: 44.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005858/7.06, allocations: 3.344 kB / 2.532 GB, free: 44.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.088e-05/7.06, allocations: 55.75 kB / 2.532 GB, free: 44.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02721/7.087, allocations: 12.08 MB / 2.543 GB, free: 36.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/7.091, allocations: 1.948 MB / 2.545 GB, free: 35.49 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/7.093, allocations: 0.8338 MB / 2.546 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/7.104, allocations: 4.001 MB / 2.55 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/7.104, allocations: 44.75 kB / 2.55 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 6.152e-06/7.104, allocations: 0 / 2.55 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.01095/7.115, allocations: 2.805 MB / 2.553 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/7.115, allocations: 64.41 kB / 2.553 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007495/7.123, allocations: 2.634 MB / 2.555 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006532/7.123, allocations: 25.7 kB / 2.555 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/7.125, allocations: 1.031 MB / 2.556 GB, free: 26.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009507/7.126, allocations: 398 kB / 2.557 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003308/7.126, allocations: 0 / 2.557 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001802/7.126, allocations: 385.8 kB / 2.557 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/7.128, allocations: 0.8453 MB / 2.558 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/7.129, allocations: 1.624 MB / 2.56 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/7.133, allocations: 1.284 MB / 2.561 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/7.133, allocations: 4 kB / 2.561 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008573/7.142, allocations: 3.371 MB / 2.564 GB, free: 18.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001862/7.144, allocations: 8.063 MB / 2.572 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/7.144, allocations: 24 kB / 2.572 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/7.146, allocations: 0.8736 MB / 2.573 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/7.148, allocations: 399.3 kB / 2.573 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004614/7.152, allocations: 5.948 MB / 2.579 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004366/7.157, allocations: 309.8 kB / 2.579 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005623/7.157, allocations: 179.9 kB / 2.58 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/7.157, allocations: 7.938 kB / 2.58 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008574/7.166, allocations: 2.83 MB / 2.582 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.178e-05/7.166, allocations: 20 kB / 2.582 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003115/7.169, allocations: 1.026 MB / 2.583 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/7.171, allocations: 371.4 kB / 2.584 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5275/7.698, allocations: 13.87 MB / 2.597 GB, free: 109.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00424/7.703, allocations: 264 kB / 2.598 GB, free: 109.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005229/7.703, allocations: 154.4 kB / 2.598 GB, free: 109.7 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.0007803/7.704, allocations: 177.3 kB / 2.598 GB, free: 109.6 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/7.705, allocations: 351.2 kB / 2.598 GB, free: 109.6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0076/7.713, allocations: 2.956 MB / 2.601 GB, free: 109.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/7.713, allocations: 17.38 kB / 2.601 GB, free: 109.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/7.713, allocations: 0 / 2.601 GB, free: 109.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/7.713, allocations: 10.41 kB / 2.601 GB, free: 109.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/7.725, allocations: 4.866 MB / 2.606 GB, free: 109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/7.725, allocations: 0 / 2.606 GB, free: 109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/7.727, allocations: 222.6 kB / 2.606 GB, free: 109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/7.728, allocations: 0.5506 MB / 2.607 GB, free: 109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/7.728, allocations: 35.91 kB / 2.607 GB, free: 109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/7.731, allocations: 5.195 MB / 2.612 GB, free: 104.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/7.731, allocations: 1.406 kB / 2.612 GB, free: 104.8 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006521/7.738, allocations: 2.687 MB / 2.614 GB, free: 104.4 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006769/7.745, allocations: 3.259 MB / 2.617 GB, free: 103.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/7.747, allocations: 0.6167 MB / 2.618 GB, free: 103.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006087/7.748, allocations: 4.438 kB / 2.618 GB, free: 103.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/7.75, allocations: 183.2 kB / 2.618 GB, free: 103.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/7.75, allocations: 86.78 kB / 2.618 GB, free: 103.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/7.75, allocations: 82.86 kB / 2.618 GB, free: 103.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.003297/7.753, allocations: 1.972 MB / 2.62 GB, free: 102.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0109/7.764, allocations: 2.513 MB / 2.623 GB, free: 102.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.004151/7.768, allocations: 2.302 MB / 2.625 GB, free: 102.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007522/7.776, allocations: 3.917 MB / 2.629 GB, free: 101.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/7.776, allocations: 2.906 kB / 2.629 GB, free: 101.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/7.778, allocations: 0.8571 MB / 2.63 GB, free: 101.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008781/7.787, allocations: 1.522 MB / 2.631 GB, free: 101.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/7.799, allocations: 4.768 MB / 2.636 GB, free: 100.6 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002706/7.802, allocations: 2.625 MB / 2.638 GB, free: 99.84 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/7.802, allocations: 2.5 kB / 2.638 GB, free: 99.84 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)