Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006731/0.0006731, allocations: 91.72 kB / 17.31 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006999/0.0006999, allocations: 180.3 kB / 18.22 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.4 MB / 224.4 MB, free: 12.92 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2289/0.2289, allocations: 48.77 MB / 321.5 MB, free: 11.09 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004457, allocations: 13.89 kB / 392.5 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07746, allocations: 60.26 MB / 452.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02715/0.1046, allocations: 27.85 MB / 480.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01819/0.1229, allocations: 17.57 MB / 498.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.1231, allocations: 4 kB / 498.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.1235, allocations: 95.41 kB / 498.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.1238, allocations: 139.1 kB / 498.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.1372, allocations: 5.341 MB / 0.4919 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000597/0.1378, allocations: 0.5492 MB / 0.4924 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.138, allocations: 132.7 kB / 0.4926 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.1412, allocations: 1.8 MB / 0.4943 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/0.1525, allocations: 6.248 MB / 0.5004 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.1526, allocations: 12 kB / 0.5004 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/0.1659, allocations: 8.868 MB / 0.5091 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.166, allocations: 39.78 kB / 0.5091 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.1662, allocations: 161 kB / 0.5093 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004491/0.1707, allocations: 3.384 MB / 0.5126 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1707, allocations: 0 / 0.5126 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1707, allocations: 3.938 kB / 0.5126 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1707, allocations: 0 / 0.5126 GB, free: 0.6992 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002344/0.1731, allocations: 1.088 MB / 0.5137 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1731, allocations: 8.031 kB / 0.5137 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.1733, allocations: 52.55 kB / 0.5137 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1736, allocations: 268.7 kB / 0.514 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1736, allocations: 16.94 kB / 0.514 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.1737, allocations: 31.84 kB / 0.514 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.1743, allocations: 334.2 kB / 0.5143 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1743, allocations: 4 kB / 0.5143 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1744, allocations: 16 kB / 0.5144 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1744, allocations: 4 kB / 0.5144 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.1749, allocations: 217.5 kB / 0.5146 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.1764, allocations: 1.733 MB / 0.5163 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.1768, allocations: 114.5 kB / 0.5164 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.1769, allocations: 56.95 kB / 0.5164 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2664/0.4434, allocations: 64.6 MB / 0.5795 GB, free: 42.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.4435, allocations: 34.56 kB / 0.5795 GB, free: 42.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.4435, allocations: 0 / 0.5795 GB, free: 42.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008509/0.4443, allocations: 260.4 kB / 0.5798 GB, free: 42.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.4444, allocations: 59.41 kB / 0.5799 GB, free: 41.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.4446, allocations: 283.7 kB / 0.5801 GB, free: 41.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4446, allocations: 29.7 kB / 0.5802 GB, free: 41.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.4447, allocations: 177.8 kB / 0.5803 GB, free: 41.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.4447, allocations: 36.11 kB / 0.5804 GB, free: 41.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.4447, allocations: 21.7 kB / 0.5804 GB, free: 41.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.4448, allocations: 341.8 kB / 0.5807 GB, free: 41.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.4449, allocations: 51.81 kB / 0.5808 GB, free: 41.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.4451, allocations: 128.5 kB / 0.5809 GB, free: 40.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.4453, allocations: 204.8 kB / 0.5811 GB, free: 40.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4453, allocations: 1.5 kB / 0.5811 GB, free: 40.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003571/0.4457, allocations: 226.1 kB / 0.5813 GB, free: 40.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.4458, allocations: 167.4 kB / 0.5814 GB, free: 40.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4458, allocations: 11.94 kB / 0.5815 GB, free: 40.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4458, allocations: 4.656 kB / 0.5815 GB, free: 40.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.446, allocations: 51.97 kB / 0.5815 GB, free: 40.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.446, allocations: 11.92 kB / 0.5815 GB, free: 40.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.4462, allocations: 38 kB / 0.5816 GB, free: 40.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.4462, allocations: 8 kB / 0.5816 GB, free: 40.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.4462, allocations: 4 kB / 0.5816 GB, free: 40.1 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000297/0.4465, allocations: 174.3 kB / 0.5817 GB, free: 39.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.4465, allocations: 4 kB / 0.5817 GB, free: 39.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.4465, allocations: 4 kB / 0.5817 GB, free: 39.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.4467, allocations: 49.22 kB / 0.5818 GB, free: 39.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.4467, allocations: 7.938 kB / 0.5818 GB, free: 39.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.4468, allocations: 31.83 kB / 0.5818 GB, free: 39.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4469, allocations: 15.78 kB / 0.5818 GB, free: 39.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 (steamTurbineStodola.steamState_in.phase,steamTurbineStodola.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/0.447, allocations: 217.1 kB / 0.5821 GB, free: 39.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.447, allocations: 31.7 kB / 0.5821 GB, free: 39.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.4474, allocations: 294.7 kB / 0.5824 GB, free: 39.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4474, allocations: 0 / 0.5824 GB, free: 39.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4475, allocations: 0 / 0.5824 GB, free: 39.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4475, allocations: 9.281 kB / 0.5824 GB, free: 39.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.4477, allocations: 345.1 kB / 0.5827 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4478, allocations: 5 kB / 0.5827 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.4479, allocations: 27.92 kB / 0.5827 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4479, allocations: 0 / 0.5827 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4479, allocations: 7.984 kB / 0.5827 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4479, allocations: 0 / 0.5827 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4479, allocations: 0 / 0.5827 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.4483, allocations: 302.6 kB / 0.583 GB, free: 38.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.4484, allocations: 132.7 kB / 0.5832 GB, free: 38.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.4484, allocations: 3.5 kB / 0.5832 GB, free: 38.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4486, allocations: 35.94 kB / 0.5832 GB, free: 38.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.4486, allocations: 11.92 kB / 0.5832 GB, free: 38.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4487, allocations: 4 kB / 0.5832 GB, free: 38.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.4489, allocations: 311.1 kB / 0.5835 GB, free: 38.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4489, allocations: 0 / 0.5835 GB, free: 38.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002486/0.4514, allocations: 1.3 MB / 0.5848 GB, free: 36.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003928/0.4553, allocations: 1.398 MB / 0.5861 GB, free: 35.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.4557, allocations: 218.2 kB / 0.5863 GB, free: 35.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4557, allocations: 0 / 0.5863 GB, free: 35.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4559, allocations: 43.92 kB / 0.5864 GB, free: 35.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.4566, allocations: 127.6 kB / 0.5865 GB, free: 35.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.4573, allocations: 0.7375 MB / 0.5872 GB, free: 34.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.4574, allocations: 0.7766 MB / 0.588 GB, free: 33.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.4575, allocations: 27.44 kB / 0.588 GB, free: 33.65 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4575, allocations: 7.938 kB / 0.588 GB, free: 33.64 MB / 414.1 MB Notification: Performance of Templates: time 0.02491/0.4824, allocations: 25.38 MB / 0.6128 GB, free: 8.281 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.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 OMCppThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArcCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArcCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArcCalcHelperMain.o] Error 1