Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8429/0.8429, allocations: 150.9 MB / 166.6 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 19.98 kB / 204.7 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1831, allocations: 31.32 MB / 236 MB, free: 5.453 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.SimpleExamples.TestStodolaTurbine2): time 1.715/1.898, allocations: 293.4 MB / 0.5169 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2167/2.115, allocations: 197.8 MB / 0.7101 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006455/2.116, allocations: 7.938 kB / 0.7101 GB, free: 8.66 MB / 0.5919 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.0007351/2.117, allocations: 144.6 kB / 0.7103 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000873/2.117, allocations: 162.8 kB / 0.7104 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.4093/2.527, allocations: 10.69 MB / 0.7209 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001022/2.528, allocations: 0.584 MB / 0.7214 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/2.528, allocations: 232.2 kB / 0.7217 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/2.529, allocations: 238.2 kB / 0.7219 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/2.529, allocations: 220 kB / 0.7221 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/2.529, allocations: 27.47 kB / 0.7221 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04648/2.576, allocations: 25.52 MB / 0.747 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/2.576, allocations: 87.2 kB / 0.7471 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004388/2.576, allocations: 241.7 kB / 0.7474 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01938/2.596, allocations: 8.435 MB / 0.7556 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/2.596, allocations: 3.375 kB / 0.7556 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/2.596, allocations: 0.6562 kB / 0.7556 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.328e-06/2.596, allocations: 3.844 kB / 0.7556 GB, free: 8.117 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.008317/2.604, allocations: 2.192 MB / 0.7577 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/2.604, allocations: 11 kB / 0.7577 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/2.604, allocations: 53.62 kB / 0.7578 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/2.605, allocations: 322.8 kB / 0.7581 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/2.605, allocations: 93.45 kB / 0.7582 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/2.605, allocations: 40.97 kB / 0.7582 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/2.605, allocations: 0.5121 MB / 0.7587 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/2.605, allocations: 0 / 0.7587 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/2.606, allocations: 15.28 kB / 0.7587 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/2.606, allocations: 24.02 kB / 0.7588 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/2.606, allocations: 362.2 kB / 0.7591 GB, free: 6.152 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.06845/2.675, allocations: 33.17 MB / 0.7915 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/2.675, allocations: 222.5 kB / 0.7917 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/2.675, allocations: 144.6 kB / 0.7919 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1356/2.811, allocations: 80.43 MB / 0.8704 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/2.811, allocations: 34.56 kB / 0.8704 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.444e-06/2.811, allocations: 0 / 0.8704 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.003188/2.814, allocations: 1.103 MB / 0.8715 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/2.814, allocations: 55.41 kB / 0.8716 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/2.815, allocations: 308.1 kB / 0.8719 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/2.815, allocations: 29.92 kB / 0.8719 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/2.815, allocations: 252.1 kB / 0.8721 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/2.815, allocations: 157 kB / 0.8723 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/2.815, allocations: 85.89 kB / 0.8724 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001407/2.815, allocations: 352.2 kB / 0.8727 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/2.816, allocations: 130.7 kB / 0.8728 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/2.816, allocations: 261.4 kB / 0.8731 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/2.817, allocations: 435.1 kB / 0.8735 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/2.817, allocations: 5.203 kB / 0.8735 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001719/2.819, allocations: 0.658 MB / 0.8741 GB, free: 160 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/2.819, allocations: 11.38 kB / 0.8742 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/2.819, allocations: 4 kB / 0.8742 GB, free: 148 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008208/2.819, allocations: 380.5 kB / 0.8745 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/2.82, allocations: 43.84 kB / 0.8746 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/2.821, allocations: 1.91 MB / 0.8764 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/2.822, allocations: 58.73 kB / 0.8765 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/2.822, allocations: 17.81 kB / 0.8765 GB, free: 13.88 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.0001947/2.822, allocations: 168.8 kB / 0.8767 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/2.822, allocations: 31.53 kB / 0.8767 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/2.823, allocations: 0.8684 MB / 0.8775 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001115/2.824, allocations: 0.666 MB / 0.8782 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/2.824, allocations: 0 / 0.8782 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/2.824, allocations: 7.984 kB / 0.8782 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/2.827, allocations: 1.577 MB / 0.8797 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/2.827, allocations: 0 / 0.8797 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/2.828, allocations: 51.7 kB / 0.8798 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006926/2.828, allocations: 401 kB / 0.8802 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/2.828, allocations: 10.94 kB / 0.8802 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/2.83, allocations: 1.93 MB / 0.8821 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.83, allocations: 3.938 kB / 0.8821 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/2.832, allocations: 0.8357 MB / 0.8829 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/2.832, allocations: 131.5 kB / 0.883 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/2.832, allocations: 7.797 kB / 0.883 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/2.832, allocations: 24.06 kB / 0.883 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/2.832, allocations: 27.16 kB / 0.8831 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/2.832, allocations: 11.81 kB / 0.8831 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002336/2.833, allocations: 221.1 kB / 0.8833 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/2.833, allocations: 4 kB / 0.8833 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00697/2.84, allocations: 2.029 MB / 0.8853 GB, free: 6.223 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.01482/2.854, allocations: 3.046 MB / 0.8882 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001428/2.856, allocations: 0.5716 MB / 0.8888 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/2.856, allocations: 4.062 kB / 0.8888 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000609/2.856, allocations: 282.6 kB / 0.8891 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/2.858, allocations: 242.2 kB / 0.8893 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/2.861, allocations: 1.372 MB / 0.8906 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/2.861, allocations: 0.8714 MB / 0.8915 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/2.861, allocations: 35.44 kB / 0.8915 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/2.861, allocations: 0 / 0.8915 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of Templates: time 0.06943/2.931, allocations: 46.63 MB / 0.9371 GB, free: 2.273 MB / 0.7637 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.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/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.SimpleExamples.TestStodolaTurbine2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2CalcHelperMain.o] Error 1