Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8208/0.8208, allocations: 150.9 MB / 166.6 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 15.97 kB / 204.7 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 31.34 MB / 236 MB, free: 5.465 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.759/1.954, allocations: 293.3 MB / 0.5169 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6284/2.582, allocations: 197.8 MB / 0.71 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/2.583, allocations: 8.812 kB / 0.7101 GB, free: 3.574 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:65:3-66:54:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:67:3-68:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:72:3-76:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005819/2.584, allocations: 143.5 kB / 0.7102 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004336/2.584, allocations: 156.9 kB / 0.7103 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04198/2.626, allocations: 10.71 MB / 0.7208 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009805/2.627, allocations: 0.5876 MB / 0.7214 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003264/2.627, allocations: 227 kB / 0.7216 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/2.628, allocations: 238.8 kB / 0.7218 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/2.628, allocations: 220.5 kB / 0.722 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/2.628, allocations: 30.62 kB / 0.7221 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0477/2.676, allocations: 25.51 MB / 0.747 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/2.676, allocations: 85.8 kB / 0.747 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004855/2.676, allocations: 242.2 kB / 0.7473 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0204/2.697, allocations: 8.44 MB / 0.7555 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/2.697, allocations: 0 / 0.7555 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/2.697, allocations: 4 kB / 0.7555 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.857e-06/2.697, allocations: 0 / 0.7555 GB, free: 13.18 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.008454/2.705, allocations: 2.191 MB / 0.7577 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/2.706, allocations: 7.344 kB / 0.7577 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/2.706, allocations: 54.56 kB / 0.7577 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/2.706, allocations: 331.6 kB / 0.758 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/2.706, allocations: 94.42 kB / 0.7581 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/2.706, allocations: 37.91 kB / 0.7582 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009322/2.707, allocations: 0.5073 MB / 0.7587 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/2.707, allocations: 0 / 0.7587 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/2.707, allocations: 18.44 kB / 0.7587 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/2.708, allocations: 17.73 kB / 0.7587 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/2.708, allocations: 368.1 kB / 0.759 GB, free: 11.2 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07177/2.78, allocations: 33.17 MB / 0.7914 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/2.781, allocations: 213.8 kB / 0.7916 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/2.781, allocations: 151.9 kB / 0.7918 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1333/2.914, allocations: 80.45 MB / 0.8703 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/2.914, allocations: 34.31 kB / 0.8704 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 3.286e-06/2.914, allocations: 5.203 kB / 0.8704 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.003246/2.917, allocations: 1.09 MB / 0.8714 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/2.917, allocations: 51.41 kB / 0.8715 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/2.918, allocations: 315.2 kB / 0.8718 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/2.918, allocations: 29.08 kB / 0.8718 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/2.918, allocations: 247.3 kB / 0.8721 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/2.918, allocations: 161.8 kB / 0.8722 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/2.918, allocations: 81.34 kB / 0.8723 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001437/2.919, allocations: 352.2 kB / 0.8726 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/2.919, allocations: 128.2 kB / 0.8727 GB, free: 472 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/2.919, allocations: 257.8 kB / 0.873 GB, free: 216 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/2.92, allocations: 436.1 kB / 0.8734 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/2.92, allocations: 0 / 0.8734 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00178/2.922, allocations: 0.6665 MB / 0.8741 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/2.922, allocations: 9.094 kB / 0.8741 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/2.922, allocations: 7.75 kB / 0.8741 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008213/2.923, allocations: 381.3 kB / 0.8744 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/2.923, allocations: 43.5 kB / 0.8745 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/2.925, allocations: 1.925 MB / 0.8764 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/2.925, allocations: 55.05 kB / 0.8764 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/2.925, allocations: 19.3 kB / 0.8764 GB, free: 13.09 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,stodolaTurbine.fluid,puitsP.fluid,stodolaTurbine.Cs.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002365/2.925, allocations: 158.6 kB / 0.8766 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/2.925, allocations: 36.34 kB / 0.8766 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/2.927, allocations: 0.8651 MB / 0.8775 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001138/2.928, allocations: 0.6717 MB / 0.8781 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/2.928, allocations: 0 / 0.8781 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/2.928, allocations: 4 kB / 0.8781 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/2.931, allocations: 1.574 MB / 0.8797 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/2.931, allocations: 5.094 kB / 0.8797 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/2.931, allocations: 54.23 kB / 0.8797 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006981/2.932, allocations: 395.5 kB / 0.8801 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/2.932, allocations: 7.672 kB / 0.8801 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/2.933, allocations: 1.942 MB / 0.882 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/2.933, allocations: 0 / 0.882 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/2.935, allocations: 0.8425 MB / 0.8828 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/2.935, allocations: 129.5 kB / 0.8829 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/2.935, allocations: 10.88 kB / 0.883 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/2.936, allocations: 19.42 kB / 0.883 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/2.936, allocations: 31.33 kB / 0.883 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/2.936, allocations: 11.5 kB / 0.883 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002568/2.936, allocations: 220.1 kB / 0.8832 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/2.936, allocations: 0 / 0.8832 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006912/2.943, allocations: 2.034 MB / 0.8852 GB, free: 5.418 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0133/2.956, allocations: 3.042 MB / 0.8882 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001541/2.958, allocations: 0.5749 MB / 0.8887 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/2.958, allocations: 4.062 kB / 0.8887 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006929/2.959, allocations: 287.2 kB / 0.889 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/2.96, allocations: 231.5 kB / 0.8892 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/2.963, allocations: 1.361 MB / 0.8906 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/2.963, allocations: 0.8721 MB / 0.8914 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/2.963, allocations: 42.34 kB / 0.8915 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/2.963, allocations: 0 / 0.8915 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.0737/3.037, allocations: 46.62 MB / 0.937 GB, free: 1.262 MB / 0.7637 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbineCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbineCalcHelperMain.o] Error 1