Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.7431/0.7431, allocations: 150.8 MB / 166.6 MB, free: 14.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002687, allocations: 11.98 kB / 204.6 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 31.34 MB / 236 MB, free: 5.449 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.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.467/1.607, allocations: 293 MB / 0.5166 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05112/1.658, allocations: 48.54 MB / 0.564 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/1.658, allocations: 8 kB / 0.564 GB, free: 13.04 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:59:3-61:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:62:3-63:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:67:3-71: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/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004683/1.659, allocations: 148.3 kB / 0.5641 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/1.659, allocations: 127 kB / 0.5643 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02491/1.684, allocations: 9.561 MB / 0.5736 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000653/1.685, allocations: 0.5016 MB / 0.5741 GB, free: 2.703 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/1.685, allocations: 139.6 kB / 0.5742 GB, free: 2.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/1.685, allocations: 191.1 kB / 0.5744 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/1.685, allocations: 163.2 kB / 0.5746 GB, free: 2.223 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/1.685, allocations: 16 kB / 0.5746 GB, free: 2.207 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03577/1.721, allocations: 23.78 MB / 0.5978 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/1.721, allocations: 59.7 kB / 0.5979 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/1.722, allocations: 190.9 kB / 0.598 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01344/1.735, allocations: 7.547 MB / 0.6054 GB, free: 2.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.735, allocations: 0 / 0.6054 GB, free: 2.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/1.735, allocations: 0 / 0.6054 GB, free: 2.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/1.735, allocations: 0 / 0.6054 GB, free: 2.578 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.005516/1.741, allocations: 1.907 MB / 0.6073 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/1.741, allocations: 8.031 kB / 0.6073 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/1.741, allocations: 43.44 kB / 0.6073 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/1.741, allocations: 254.3 kB / 0.6076 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/1.741, allocations: 95.83 kB / 0.6076 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/1.741, allocations: 20 kB / 0.6077 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/1.742, allocations: 444.4 kB / 0.6081 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.742, allocations: 4 kB / 0.6081 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.742, allocations: 13.41 kB / 0.6081 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/1.742, allocations: 23.97 kB / 0.6081 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/1.742, allocations: 306 kB / 0.6084 GB, free: 15.35 MB / 0.4981 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.01867/1.761, allocations: 10.18 MB / 0.6184 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/1.762, allocations: 245 kB / 0.6186 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/1.762, allocations: 177.9 kB / 0.6188 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3365/2.098, allocations: 109.2 MB / 0.7254 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/2.099, allocations: 40.75 kB / 0.7254 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 3.066e-06/2.099, allocations: 4.844 kB / 0.7254 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.00188/2.1, allocations: 0.9236 MB / 0.7263 GB, free: 197.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/2.1, allocations: 54.5 kB / 0.7264 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/2.101, allocations: 241.2 kB / 0.7266 GB, free: 197 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/2.101, allocations: 33.02 kB / 0.7266 GB, free: 197 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/2.101, allocations: 154 kB / 0.7268 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/2.101, allocations: 211.7 kB / 0.727 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/2.101, allocations: 65.22 kB / 0.727 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/2.101, allocations: 347.3 kB / 0.7274 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/2.101, allocations: 143.5 kB / 0.7275 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/2.102, allocations: 212.7 kB / 0.7277 GB, free: 196.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/2.102, allocations: 405.6 kB / 0.7281 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/2.102, allocations: 3.625 kB / 0.7281 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009544/2.103, allocations: 0.5533 MB / 0.7286 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/2.103, allocations: 4.375 kB / 0.7286 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/2.103, allocations: 3.938 kB / 0.7287 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/2.104, allocations: 253.4 kB / 0.7289 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/2.104, allocations: 27.56 kB / 0.7289 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007423/2.105, allocations: 1.269 MB / 0.7302 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/2.105, allocations: 53.94 kB / 0.7302 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/2.105, allocations: 10.09 kB / 0.7302 GB, free: 195.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001294/2.105, allocations: 150.8 kB / 0.7304 GB, free: 195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.149e-05/2.105, allocations: 31.31 kB / 0.7304 GB, free: 195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/2.106, allocations: 1.059 MB / 0.7314 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007963/2.107, allocations: 0.5457 MB / 0.732 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/2.107, allocations: 0 / 0.732 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/2.107, allocations: 4.609 kB / 0.732 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/2.109, allocations: 1.699 MB / 0.7336 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/2.109, allocations: 6.25 kB / 0.7336 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/2.11, allocations: 84.81 kB / 0.7337 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/2.11, allocations: 270.4 kB / 0.734 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/2.11, allocations: 18.3 kB / 0.734 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000668/2.111, allocations: 1.292 MB / 0.7352 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.111, allocations: 6.25 kB / 0.7353 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/2.112, allocations: 0.8572 MB / 0.7361 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/2.112, allocations: 128 kB / 0.7362 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/2.112, allocations: 27.11 kB / 0.7362 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/2.112, allocations: 30.86 kB / 0.7363 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/2.112, allocations: 44.33 kB / 0.7363 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/2.112, allocations: 19.59 kB / 0.7363 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002451/2.113, allocations: 306.6 kB / 0.7366 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.113, allocations: 7.406 kB / 0.7366 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003823/2.116, allocations: 1.813 MB / 0.7384 GB, free: 192.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007783/2.124, allocations: 2.615 MB / 0.741 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000929/2.125, allocations: 0.6026 MB / 0.7415 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/2.125, allocations: 11.64 kB / 0.7416 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000473/2.126, allocations: 288.1 kB / 0.7418 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/2.127, allocations: 244.2 kB / 0.7421 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/2.129, allocations: 1.418 MB / 0.7434 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/2.129, allocations: 0.8574 MB / 0.7443 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/2.129, allocations: 42.38 kB / 0.7443 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/2.129, allocations: 0 / 0.7443 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04242/2.172, allocations: 40.51 MB / 0.7839 GB, free: 152.9 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbineCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbineCalcHelperMain.o] Error 1