Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.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.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7906/0.7906, allocations: 150.8 MB / 166.6 MB, free: 14.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.0002992, allocations: 19.97 kB / 204.6 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1489, allocations: 31.33 MB / 236 MB, free: 5.438 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.TestStodolaTurbine3): time 1.572/1.721, allocations: 294.5 MB / 0.5181 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05285/1.774, allocations: 48.92 MB / 0.5658 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/1.775, allocations: 4 kB / 0.5658 GB, free: 11.19 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). [/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.0008035/1.776, allocations: 184.8 kB / 0.566 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008942/1.777, allocations: 258.1 kB / 0.5663 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02609/1.803, allocations: 9.643 MB / 0.5757 GB, free: 1.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/1.804, allocations: 1.004 MB / 0.5767 GB, free: 108 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/1.804, allocations: 283.6 kB / 0.5769 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/1.805, allocations: 362.2 kB / 0.5773 GB, free: 15.47 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/1.805, allocations: 322.3 kB / 0.5776 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/1.805, allocations: 40 kB / 0.5776 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03704/1.842, allocations: 23.8 MB / 0.6009 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/1.842, allocations: 111.5 kB / 0.601 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006266/1.843, allocations: 370 kB / 0.6013 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01743/1.86, allocations: 7.843 MB / 0.609 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.86, allocations: 4 kB / 0.609 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.11e-07/1.86, allocations: 0 / 0.609 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.205e-05/1.86, allocations: 0 / 0.609 GB, free: 14.95 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.006521/1.867, allocations: 2.261 MB / 0.6112 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.867, allocations: 12.02 kB / 0.6112 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/1.867, allocations: 78.97 kB / 0.6113 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/1.867, allocations: 344.7 kB / 0.6116 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/1.868, allocations: 163.7 kB / 0.6118 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.87e-05/1.868, allocations: 48 kB / 0.6118 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.869, allocations: 0.842 MB / 0.6126 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.869, allocations: 7.938 kB / 0.6126 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/1.869, allocations: 20 kB / 0.6127 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/1.869, allocations: 39.97 kB / 0.6127 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/1.87, allocations: 0.5978 MB / 0.6133 GB, free: 10.36 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.038/1.908, allocations: 20.23 MB / 0.633 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/1.909, allocations: 482.1 kB / 0.6335 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/1.909, allocations: 359.8 kB / 0.6338 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.349/2.258, allocations: 109.2 MB / 0.7404 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/2.259, allocations: 38.14 kB / 0.7405 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=132): time 3.276e-06/2.259, allocations: 0 / 0.7405 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132): time 0.003974/2.263, allocations: 1.821 MB / 0.7423 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/2.263, allocations: 77.11 kB / 0.7423 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/2.263, allocations: 412.8 kB / 0.7427 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/2.263, allocations: 29.64 kB / 0.7428 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/2.263, allocations: 240.4 kB / 0.743 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/2.263, allocations: 432 kB / 0.7434 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/2.264, allocations: 125 kB / 0.7435 GB, free: 186.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/2.264, allocations: 379.2 kB / 0.7439 GB, free: 186.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/2.264, allocations: 281.8 kB / 0.7441 GB, free: 186 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/2.265, allocations: 428.4 kB / 0.7446 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/2.266, allocations: 0.7838 MB / 0.7453 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/2.266, allocations: 7.75 kB / 0.7453 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001814/2.268, allocations: 1.063 MB / 0.7464 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/2.268, allocations: 7.781 kB / 0.7464 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/2.268, allocations: 7.797 kB / 0.7464 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009808/2.269, allocations: 0.4983 MB / 0.7469 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/2.269, allocations: 50.55 kB / 0.7469 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/2.27, allocations: 2.53 MB / 0.7494 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/2.271, allocations: 105.4 kB / 0.7495 GB, free: 183 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/2.271, allocations: 29.94 kB / 0.7495 GB, free: 183 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,stodolaTurbine1.Cs.b,stodolaTurbine1.Ce.a,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 (34): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002272/2.271, allocations: 186.8 kB / 0.7497 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/2.271, allocations: 65.86 kB / 0.7498 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/2.274, allocations: 2.094 MB / 0.7518 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00175/2.276, allocations: 1.071 MB / 0.7528 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/2.276, allocations: 7.688 kB / 0.7529 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/2.276, allocations: 6.453 kB / 0.7529 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/2.281, allocations: 3.376 MB / 0.7562 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/2.281, allocations: 8 kB / 0.7562 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/2.281, allocations: 161.2 kB / 0.7563 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008837/2.282, allocations: 0.519 MB / 0.7568 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/2.282, allocations: 31.67 kB / 0.7569 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/2.284, allocations: 2.58 MB / 0.7594 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/2.284, allocations: 17.25 kB / 0.7594 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/2.286, allocations: 1.651 MB / 0.761 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/2.286, allocations: 191.9 kB / 0.7612 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/2.287, allocations: 51.5 kB / 0.7612 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/2.287, allocations: 48.88 kB / 0.7613 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/2.287, allocations: 93.16 kB / 0.7614 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/2.287, allocations: 39.88 kB / 0.7614 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000531/2.288, allocations: 0.5316 MB / 0.7619 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/2.288, allocations: 4 kB / 0.7619 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005087/2.293, allocations: 1.917 MB / 0.7638 GB, free: 173.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00928/2.302, allocations: 2.644 MB / 0.7664 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001875/2.304, allocations: 1.261 MB / 0.7676 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/2.304, allocations: 0 / 0.7676 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009919/2.305, allocations: 0.5679 MB / 0.7682 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/2.307, allocations: 469.3 kB / 0.7686 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/2.311, allocations: 2.701 MB / 0.7713 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/2.312, allocations: 1.054 MB / 0.7723 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/2.312, allocations: 63.42 kB / 0.7723 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/2.312, allocations: 0 / 0.7723 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.05927/2.371, allocations: 58.01 MB / 0.829 GB, free: 108.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.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.TestStodolaTurbine3CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3CalcHelperMain.o] Error 1