Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.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.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",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.001094/0.001094, allocations: 180.6 kB / 8.131 MB, free: 2.191 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.018/1.018, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.000819/0.000819, allocations: 93.28 kB / 261.7 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.2784/0.2784, allocations: 48.76 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0898/0.3683, allocations: 66.36 MB / 424.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08596/0.4542, allocations: 60.26 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.832/4.287, allocations: 2.908 GB / 3.381 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001582/4.287, allocations: 80.95 kB / 3.381 GB, free: 136.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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.7493/5.036, allocations: 309.2 MB / 3.683 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/5.036, allocations: 8 kB / 3.683 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/5.036, allocations: 55.59 kB / 3.683 GB, free: 53.56 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/5.037, allocations: 279 kB / 3.684 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/5.037, allocations: 8 kB / 3.684 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/5.037, allocations: 12 kB / 3.684 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002277/5.037, allocations: 129 kB / 3.684 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/5.037, allocations: 289.8 kB / 3.684 GB, free: 52.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/5.037, allocations: 3.938 kB / 3.684 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/5.037, allocations: 7.906 kB / 3.684 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/5.037, allocations: 8 kB / 3.684 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2408/5.278, allocations: 65.64 MB / 3.748 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/5.278, allocations: 44.64 kB / 3.748 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/5.278, allocations: 23.08 kB / 3.748 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/5.278, allocations: 3.156 kB / 3.748 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/5.278, allocations: 36.78 kB / 3.748 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/5.278, allocations: 0 / 3.748 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0004125/5.279, allocations: 126.6 kB / 3.748 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/5.279, allocations: 53.59 kB / 3.749 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/5.279, allocations: 207.6 kB / 3.749 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/5.279, allocations: 31.36 kB / 3.749 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/5.279, allocations: 186.5 kB / 3.749 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/5.279, allocations: 21.88 kB / 3.749 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/5.279, allocations: 0 / 3.749 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/5.279, allocations: 324.6 kB / 3.749 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/5.279, allocations: 28 kB / 3.749 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/5.279, allocations: 118.7 kB / 3.749 GB, free: 117 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/5.28, allocations: 57.62 kB / 3.749 GB, free: 117 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/5.28, allocations: 7.219 kB / 3.749 GB, free: 117 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006383/5.28, allocations: 275.3 kB / 3.75 GB, free: 117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/5.28, allocations: 1.133 MB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/5.28, allocations: 0 / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/5.28, allocations: 7.875 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/5.281, allocations: 54.53 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/5.281, allocations: 7.812 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/5.281, allocations: 30.02 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/5.281, allocations: 19.19 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-06/5.281, allocations: 0 / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002476/5.281, allocations: 121 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/5.281, allocations: 0 / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/5.281, allocations: 6.594 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/5.281, allocations: 51.03 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/5.281, allocations: 10 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/5.281, allocations: 28.28 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/5.281, allocations: 7.938 kB / 3.751 GB, free: 115.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 (steamTurbineStodola.steamState_in.phase,steamTurbineStodola.steamState_iso.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/5.282, allocations: 112.1 kB / 3.751 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/5.282, allocations: 72.11 kB / 3.751 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/5.282, allocations: 82.64 kB / 3.751 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/5.282, allocations: 3.969 kB / 3.751 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/5.282, allocations: 0 / 3.751 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/5.282, allocations: 2.719 kB / 3.751 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/5.282, allocations: 232.2 kB / 3.752 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/5.282, allocations: 0 / 3.752 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/5.282, allocations: 22.39 kB / 3.752 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/5.282, allocations: 7.031 kB / 3.752 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/5.282, allocations: 0 / 3.752 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/5.282, allocations: 0 / 3.752 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/5.282, allocations: 0 / 3.752 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000306/5.283, allocations: 245.4 kB / 3.752 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005062/5.283, allocations: 0.7007 MB / 3.753 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/5.283, allocations: 100.8 kB / 3.753 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/5.283, allocations: 3.156 kB / 3.753 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/5.283, allocations: 14.56 kB / 3.753 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/5.283, allocations: 3.688 kB / 3.753 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/5.283, allocations: 3 kB / 3.753 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.636e-05/5.284, allocations: 162.5 kB / 3.753 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00623/5.29, allocations: 1.574 MB / 3.754 GB, free: 114.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00816/5.298, allocations: 1.889 MB / 3.756 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002775/5.298, allocations: 147.6 kB / 3.756 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/5.298, allocations: 1.531 kB / 3.756 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/5.298, allocations: 17.84 kB / 3.756 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/5.299, allocations: 55.11 kB / 3.756 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/5.299, allocations: 302.5 kB / 3.757 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/5.3, allocations: 0.7831 MB / 3.757 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/5.3, allocations: 0 / 3.757 GB, free: 113.7 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)