Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_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.003063/0.003063, allocations: 183 kB / 7.461 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7409/0.7409, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.547/1.547, 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.001189/0.001189, allocations: 94.61 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4018/0.403, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.5754, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.798, allocations: 396.1 MB / 1.02 GB, free: 237.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.798, allocations: 87.83 kB / 1.02 GB, free: 237.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.338/4.136, allocations: 0.6909 GB / 1.711 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/4.137, allocations: 11.94 kB / 1.711 GB, free: 58.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/4.14, allocations: 0.5835 MB / 1.712 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03109/4.171, allocations: 14.31 MB / 1.726 GB, free: 43.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/4.171, allocations: 32 kB / 1.726 GB, free: 43.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/4.171, allocations: 71.91 kB / 1.726 GB, free: 43.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001569/4.173, allocations: 0.8552 MB / 1.727 GB, free: 42.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/4.174, allocations: 1.055 MB / 1.728 GB, free: 41.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/4.174, allocations: 0 / 1.728 GB, free: 41.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/4.174, allocations: 4 kB / 1.728 GB, free: 41.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/4.174, allocations: 37.94 kB / 1.728 GB, free: 41.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008298/4.183, allocations: 5.605 MB / 1.733 GB, free: 35.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/4.183, allocations: 470.8 kB / 1.734 GB, free: 34.95 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/4.184, allocations: 374.7 kB / 1.734 GB, free: 34.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003517/4.187, allocations: 2.304 MB / 1.736 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/4.187, allocations: 39.22 kB / 1.736 GB, free: 32.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 2.355e-06/4.187, allocations: 0 / 1.736 GB, free: 32.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.004672/4.192, allocations: 1.225 MB / 1.737 GB, free: 30.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/4.192, allocations: 56.06 kB / 1.737 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/4.194, allocations: 1.167 MB / 1.739 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/4.195, allocations: 25.7 kB / 1.739 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/4.195, allocations: 0.4902 MB / 1.739 GB, free: 29.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/4.195, allocations: 228.6 kB / 1.739 GB, free: 28.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/4.195, allocations: 0 / 1.739 GB, free: 28.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/4.195, allocations: 341.9 kB / 1.74 GB, free: 28.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/4.196, allocations: 353.8 kB / 1.74 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/4.197, allocations: 0.6777 MB / 1.741 GB, free: 27.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/4.198, allocations: 0.5558 MB / 1.741 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/4.198, allocations: 0 / 1.741 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003198/4.201, allocations: 1.37 MB / 1.743 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007415/4.202, allocations: 3.324 MB / 1.746 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/4.202, allocations: 8 kB / 1.746 GB, free: 21.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000934/4.203, allocations: 304.3 kB / 1.746 GB, free: 21.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/4.204, allocations: 223.7 kB / 1.746 GB, free: 21.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/4.206, allocations: 1.565 MB / 1.748 GB, free: 19.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/4.207, allocations: 127 kB / 1.748 GB, free: 19.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/4.208, allocations: 75.95 kB / 1.748 GB, free: 19.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/4.208, allocations: 4 kB / 1.748 GB, free: 19.39 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002936/4.211, allocations: 1.119 MB / 1.749 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/4.211, allocations: 8 kB / 1.749 GB, free: 18.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008987/4.212, allocations: 306.5 kB / 1.749 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008339/4.212, allocations: 211.7 kB / 1.75 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005895/4.218, allocations: 3.893 MB / 1.753 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/4.22, allocations: 107.4 kB / 1.754 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/4.22, allocations: 67.95 kB / 1.754 GB, free: 13.49 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.0004031/4.221, allocations: 135.7 kB / 1.754 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/4.221, allocations: 158 kB / 1.754 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/4.225, allocations: 1.455 MB / 1.755 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/4.225, allocations: 12 kB / 1.755 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/4.225, allocations: 3.984 kB / 1.755 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/4.225, allocations: 4.094 kB / 1.755 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/4.229, allocations: 2.466 MB / 1.758 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/4.229, allocations: 0 / 1.758 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/4.23, allocations: 119.8 kB / 1.758 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005575/4.231, allocations: 232.8 kB / 1.758 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/4.231, allocations: 19.98 kB / 1.758 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/4.232, allocations: 1.448 MB / 1.759 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/4.232, allocations: 0 / 1.759 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00341/4.235, allocations: 1.818 MB / 1.761 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004871/4.24, allocations: 2.744 MB / 1.764 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009066/4.241, allocations: 346.7 kB / 1.764 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/4.241, allocations: 7.938 kB / 1.764 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/4.242, allocations: 79.77 kB / 1.764 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/4.242, allocations: 48.58 kB / 1.764 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.507e-05/4.243, allocations: 39.97 kB / 1.764 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001256/4.244, allocations: 0.8777 MB / 1.765 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004963/4.249, allocations: 1.262 MB / 1.767 GB, free: 8 kB / 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.002485/4.251, allocations: 1.277 MB / 1.768 GB, free: 14.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003547/4.255, allocations: 1.637 MB / 1.769 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/4.255, allocations: 0 / 1.769 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008602/4.256, allocations: 451.3 kB / 1.77 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/4.259, allocations: 0.6206 MB / 1.77 GB, free: 12.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/4.264, allocations: 2.209 MB / 1.773 GB, free: 9.871 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/4.265, allocations: 1.546 MB / 1.774 GB, free: 8.293 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/4.265, allocations: 0 / 1.774 GB, free: 8.293 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)