Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 91.14 kB / 16.95 MB, free: 5.949 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.001209/0.00121, allocations: 181.9 kB / 17.84 MB, free: 5.613 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.878/1.878, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3937/0.3937, allocations: 48.77 MB / 321.1 MB, free: 11.23 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.00062/0.00062, allocations: 18.67 kB / 391.8 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1514, allocations: 60.27 MB / 452.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.6095/0.761, allocations: 155.1 MB / 0.5929 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006064/0.7671, allocations: 3.578 MB / 0.5964 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006313/0.7678, allocations: 6.812 kB / 0.5964 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.7686, allocations: 189.8 kB / 0.5966 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.7698, allocations: 467.1 kB / 0.5971 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.7738, allocations: 1.132 MB / 0.5982 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.776, allocations: 1.401 MB / 0.5995 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005831/0.7766, allocations: 297.5 kB / 0.5998 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007004/0.7773, allocations: 429.2 kB / 0.6002 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005762/0.7779, allocations: 437.3 kB / 0.6006 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.7779, allocations: 27.75 kB / 0.6007 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.7809, allocations: 1.098 MB / 0.6017 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.7813, allocations: 351 kB / 0.6021 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.7815, allocations: 186.1 kB / 0.6023 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.7832, allocations: 1.23 MB / 0.6035 GB, free: 9.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7833, allocations: 0 / 0.6035 GB, free: 9.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7833, allocations: 2.844 kB / 0.6035 GB, free: 9.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.7833, allocations: 0 / 0.6035 GB, free: 9.988 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002016/0.7853, allocations: 1.085 MB / 0.6045 GB, free: 9.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7854, allocations: 7.938 kB / 0.6045 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007199/0.7861, allocations: 164.9 kB / 0.6047 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.7871, allocations: 0.6063 MB / 0.6053 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.7871, allocations: 40.09 kB / 0.6053 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/0.7872, allocations: 50.31 kB / 0.6054 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.7883, allocations: 0.5988 MB / 0.6059 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.7883, allocations: 0 / 0.6059 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.7884, allocations: 30.73 kB / 0.606 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.7884, allocations: 11 kB / 0.606 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.7892, allocations: 468.9 kB / 0.6064 GB, free: 8.469 MB / 430.1 MB 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.003967/0.7931, allocations: 2.355 MB / 0.6087 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.7934, allocations: 138.7 kB / 0.6089 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.7935, allocations: 48.31 kB / 0.6089 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.7937, allocations: 122.2 kB / 0.609 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.7938, allocations: 36.44 kB / 0.6091 GB, free: 6.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 2.043e-06/0.7938, allocations: 0 / 0.6091 GB, free: 6.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005091/0.7943, allocations: 257.2 kB / 0.6093 GB, free: 6.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7944, allocations: 53.91 kB / 0.6094 GB, free: 6.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.796, allocations: 1.33 MB / 0.6107 GB, free: 6.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.796, allocations: 32.17 kB / 0.6107 GB, free: 6.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.7964, allocations: 458 kB / 0.6111 GB, free: 6.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.7965, allocations: 52.61 kB / 0.6112 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.7965, allocations: 13.59 kB / 0.6112 GB, free: 5.992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7967, allocations: 319.1 kB / 0.6115 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.7969, allocations: 132.1 kB / 0.6116 GB, free: 5.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.7972, allocations: 244.4 kB / 0.6119 GB, free: 5.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.7974, allocations: 139.6 kB / 0.612 GB, free: 5.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7974, allocations: 2.938 kB / 0.612 GB, free: 5.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007238/0.7982, allocations: 475.1 kB / 0.6124 GB, free: 5.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7982, allocations: 5.719 kB / 0.6124 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.7982, allocations: 2.562 kB / 0.6124 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.7982, allocations: 8.406 kB / 0.6125 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.7987, allocations: 108.7 kB / 0.6126 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004604/0.7991, allocations: 0.6094 MB / 0.6132 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.7997, allocations: 81.78 kB / 0.6132 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.7997, allocations: 20.06 kB / 0.6133 GB, free: 4.625 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004624/0.8002, allocations: 299 kB / 0.6135 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.8003, allocations: 94.2 kB / 0.6136 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.8008, allocations: 247.2 kB / 0.6139 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.8008, allocations: 3.938 kB / 0.6139 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8008, allocations: 2.906 kB / 0.6139 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8008, allocations: 0 / 0.6139 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007838/0.8016, allocations: 0.5509 MB / 0.6144 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.8016, allocations: 0 / 0.6144 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.8018, allocations: 43.94 kB / 0.6144 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.8018, allocations: 0 / 0.6144 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.8019, allocations: 8.766 kB / 0.6145 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004187/0.8023, allocations: 0.6021 MB / 0.615 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8023, allocations: 0 / 0.615 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.8028, allocations: 373.8 kB / 0.6154 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.8031, allocations: 204 kB / 0.6156 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.8032, allocations: 3.25 kB / 0.6156 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.8036, allocations: 25.98 kB / 0.6156 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.8036, allocations: 8.922 kB / 0.6156 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.8037, allocations: 19.97 kB / 0.6157 GB, free: 3.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001233/0.8049, allocations: 0.9394 MB / 0.6166 GB, free: 2.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.8049, allocations: 0 / 0.6166 GB, free: 2.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009233/0.8059, allocations: 221.5 kB / 0.6168 GB, free: 2.738 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/0.8073, allocations: 0.5159 MB / 0.6173 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006065/0.808, allocations: 232.9 kB / 0.6175 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.808, allocations: 0 / 0.6175 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.8081, allocations: 66.03 kB / 0.6176 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.8096, allocations: 318.8 kB / 0.6179 GB, free: 2.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.8122, allocations: 1.771 MB / 0.6196 GB, free: 1.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006878/0.8129, allocations: 0.9858 MB / 0.6206 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.8131, allocations: 65.8 kB / 0.6206 GB, free: 388 kB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8131, allocations: 3.938 kB / 0.6206 GB, free: 384 kB / 430.1 MB Notification: Performance of Templates: time 0.02891/0.842, allocations: 16.55 MB / 0.6368 GB, free: 388 kB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineCalcHelperMain.o] Error 1