Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base",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 3.2.3+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 183.9 kB / 8.135 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.017/1.017, allocations: 205.2 MB / 213.7 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008307/0.0008307, allocations: 95.5 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2832/0.2832, allocations: 48.75 MB / 358.4 MB, free: 53.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0906/0.3739, allocations: 66.37 MB / 424.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.4637, allocations: 60.26 MB / 485.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.097/4.561, allocations: 2.974 GB / 3.447 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/4.561, allocations: 77.97 kB / 3.448 GB, free: 89.65 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 2.801/7.362, allocations: 1.058 GB / 4.505 GB, free: 25.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/7.362, allocations: 9.281 kB / 4.505 GB, free: 25.98 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009891/7.363, allocations: 204.7 kB / 4.506 GB, free: 25.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/7.364, allocations: 0.64 MB / 4.506 GB, free: 25.47 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/7.364, allocations: 30.62 kB / 4.506 GB, free: 25.47 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/7.365, allocations: 52.09 kB / 4.506 GB, free: 25.47 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001012/7.366, allocations: 0.5294 MB / 4.507 GB, free: 25.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/7.367, allocations: 0.9462 MB / 4.508 GB, free: 24.63 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/7.367, allocations: 8.688 kB / 4.508 GB, free: 24.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/7.367, allocations: 2.25 kB / 4.508 GB, free: 24.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/7.367, allocations: 24.56 kB / 4.508 GB, free: 24.62 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4147/7.782, allocations: 133.7 MB / 4.638 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/7.782, allocations: 186.1 kB / 4.638 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/7.782, allocations: 87.19 kB / 4.639 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1071/7.889, allocations: 64.04 MB / 4.701 GB, free: 28.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/7.889, allocations: 33.62 kB / 4.701 GB, free: 28.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=21): time 2.384e-06/7.889, allocations: 0 / 4.701 GB, free: 28.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24): time 0.00333/7.893, allocations: 1.134 MB / 4.702 GB, free: 28.04 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/7.893, allocations: 55.03 kB / 4.702 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/7.893, allocations: 0.5038 MB / 4.703 GB, free: 27.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/7.893, allocations: 25.7 kB / 4.703 GB, free: 27.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/7.893, allocations: 453.3 kB / 4.703 GB, free: 27.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/7.894, allocations: 90.06 kB / 4.703 GB, free: 27.55 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/7.894, allocations: 4 kB / 4.703 GB, free: 27.55 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001153/7.894, allocations: 365.6 kB / 4.704 GB, free: 27.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/7.894, allocations: 157.5 kB / 4.704 GB, free: 27.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/7.894, allocations: 348.4 kB / 4.704 GB, free: 26.96 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/7.895, allocations: 215.6 kB / 4.704 GB, free: 26.95 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/7.895, allocations: 0 / 4.704 GB, free: 26.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002043/7.897, allocations: 0.8692 MB / 4.705 GB, free: 26.86 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007603/7.898, allocations: 2.866 MB / 4.708 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/7.898, allocations: 12.88 kB / 4.708 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/7.898, allocations: 92.59 kB / 4.708 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/7.898, allocations: 134.1 kB / 4.708 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/7.899, allocations: 0.6402 MB / 4.709 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/7.899, allocations: 69.31 kB / 4.709 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/7.9, allocations: 35.53 kB / 4.709 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/7.9, allocations: 7.469 kB / 4.709 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001042/7.901, allocations: 0.49 MB / 4.709 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/7.901, allocations: 7.812 kB / 4.709 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003354/7.901, allocations: 92.19 kB / 4.71 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/7.901, allocations: 135.4 kB / 4.71 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003941/7.902, allocations: 0.6243 MB / 4.71 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/7.902, allocations: 58.64 kB / 4.71 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/7.902, allocations: 37.81 kB / 4.71 GB, free: 38.73 MB / 0.6042 GB Warning: Assuming fixed start value for the following 2 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real steamTurbines.mixLP.h:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0)))))))))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0)))))))))) start = steamTurbines.mixLP.hstart unit = "J/kg" nominal = 500000.0 stateSelect=StateSelect.prefer ) "Fluid specific enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.phase,steamTurbines.mixLP.fluidState.phase,steamTurbines.ST_LP.steamState_iso.phase,steamTurbines.ST_IP.steamState_iso.phase,steamTurbines.ST_HP.steamState_iso.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001956/7.902, allocations: 165.4 kB / 4.711 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/7.903, allocations: 231.1 kB / 4.711 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/7.904, allocations: 0.9218 MB / 4.712 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/7.904, allocations: 10.88 kB / 4.712 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/7.904, allocations: 0 / 4.712 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/7.904, allocations: 0 / 4.712 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/7.906, allocations: 1.754 MB / 4.713 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/7.906, allocations: 0 / 4.713 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/7.906, allocations: 40.94 kB / 4.713 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003975/7.907, allocations: 110.8 kB / 4.714 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/7.907, allocations: 7.297 kB / 4.714 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004313/7.907, allocations: 0.6885 MB / 4.714 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/7.907, allocations: 0 / 4.714 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001241/7.908, allocations: 1.185 MB / 4.715 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002025/7.91, allocations: 1.982 MB / 4.717 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/7.911, allocations: 160.5 kB / 4.717 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/7.911, allocations: 3.938 kB / 4.717 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/7.911, allocations: 26.31 kB / 4.717 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/7.911, allocations: 20.94 kB / 4.717 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/7.911, allocations: 14.91 kB / 4.718 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003509/7.911, allocations: 383.5 kB / 4.718 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008308/7.92, allocations: 2.095 MB / 4.72 GB, free: 36.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (steamTurbines.mixLP.h,constantSpeed.phi) * Number of discrete variables: 4 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007074/7.927, allocations: 3.035 MB / 4.723 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001091/7.928, allocations: 0.7986 MB / 4.724 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/7.928, allocations: 0 / 4.724 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/7.928, allocations: 371.5 kB / 4.724 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/7.929, allocations: 173 kB / 4.724 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/7.931, allocations: 1.258 MB / 4.725 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/7.932, allocations: 1.07 MB / 4.726 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/7.932, allocations: 0 / 4.726 GB, free: 34.66 MB / 0.6042 GB (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base.fmu > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe 2>&1)