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.6726/0.6726, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.034e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 31.98 MB / 237.4 MB, free: 5.453 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. 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.289/1.409, allocations: 294.2 MB / 0.5192 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3982/1.807, allocations: 195.4 MB / 0.71 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/1.808, allocations: 9.062 kB / 0.71 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003544/1.808, allocations: 151.1 kB / 0.7102 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/1.808, allocations: 155 kB / 0.7103 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02276/1.831, allocations: 10.95 MB / 0.721 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004308/1.831, allocations: 0.5856 MB / 0.7216 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/1.832, allocations: 203.3 kB / 0.7218 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/1.832, allocations: 216.2 kB / 0.722 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/1.832, allocations: 200 kB / 0.7222 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/1.832, allocations: 18.19 kB / 0.7222 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03087/1.863, allocations: 25.64 MB / 0.7472 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/1.863, allocations: 69.41 kB / 0.7473 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000262/1.863, allocations: 247.6 kB / 0.7475 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009779/1.873, allocations: 8.361 MB / 0.7557 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.873, allocations: 0 / 0.7557 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/1.873, allocations: 0 / 0.7557 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.873, allocations: 0 / 0.7557 GB, free: 13.71 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.004753/1.878, allocations: 2.121 MB / 0.7578 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/1.878, allocations: 8.656 kB / 0.7578 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.608e-05/1.878, allocations: 53.41 kB / 0.7578 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/1.878, allocations: 325.2 kB / 0.7581 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/1.879, allocations: 102.9 kB / 0.7582 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/1.879, allocations: 37.16 kB / 0.7583 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/1.879, allocations: 0.5175 MB / 0.7588 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.879, allocations: 4 kB / 0.7588 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.879, allocations: 17.66 kB / 0.7588 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/1.879, allocations: 19.61 kB / 0.7588 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005987/1.88, allocations: 390.6 kB / 0.7592 GB, free: 11.73 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.06493/1.945, allocations: 33.47 MB / 0.7919 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/1.945, allocations: 223.3 kB / 0.7921 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/1.946, allocations: 164 kB / 0.7922 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1225/2.068, allocations: 80.94 MB / 0.8713 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/2.068, allocations: 39.42 kB / 0.8713 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.624e-06/2.068, allocations: 0 / 0.8713 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.002969/2.071, allocations: 1.22 MB / 0.8725 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/2.071, allocations: 51.41 kB / 0.8726 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/2.071, allocations: 312.9 kB / 0.8729 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/2.071, allocations: 27.52 kB / 0.8729 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/2.072, allocations: 244.1 kB / 0.8731 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/2.072, allocations: 158.2 kB / 0.8733 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/2.072, allocations: 51.75 kB / 0.8733 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001106/2.072, allocations: 351 kB / 0.8737 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/2.072, allocations: 143.2 kB / 0.8738 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/2.072, allocations: 270.2 kB / 0.874 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/2.073, allocations: 459.8 kB / 0.8745 GB, free: 472 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/2.073, allocations: 4 kB / 0.8745 GB, free: 468 kB / 0.7012 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001595/2.075, allocations: 0.7079 MB / 0.8752 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/2.075, allocations: 9.25 kB / 0.8752 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/2.075, allocations: 4.25 kB / 0.8752 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007078/2.076, allocations: 395.5 kB / 0.8756 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/2.076, allocations: 41.33 kB / 0.8756 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/2.077, allocations: 1.952 MB / 0.8775 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/2.077, allocations: 67.36 kB / 0.8776 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/2.077, allocations: 20.19 kB / 0.8776 GB, free: 13.59 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.0001437/2.078, allocations: 154 kB / 0.8777 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/2.078, allocations: 42.45 kB / 0.8778 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/2.079, allocations: 0.8911 MB / 0.8787 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001074/2.08, allocations: 0.6963 MB / 0.8793 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/2.08, allocations: 3.938 kB / 0.8793 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/2.08, allocations: 3.984 kB / 0.8793 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/2.082, allocations: 1.65 MB / 0.881 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/2.083, allocations: 0 / 0.881 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/2.083, allocations: 61 kB / 0.881 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006291/2.083, allocations: 413.7 kB / 0.8814 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/2.083, allocations: 10.03 kB / 0.8814 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/2.085, allocations: 1.957 MB / 0.8833 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/2.085, allocations: 128 / 0.8833 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/2.086, allocations: 0.9022 MB / 0.8842 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/2.086, allocations: 132.3 kB / 0.8843 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/2.086, allocations: 6.938 kB / 0.8843 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/2.087, allocations: 28.73 kB / 0.8844 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/2.087, allocations: 27.03 kB / 0.8844 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/2.087, allocations: 15.36 kB / 0.8844 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001907/2.087, allocations: 217.5 kB / 0.8846 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/2.087, allocations: 0 / 0.8846 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003828/2.091, allocations: 2.031 MB / 0.8866 GB, free: 5.672 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.006278/2.097, allocations: 3.014 MB / 0.8895 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009432/2.098, allocations: 0.5969 MB / 0.8901 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/2.098, allocations: 0 / 0.8901 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004812/2.098, allocations: 301.8 kB / 0.8904 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/2.1, allocations: 237 kB / 0.8906 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/2.102, allocations: 1.447 MB / 0.8921 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/2.102, allocations: 0.8693 MB / 0.8929 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/2.102, allocations: 41.5 kB / 0.8929 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/2.102, allocations: 0 / 0.8929 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.04787/2.15, allocations: 45.7 MB / 0.9376 GB, free: 2.348 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