Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_stratos.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.Pump_stratos,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_Pump_stratos",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.00423/0.004231, allocations: 185.6 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7452/0.7452, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.582/1.582, allocations: 221.3 MB / 395 MB, free: 10.19 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.001078/0.001078, allocations: 90.81 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4381/0.4392, allocations: 88.43 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.6354, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.939/5.575, allocations: 2.152 GB / 2.786 GB, free: 71.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/5.575, allocations: 87.95 kB / 2.786 GB, free: 71.61 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 3.179/8.754, allocations: 0.8852 GB / 3.671 GB, free: 84.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/8.754, allocations: 10.5 kB / 3.671 GB, free: 84.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/8.757, allocations: 0.578 MB / 3.672 GB, free: 84.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0376/8.795, allocations: 17.88 MB / 3.689 GB, free: 83.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/8.795, allocations: 37.06 kB / 3.689 GB, free: 83.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/8.795, allocations: 82.22 kB / 3.689 GB, free: 83.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001992/8.797, allocations: 1.243 MB / 3.69 GB, free: 83.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/8.799, allocations: 1.391 MB / 3.692 GB, free: 83.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/8.799, allocations: 3.844 kB / 3.692 GB, free: 83.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/8.799, allocations: 0 / 3.692 GB, free: 83.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/8.799, allocations: 29.22 kB / 3.692 GB, free: 83.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/8.81, allocations: 8.373 MB / 3.7 GB, free: 79.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/8.812, allocations: 1.159 MB / 3.701 GB, free: 79.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00083/8.813, allocations: 0.6607 MB / 3.702 GB, free: 79.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004671/8.817, allocations: 3.053 MB / 3.705 GB, free: 78.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/8.817, allocations: 46.02 kB / 3.705 GB, free: 77.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.637e-06/8.817, allocations: 0 / 3.705 GB, free: 77.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.004168/8.821, allocations: 1.77 MB / 3.707 GB, free: 77.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/8.822, allocations: 55.53 kB / 3.707 GB, free: 77.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005234/8.827, allocations: 2.803 MB / 3.709 GB, free: 77.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003267/8.827, allocations: 29.14 kB / 3.709 GB, free: 77.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/8.828, allocations: 0.6772 MB / 3.71 GB, free: 77.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/8.828, allocations: 212.6 kB / 3.71 GB, free: 76.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/8.828, allocations: 0 / 3.71 GB, free: 76.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/8.828, allocations: 350.3 kB / 3.711 GB, free: 76.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007471/8.829, allocations: 0.6022 MB / 3.711 GB, free: 76.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/8.83, allocations: 1.158 MB / 3.712 GB, free: 75.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/8.832, allocations: 0.8363 MB / 3.713 GB, free: 75.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/8.832, allocations: 11.56 kB / 3.713 GB, free: 75.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004573/8.836, allocations: 2.223 MB / 3.715 GB, free: 75.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001322/8.838, allocations: 6.186 MB / 3.721 GB, free: 69.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/8.838, allocations: 14.81 kB / 3.721 GB, free: 69.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/8.839, allocations: 0.4884 MB / 3.722 GB, free: 69.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009407/8.84, allocations: 232.5 kB / 3.722 GB, free: 69.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/8.842, allocations: 2.594 MB / 3.725 GB, free: 67.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/8.844, allocations: 180.5 kB / 3.725 GB, free: 67.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/8.844, allocations: 120.2 kB / 3.725 GB, free: 67.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/8.844, allocations: 4.562 kB / 3.725 GB, free: 67.68 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003602/8.848, allocations: 1.746 MB / 3.727 GB, free: 67.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/8.848, allocations: 15.88 kB / 3.727 GB, free: 67.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/8.849, allocations: 0.5809 MB / 3.727 GB, free: 67.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/8.85, allocations: 223 kB / 3.727 GB, free: 67.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/8.861, allocations: 7.943 MB / 3.735 GB, free: 64.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/8.864, allocations: 149.3 kB / 3.735 GB, free: 64.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/8.864, allocations: 101.4 kB / 3.735 GB, free: 64.08 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004846/8.864, allocations: 160.9 kB / 3.735 GB, free: 63.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/8.865, allocations: 241.3 kB / 3.736 GB, free: 63.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/8.869, allocations: 1.685 MB / 3.737 GB, free: 63.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/8.869, allocations: 16.5 kB / 3.737 GB, free: 63.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/8.869, allocations: 2.469 kB / 3.737 GB, free: 63.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002046/8.871, allocations: 1.354 MB / 3.739 GB, free: 63.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/8.878, allocations: 3.627 MB / 3.742 GB, free: 62.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/8.878, allocations: 3 kB / 3.742 GB, free: 62.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/8.879, allocations: 123.2 kB / 3.742 GB, free: 62.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/8.879, allocations: 253.1 kB / 3.743 GB, free: 62.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/8.879, allocations: 14.89 kB / 3.743 GB, free: 62.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/8.881, allocations: 2.036 MB / 3.745 GB, free: 61.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/8.881, allocations: 6.438 kB / 3.745 GB, free: 61.2 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004663/8.885, allocations: 2.116 MB / 3.747 GB, free: 60.78 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00497/8.89, allocations: 3.146 MB / 3.75 GB, free: 59.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/8.893, allocations: 0.5618 MB / 3.75 GB, free: 59.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/8.893, allocations: 5.344 kB / 3.75 GB, free: 59.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/8.894, allocations: 96.67 kB / 3.75 GB, free: 59.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/8.894, allocations: 46.16 kB / 3.75 GB, free: 59.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/8.894, allocations: 47.56 kB / 3.75 GB, free: 59.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.003122/8.898, allocations: 2.105 MB / 3.753 GB, free: 59.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006821/8.904, allocations: 1.642 MB / 3.754 GB, free: 59.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002537/8.907, allocations: 1.313 MB / 3.755 GB, free: 59.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003897/8.911, allocations: 2.429 MB / 3.758 GB, free: 58.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/8.911, allocations: 1.781 kB / 3.758 GB, free: 58.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007468/8.912, allocations: 489 kB / 3.758 GB, free: 58.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005097/8.917, allocations: 1.137 MB / 3.759 GB, free: 58.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006931/8.924, allocations: 3.357 MB / 3.763 GB, free: 58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/8.926, allocations: 2.075 MB / 3.765 GB, free: 57.26 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/8.926, allocations: 2.625 kB / 3.765 GB, free: 57.26 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_Pump_stratos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_Pump_stratos.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)