Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.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.Examples.HRB.Simulators.OpenLoopSimulator,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulator",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.0009844/0.0009844, allocations: 183.8 kB / 8.138 MB, free: 2.223 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.061/1.061, allocations: 205.2 MB / 213.7 MB, free: 13.84 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.0008693/0.0008693, allocations: 87.94 kB / 261.7 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3091/0.3091, allocations: 48.75 MB / 358.5 MB, free: 53.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1031/0.4122, allocations: 66.38 MB / 424.8 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.5167, allocations: 60.25 MB / 485.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.462/5.979, allocations: 3.673 GB / 4.147 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/5.979, allocations: 91.73 kB / 4.147 GB, free: 124.5 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: 1371 * Number of variables: 1371 Notification: Performance of Generate backend data structure: time 2.598/8.577, allocations: 0.917 GB / 5.064 GB, free: 32.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/8.577, allocations: 9.844 kB / 5.064 GB, free: 32.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/8.592, allocations: 2.07 MB / 5.066 GB, free: 32.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/8.605, allocations: 4.167 MB / 5.07 GB, free: 31.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004255/8.606, allocations: 164.9 kB / 5.07 GB, free: 31.98 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003305/8.609, allocations: 324.8 kB / 5.071 GB, free: 31.97 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02472/8.634, allocations: 12 MB / 5.082 GB, free: 31.94 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02383/8.658, allocations: 9.754 MB / 5.092 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002144/8.658, allocations: 3.594 kB / 5.092 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002725/8.661, allocations: 3.125 kB / 5.092 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/8.661, allocations: 291.7 kB / 5.092 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3767/9.038, allocations: 77.68 MB / 5.168 GB, free: 106.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/9.05, allocations: 8.832 MB / 5.177 GB, free: 106.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00677/9.056, allocations: 5.035 MB / 5.182 GB, free: 106.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1989/9.255, allocations: 113.1 MB / 5.292 GB, free: 35.11 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/9.256, allocations: 109.5 kB / 5.292 GB, free: 35.06 MB / 0.573 GB Notification: Performance of pre-optimization done (n=602): time 1.448e-05/9.256, allocations: 0 / 5.292 GB, free: 35.06 MB / 0.573 GB Notification: Performance of matching and sorting (n=603): time 0.09291/9.348, allocations: 28.83 MB / 5.32 GB, free: 49.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/9.349, allocations: 140.8 kB / 5.321 GB, free: 49.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/9.351, allocations: 1.087 MB / 5.322 GB, free: 49.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.002228/9.353, allocations: 29.33 kB / 5.322 GB, free: 49.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008706/9.354, allocations: 1.208 MB / 5.323 GB, free: 48.76 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003695/9.358, allocations: 2.018 MB / 5.325 GB, free: 47.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/9.36, allocations: 3.469 kB / 5.325 GB, free: 47.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0006852/9.36, allocations: 0.5181 MB / 5.325 GB, free: 47.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00782/9.368, allocations: 4.47 MB / 5.33 GB, free: 47.14 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008598/9.377, allocations: 5.068 MB / 5.335 GB, free: 46.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/9.392, allocations: 6.769 MB / 5.341 GB, free: 46.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-05/9.392, allocations: 2.719 kB / 5.341 GB, free: 46.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=689) (initialization): time 0.04539/9.438, allocations: 15.95 MB / 5.357 GB, free: 45.89 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001227/9.439, allocations: 3.217 MB / 5.36 GB, free: 42.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.398e-05/9.439, allocations: 8.625 kB / 5.36 GB, free: 42.56 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01768/9.457, allocations: 4.455 MB / 5.364 GB, free: 42.28 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0083/9.465, allocations: 1.238 MB / 5.365 GB, free: 42.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2832/9.748, allocations: 49.91 MB / 5.414 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007177/9.755, allocations: 0.5376 MB / 5.415 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/9.757, allocations: 230.3 kB / 5.415 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/9.757, allocations: 3.5 kB / 5.415 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03683/9.794, allocations: 14.83 MB / 5.429 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.35e-05/9.794, allocations: 9.625 kB / 5.429 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/9.811, allocations: 4.456 MB / 5.434 GB, free: 104 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006948/9.818, allocations: 1.2 MB / 5.435 GB, free: 104 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04978/9.868, allocations: 49.19 MB / 5.483 GB, free: 75.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006784/9.875, allocations: 0.539 MB / 5.484 GB, free: 75.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/9.877, allocations: 228 kB / 5.484 GB, free: 75.16 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 13 (Plant.Boiler.WaterSide.fluidState[11].phase,Plant.Boiler.WaterSide.fluidState[10].phase,Plant.Boiler.WaterSide.fluidState[9].phase,Plant.Boiler.WaterSide.fluidState[8].phase,Plant.Boiler.WaterSide.fluidState[7].phase,Plant.Boiler.WaterSide.fluidState[6].phase,Plant.Boiler.WaterSide.fluidState[5].phase,Plant.Boiler.WaterSide.fluidState[4].phase,Plant.Boiler.WaterSide.fluidState[3].phase,Plant.Boiler.WaterSide.fluidState[2].phase,Plant.Boiler.WaterSide.fluidState[1].phase,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (609): * Single equations (assignments): 583 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 22 {(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003186/9.88, allocations: 207.3 kB / 5.484 GB, free: 75.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003394/9.883, allocations: 0.9239 MB / 5.485 GB, free: 74.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04175/9.925, allocations: 19.58 MB / 5.504 GB, free: 74.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001333/9.925, allocations: 94.36 kB / 5.504 GB, free: 74.18 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.742e-05/9.925, allocations: 17.31 kB / 5.504 GB, free: 74.18 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002037/9.925, allocations: 35.27 kB / 5.504 GB, free: 74.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06231/9.988, allocations: 28.85 MB / 5.532 GB, free: 66.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.622e-05/9.988, allocations: 0 / 5.532 GB, free: 66.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006858/9.995, allocations: 1.053 MB / 5.533 GB, free: 66.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01566/10.01, allocations: 4.573 MB / 5.538 GB, free: 64.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002039/10.01, allocations: 212.4 kB / 5.538 GB, free: 64.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.26/10.27, allocations: 48.2 MB / 5.585 GB, free: 97.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/10.27, allocations: 0 / 5.585 GB, free: 97.93 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05179/10.32, allocations: 24.44 MB / 5.609 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07517/10.4, allocations: 47.23 MB / 5.655 GB, free: 96.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004826/10.4, allocations: 1.689 MB / 5.657 GB, free: 95.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002024/10.41, allocations: 108.1 kB / 5.657 GB, free: 95.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00586/10.41, allocations: 427.7 kB / 5.657 GB, free: 95.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/10.41, allocations: 360.4 kB / 5.658 GB, free: 95.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007151/10.41, allocations: 261.5 kB / 5.658 GB, free: 95.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.00105/10.42, allocations: 0.8164 MB / 5.659 GB, free: 95.73 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02302/10.44, allocations: 4.63 MB / 5.663 GB, free: 95.25 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (Plant.Boiler.WaterSide.p,Plant.Boiler.WaterSide.htilde[1],Plant.Boiler.WaterSide.htilde[2],Plant.Boiler.WaterSide.htilde[3],Plant.Boiler.WaterSide.htilde[4],Plant.Boiler.WaterSide.htilde[5],Plant.Boiler.WaterSide.htilde[6],Plant.Boiler.WaterSide.htilde[7],Plant.Boiler.WaterSide.htilde[8],Plant.Boiler.WaterSide.htilde[9],Plant.Boiler.WaterSide.htilde[10],Plant.Boiler.TubeWalls.Tvol[1],Plant.Boiler.TubeWalls.Tvol[2],Plant.Boiler.TubeWalls.Tvol[3],Plant.Boiler.TubeWalls.Tvol[4],Plant.Boiler.TubeWalls.Tvol[5],Plant.Boiler.TubeWalls.Tvol[6],Plant.Boiler.TubeWalls.Tvol[7],Plant.Boiler.TubeWalls.Tvol[8],Plant.Boiler.TubeWalls.Tvol[9],Plant.Boiler.TubeWalls.Tvol[10],Plant.Boiler.GasSide.Ttilde[1],Plant.Boiler.GasSide.Ttilde[2],Plant.Boiler.GasSide.Ttilde[3],Plant.Boiler.GasSide.Ttilde[4],Plant.Boiler.GasSide.Ttilde[5],Plant.Boiler.GasSide.Ttilde[6],Plant.Boiler.GasSide.Ttilde[7],Plant.Boiler.GasSide.Ttilde[8],Plant.Boiler.GasSide.Ttilde[9],Plant.Boiler.GasSide.Ttilde[10],Plant.Boiler.GasSide.Xtilde[1,1],Plant.Boiler.GasSide.Xtilde[1,2],Plant.Boiler.GasSide.p,Plant.GasFlowActuator.y,Plant.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y) * Number of discrete variables: 22 ($cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse49.phase,$cse49.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 501 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 22 {(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009318/10.45, allocations: 3.207 MB / 5.666 GB, free: 94.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03757/10.49, allocations: 23.61 MB / 5.689 GB, free: 83.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/10.49, allocations: 10.88 kB / 5.689 GB, free: 83.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01474/10.5, allocations: 10.21 MB / 5.699 GB, free: 77.54 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008218/10.51, allocations: 1.421 MB / 5.701 GB, free: 77.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/10.54, allocations: 16.25 MB / 5.717 GB, free: 71.89 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006687/10.55, allocations: 4.339 MB / 5.721 GB, free: 70.47 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/10.55, allocations: 0 / 5.721 GB, free: 70.47 MB / 0.5886 GB (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulator_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulator.fmu > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe 2>&1)