Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.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.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7964/0.7964, allocations: 150.8 MB / 166.6 MB, free: 14.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 19.97 kB / 204.7 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1532, allocations: 31.33 MB / 236 MB, free: 5.672 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.SimpleExamples.TestStodolaTurbine2): time 1.538/1.691, allocations: 293.1 MB / 0.5167 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05069/1.742, allocations: 48.54 MB / 0.5641 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/1.742, allocations: 4 kB / 0.5641 GB, free: 13.16 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.0004725/1.743, allocations: 143.2 kB / 0.5642 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/1.743, allocations: 135 kB / 0.5644 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02665/1.769, allocations: 9.565 MB / 0.5737 GB, free: 3.316 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006897/1.77, allocations: 0.4978 MB / 0.5742 GB, free: 2.816 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/1.77, allocations: 139.4 kB / 0.5743 GB, free: 2.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/1.771, allocations: 183.1 kB / 0.5745 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/1.771, allocations: 171.1 kB / 0.5747 GB, free: 2.336 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/1.771, allocations: 16 kB / 0.5747 GB, free: 2.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04038/1.811, allocations: 23.78 MB / 0.5979 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/1.811, allocations: 55.7 kB / 0.598 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/1.812, allocations: 183 kB / 0.5981 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/1.826, allocations: 7.554 MB / 0.6055 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.826, allocations: 0 / 0.6055 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/1.826, allocations: 0 / 0.6055 GB, free: 2.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/1.826, allocations: 0 / 0.6055 GB, free: 2.695 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.00514/1.831, allocations: 1.907 MB / 0.6074 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.831, allocations: 8.031 kB / 0.6074 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/1.831, allocations: 39.44 kB / 0.6074 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/1.831, allocations: 260.8 kB / 0.6077 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/1.832, allocations: 87.89 kB / 0.6077 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/1.832, allocations: 20 kB / 0.6078 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/1.832, allocations: 448.3 kB / 0.6082 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.832, allocations: 8.453 kB / 0.6082 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/1.832, allocations: 4 kB / 0.6082 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/1.832, allocations: 23.97 kB / 0.6082 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/1.833, allocations: 310 kB / 0.6085 GB, free: 15.47 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.01786/1.851, allocations: 10.18 MB / 0.6185 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/1.851, allocations: 247 kB / 0.6187 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/1.851, allocations: 177.9 kB / 0.6189 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3475/2.199, allocations: 109.2 MB / 0.7255 GB, free: 198 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/2.199, allocations: 30.56 kB / 0.7255 GB, free: 198 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 2.335e-06/2.199, allocations: 0 / 0.7255 GB, free: 198 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.001939/2.201, allocations: 0.9259 MB / 0.7264 GB, free: 197.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/2.201, allocations: 52.53 kB / 0.7265 GB, free: 197.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/2.201, allocations: 250.2 kB / 0.7267 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/2.201, allocations: 30.3 kB / 0.7267 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/2.201, allocations: 157.7 kB / 0.7269 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/2.201, allocations: 210 kB / 0.7271 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/2.202, allocations: 68.28 kB / 0.7271 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.907e-05/2.202, allocations: 346.6 kB / 0.7275 GB, free: 197 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/2.202, allocations: 136.2 kB / 0.7276 GB, free: 197 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/2.202, allocations: 219.3 kB / 0.7278 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/2.203, allocations: 398.9 kB / 0.7282 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/2.203, allocations: 3.375 kB / 0.7282 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009855/2.204, allocations: 0.5543 MB / 0.7287 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/2.204, allocations: 10.97 kB / 0.7288 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/2.204, allocations: 0 / 0.7288 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/2.204, allocations: 252 kB / 0.729 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/2.205, allocations: 29.67 kB / 0.729 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007821/2.205, allocations: 1.268 MB / 0.7303 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/2.206, allocations: 53.61 kB / 0.7303 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/2.206, allocations: 8.156 kB / 0.7303 GB, free: 195.6 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.0001349/2.206, allocations: 147.7 kB / 0.7305 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/2.206, allocations: 34.17 kB / 0.7305 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/2.207, allocations: 1.067 MB / 0.7315 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000819/2.208, allocations: 0.552 MB / 0.7321 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/2.208, allocations: 1.688 kB / 0.7321 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/2.208, allocations: 2.391 kB / 0.7321 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/2.21, allocations: 1.693 MB / 0.7337 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/2.21, allocations: 3.25 kB / 0.7337 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/2.211, allocations: 85.34 kB / 0.7338 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/2.211, allocations: 271.8 kB / 0.7341 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/2.211, allocations: 13.72 kB / 0.7341 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007226/2.212, allocations: 1.294 MB / 0.7354 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/2.212, allocations: 5.156 kB / 0.7354 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/2.213, allocations: 0.8547 MB / 0.7362 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/2.213, allocations: 127.5 kB / 0.7363 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/2.213, allocations: 38.98 kB / 0.7364 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/2.213, allocations: 26.67 kB / 0.7364 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/2.213, allocations: 44.53 kB / 0.7364 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/2.213, allocations: 19.5 kB / 0.7364 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002583/2.214, allocations: 316.1 kB / 0.7367 GB, free: 193 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.214, allocations: 0 / 0.7367 GB, free: 193 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004463/2.218, allocations: 1.812 MB / 0.7385 GB, free: 192.9 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.008156/2.226, allocations: 2.607 MB / 0.7411 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008968/2.227, allocations: 0.6108 MB / 0.7417 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/2.227, allocations: 0 / 0.7417 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004603/2.228, allocations: 284.1 kB / 0.7419 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/2.229, allocations: 248.3 kB / 0.7422 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/2.231, allocations: 1.418 MB / 0.7435 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/2.231, allocations: 0.858 MB / 0.7444 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/2.231, allocations: 42.14 kB / 0.7444 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/2.231, allocations: 0 / 0.7444 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.04586/2.277, allocations: 40.51 MB / 0.784 GB, free: 153.7 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.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.SimpleExamples.TestStodolaTurbine2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2CalcHelperMain.o] Error 1