Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.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.OpenLoopSimulatorSimplified,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulatorSimplified",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulatorSimplified",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.001107/0.001107, allocations: 181.2 kB / 8.135 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 0.9674/0.9674, allocations: 205.2 MB / 213.7 MB, free: 13.94 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.0008128/0.0008128, allocations: 99.28 kB / 261.8 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2633/0.2633, allocations: 48.76 MB / 358.4 MB, free: 53.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08245/0.3458, allocations: 66.38 MB / 424.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.4268, allocations: 60.25 MB / 485.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5/5.426, allocations: 3.999 GB / 4.473 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/5.427, allocations: 90.3 kB / 4.473 GB, free: 61.05 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: 1245 * Number of variables: 1245 Notification: Performance of Generate backend data structure: time 4.825/10.25, allocations: 2.13 GB / 6.602 GB, free: 22.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/10.25, allocations: 12.12 kB / 6.602 GB, free: 22.84 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008904/10.26, allocations: 1.485 MB / 6.604 GB, free: 22.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009545/10.27, allocations: 3.795 MB / 6.608 GB, free: 22.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/10.27, allocations: 147.9 kB / 6.608 GB, free: 22.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/10.27, allocations: 298.6 kB / 6.608 GB, free: 22.08 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01741/10.29, allocations: 11.11 MB / 6.619 GB, free: 22.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/10.3, allocations: 8.836 MB / 6.628 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.224e-05/10.3, allocations: 8.688 kB / 6.628 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006902/10.3, allocations: 7.219 kB / 6.628 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/10.3, allocations: 271.2 kB / 6.628 GB, free: 21.58 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04533/10.35, allocations: 35.29 MB / 6.662 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006172/10.36, allocations: 5.217 MB / 6.667 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004695/10.36, allocations: 4.135 MB / 6.671 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02791/10.39, allocations: 23 MB / 6.694 GB, free: 19.68 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/10.39, allocations: 98.12 kB / 6.694 GB, free: 19.63 MB / 0.573 GB Notification: Performance of pre-optimization done (n=503): time 6.783e-06/10.39, allocations: 3.594 kB / 6.694 GB, free: 19.63 MB / 0.573 GB Notification: Performance of matching and sorting (n=503): time 0.02635/10.41, allocations: 11.06 MB / 6.705 GB, free: 19.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/10.42, allocations: 129.3 kB / 6.705 GB, free: 19.01 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/10.42, allocations: 1.659 MB / 6.707 GB, free: 18.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007682/10.42, allocations: 29.2 kB / 6.707 GB, free: 18.72 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005891/10.42, allocations: 1.526 MB / 6.708 GB, free: 17.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001753/10.42, allocations: 1.716 MB / 6.71 GB, free: 16.62 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/10.42, allocations: 1.312 kB / 6.71 GB, free: 16.62 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003285/10.42, allocations: 0.5392 MB / 6.71 GB, free: 16.28 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004096/10.43, allocations: 3.336 MB / 6.713 GB, free: 14.79 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004601/10.43, allocations: 4.912 MB / 6.718 GB, free: 11.38 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009812/10.44, allocations: 5.715 MB / 6.724 GB, free: 9.203 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-05/10.44, allocations: 11.88 kB / 6.724 GB, free: 9.203 MB / 0.573 GB Notification: Performance of matching and sorting (n=755) (initialization): time 0.02279/10.46, allocations: 12.8 MB / 6.736 GB, free: 4.383 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.005777/10.47, allocations: 18.46 MB / 6.754 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.072e-05/10.47, allocations: 48.5 kB / 6.754 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03955/10.51, allocations: 9.057 MB / 6.763 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/10.51, allocations: 0.7875 MB / 6.764 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02813/10.54, allocations: 16.31 MB / 6.78 GB, free: 7.789 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005257/10.54, allocations: 0.6671 MB / 6.781 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009663/10.55, allocations: 279.1 kB / 6.781 GB, free: 7.453 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/10.55, allocations: 3.219 kB / 6.781 GB, free: 7.453 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02469/10.57, allocations: 11.84 MB / 6.792 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/10.57, allocations: 46.91 kB / 6.793 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02976/10.6, allocations: 7.335 MB / 6.8 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003929/10.6, allocations: 0.9018 MB / 6.801 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1838/10.79, allocations: 15.23 MB / 6.815 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/10.79, allocations: 0.5828 MB / 6.816 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005679/10.79, allocations: 278.1 kB / 6.816 GB, free: 113 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {32 300} Notification: Performance of prepare postOptimizeDAE: time 0.001276/10.8, allocations: 239.8 kB / 6.817 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006903/10.8, allocations: 334.5 kB / 6.817 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02367/10.82, allocations: 11.87 MB / 6.828 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/10.82, allocations: 47.59 kB / 6.828 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/10.82, allocations: 19.47 kB / 6.828 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-05/10.82, allocations: 24.75 kB / 6.829 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02843/10.85, allocations: 17.32 MB / 6.845 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/10.85, allocations: 2.469 kB / 6.845 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004106/10.85, allocations: 0.8231 MB / 6.846 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0126/10.86, allocations: 3.829 MB / 6.85 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008691/10.87, allocations: 148.9 kB / 6.85 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.037/10.9, allocations: 45.51 MB / 6.895 GB, free: 82.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/10.9, allocations: 0 / 6.895 GB, free: 82.75 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0287/10.93, allocations: 15.79 MB / 6.91 GB, free: 82.04 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04301/10.97, allocations: 30.72 MB / 6.94 GB, free: 78.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/10.98, allocations: 1.341 MB / 6.941 GB, free: 77.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/10.98, allocations: 70.22 kB / 6.941 GB, free: 77.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003849/10.98, allocations: 242.1 kB / 6.942 GB, free: 77.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006605/10.98, allocations: 297.2 kB / 6.942 GB, free: 77.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00055/10.98, allocations: 195.3 kB / 6.942 GB, free: 77.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001726/10.99, allocations: 1.193 MB / 6.943 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0112/11, allocations: 3.174 MB / 6.946 GB, free: 76.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 38 (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.p,Plant.GasFlowActuator.y,Plant.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 400 * 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,(10,64.0%) 21,(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,(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.002305/11, allocations: 1.55 MB / 6.948 GB, free: 76.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03018/11.03, allocations: 14.47 MB / 6.962 GB, free: 71.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/11.03, allocations: 0.7812 kB / 6.962 GB, free: 71.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01083/11.04, allocations: 6.832 MB / 6.969 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006419/11.05, allocations: 1.343 MB / 6.97 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/11.07, allocations: 12.24 MB / 6.982 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005088/11.07, allocations: 3.727 MB / 6.986 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of SimCode: time 8.32e-07/11.07, allocations: 3.5 kB / 6.986 GB, free: 62.35 MB / 0.6042 GB (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulatorSimplified_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulatorSimplified.fmu > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe 2>&1)