Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries",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.004567/0.004567, allocations: 176 kB / 7.451 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7247/0.7247, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.553/1.553, allocations: 221.3 MB / 395 MB, free: 10.18 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.0009363/0.0009364, allocations: 99.08 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4121/0.4131, allocations: 88.42 MB / 0.5529 GB, free: 89.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.5917, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.765, allocations: 396.1 MB / 1.02 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.766, allocations: 96.69 kB / 1.02 GB, free: 201.3 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 2.241/4.006, allocations: 0.6909 GB / 1.711 GB, free: 48.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/4.006, allocations: 18.59 kB / 1.711 GB, free: 48.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/4.01, allocations: 0.5789 MB / 1.712 GB, free: 47.97 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03415/4.044, allocations: 14.31 MB / 1.726 GB, free: 33.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/4.044, allocations: 32 kB / 1.726 GB, free: 33.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/4.044, allocations: 68.98 kB / 1.726 GB, free: 33.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001714/4.046, allocations: 0.8591 MB / 1.727 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/4.048, allocations: 1.054 MB / 1.728 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/4.048, allocations: 4 kB / 1.728 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/4.048, allocations: 0 / 1.728 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/4.048, allocations: 38 kB / 1.728 GB, free: 31.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009343/4.057, allocations: 5.604 MB / 1.733 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/4.058, allocations: 470.9 kB / 1.734 GB, free: 25.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/4.058, allocations: 370.7 kB / 1.734 GB, free: 24.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003755/4.062, allocations: 2.312 MB / 1.736 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/4.062, allocations: 39.22 kB / 1.736 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/4.062, allocations: 0 / 1.736 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.003877/4.066, allocations: 1.217 MB / 1.737 GB, free: 21.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/4.066, allocations: 60.06 kB / 1.737 GB, free: 21.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/4.068, allocations: 1.163 MB / 1.739 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/4.068, allocations: 33.7 kB / 1.739 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/4.068, allocations: 0.4941 MB / 1.739 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/4.069, allocations: 224.6 kB / 1.739 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/4.069, allocations: 0 / 1.739 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001108/4.069, allocations: 341.9 kB / 1.74 GB, free: 18.85 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/4.069, allocations: 349.9 kB / 1.74 GB, free: 18.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/4.07, allocations: 0.6855 MB / 1.741 GB, free: 17.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/4.071, allocations: 0.5563 MB / 1.741 GB, free: 17.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/4.071, allocations: 4 kB / 1.741 GB, free: 17.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003391/4.075, allocations: 1.367 MB / 1.743 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001044/4.076, allocations: 3.319 MB / 1.746 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/4.076, allocations: 12 kB / 1.746 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009943/4.077, allocations: 297.4 kB / 1.746 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009823/4.078, allocations: 223.7 kB / 1.746 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/4.079, allocations: 1.571 MB / 1.748 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/4.081, allocations: 123.1 kB / 1.748 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/4.082, allocations: 67.95 kB / 1.748 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/4.082, allocations: 4 kB / 1.748 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002915/4.084, allocations: 1.127 MB / 1.749 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/4.084, allocations: 8.688 kB / 1.749 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009159/4.085, allocations: 305.5 kB / 1.749 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/4.086, allocations: 211.7 kB / 1.75 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/4.092, allocations: 3.903 MB / 1.753 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/4.094, allocations: 103.4 kB / 1.754 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/4.094, allocations: 67.97 kB / 1.754 GB, free: 3.855 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.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: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004218/4.095, allocations: 129.1 kB / 1.754 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/4.095, allocations: 158 kB / 1.754 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/4.099, allocations: 1.457 MB / 1.755 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/4.099, allocations: 11.98 kB / 1.755 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/4.099, allocations: 0 / 1.755 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/4.099, allocations: 3.984 kB / 1.755 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4413/4.54, allocations: 2.456 MB / 1.758 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/4.541, allocations: 3.938 kB / 1.758 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/4.541, allocations: 124.4 kB / 1.758 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006155/4.542, allocations: 235.4 kB / 1.758 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.063e-05/4.542, allocations: 14.52 kB / 1.758 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/4.543, allocations: 1.447 MB / 1.759 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/4.543, allocations: 3.719 kB / 1.759 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00391/4.547, allocations: 1.822 MB / 1.761 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004664/4.552, allocations: 2.735 MB / 1.764 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/4.553, allocations: 351.5 kB / 1.764 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/4.553, allocations: 8.625 kB / 1.764 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/4.554, allocations: 74.94 kB / 1.764 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/4.555, allocations: 49.23 kB / 1.764 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.234e-05/4.555, allocations: 36.06 kB / 1.764 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001538/4.556, allocations: 0.8836 MB / 1.765 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005739/4.562, allocations: 1.264 MB / 1.767 GB, free: 126.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002665/4.565, allocations: 1.263 MB / 1.768 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003459/4.568, allocations: 1.639 MB / 1.769 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/4.568, allocations: 0 / 1.769 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007971/4.569, allocations: 444.7 kB / 1.77 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003567/4.573, allocations: 0.6199 MB / 1.77 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/4.578, allocations: 2.215 MB / 1.773 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/4.58, allocations: 1.556 MB / 1.774 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of SimCode: time 9.91e-07/4.58, allocations: 0 / 1.774 GB, free: 124.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)