Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009525, allocations: 92.22 kB / 16.95 MB, free: 6.41 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.0008967/0.0008971, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.88/1.88, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4069/0.4069, allocations: 48.77 MB / 321.1 MB, free: 11.3 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.0005703/0.0005705, allocations: 16.44 kB / 391.8 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1594, allocations: 60.27 MB / 452.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.5928/0.7522, allocations: 155.2 MB / 0.593 GB, free: 15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007652/0.76, allocations: 3.676 MB / 0.5966 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007793/0.7608, allocations: 9.125 kB / 0.5966 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000948/0.7618, allocations: 191.8 kB / 0.5968 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.7632, allocations: 0.5296 MB / 0.5973 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004309/0.7675, allocations: 1.22 MB / 0.5985 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00243/0.77, allocations: 1.447 MB / 0.5999 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006323/0.7706, allocations: 333.3 kB / 0.6002 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000875/0.7715, allocations: 464.8 kB / 0.6007 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000686/0.7722, allocations: 0.4895 MB / 0.6012 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.7723, allocations: 27.16 kB / 0.6012 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.7753, allocations: 1.097 MB / 0.6023 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005152/0.7759, allocations: 448.4 kB / 0.6027 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.7762, allocations: 216 kB / 0.6029 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.7784, allocations: 1.373 MB / 0.6042 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.7785, allocations: 0 / 0.6042 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7785, allocations: 0 / 0.6042 GB, free: 10.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.7785, allocations: 0 / 0.6042 GB, free: 10.05 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002522/0.781, allocations: 1.33 MB / 0.6055 GB, free: 9.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.7811, allocations: 12.22 kB / 0.6055 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.7819, allocations: 190 kB / 0.6057 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.7833, allocations: 0.7943 MB / 0.6065 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.7834, allocations: 38.28 kB / 0.6065 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/0.7835, allocations: 47.5 kB / 0.6066 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.7845, allocations: 0.6093 MB / 0.6072 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.7846, allocations: 2.812 kB / 0.6072 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.7846, allocations: 20.56 kB / 0.6072 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.7847, allocations: 13.78 kB / 0.6072 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007228/0.7854, allocations: 481.7 kB / 0.6077 GB, free: 8.293 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.005113/0.7905, allocations: 2.593 MB / 0.6102 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.7908, allocations: 140.5 kB / 0.6103 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.791, allocations: 51.62 kB / 0.6104 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.7913, allocations: 123 kB / 0.6105 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.7913, allocations: 36.12 kB / 0.6105 GB, free: 6.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 8.596e-06/0.7913, allocations: 3.984 kB / 0.6105 GB, free: 6.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006904/0.792, allocations: 291 kB / 0.6108 GB, free: 6.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.7921, allocations: 54.78 kB / 0.6109 GB, free: 6.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.7947, allocations: 1.899 MB / 0.6127 GB, free: 5.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.7948, allocations: 31.7 kB / 0.6128 GB, free: 5.848 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.7953, allocations: 0.5821 MB / 0.6133 GB, free: 5.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.7954, allocations: 51.02 kB / 0.6134 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.7954, allocations: 5.031 kB / 0.6134 GB, free: 5.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7956, allocations: 319.6 kB / 0.6137 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.7958, allocations: 130.4 kB / 0.6138 GB, free: 5.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.7961, allocations: 249.6 kB / 0.614 GB, free: 5.047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.7963, allocations: 139.9 kB / 0.6142 GB, free: 5.027 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.7964, allocations: 2.531 kB / 0.6142 GB, free: 5.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008131/0.7972, allocations: 497.4 kB / 0.6147 GB, free: 4.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.7972, allocations: 9.125 kB / 0.6147 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.7972, allocations: 2.531 kB / 0.6147 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.7973, allocations: 7.969 kB / 0.6147 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.7978, allocations: 111.9 kB / 0.6148 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007729/0.7986, allocations: 1.193 MB / 0.6159 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.7992, allocations: 78 kB / 0.616 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.7992, allocations: 20.31 kB / 0.616 GB, free: 3.602 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * 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 initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006025/0.7998, allocations: 383.2 kB / 0.6164 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.8, allocations: 119.8 kB / 0.6165 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.8005, allocations: 285.4 kB / 0.6168 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.8005, allocations: 0 / 0.6168 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8005, allocations: 2.594 kB / 0.6168 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.8005, allocations: 0 / 0.6168 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009227/0.8015, allocations: 0.6846 MB / 0.6175 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.8015, allocations: 4 kB / 0.6175 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.8017, allocations: 47.52 kB / 0.6175 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.8017, allocations: 0 / 0.6175 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.8018, allocations: 4.969 kB / 0.6175 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006618/0.8024, allocations: 1.189 MB / 0.6187 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8024, allocations: 0 / 0.6187 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.8029, allocations: 397.8 kB / 0.6191 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.8033, allocations: 249.8 kB / 0.6193 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.8034, allocations: 7.391 kB / 0.6193 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.8038, allocations: 30.73 kB / 0.6193 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.8039, allocations: 13.3 kB / 0.6193 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.8039, allocations: 14.08 kB / 0.6194 GB, free: 1.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001704/0.8056, allocations: 1.356 MB / 0.6207 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8056, allocations: 3.156 kB / 0.6207 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001158/0.8068, allocations: 230.7 kB / 0.6209 GB, free: 0.9297 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/0.8082, allocations: 0.5094 MB / 0.6214 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.8088, allocations: 246.9 kB / 0.6216 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8088, allocations: 5.719 kB / 0.6216 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.809, allocations: 78.31 kB / 0.6217 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.8106, allocations: 345.8 kB / 0.6221 GB, free: 312 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.8139, allocations: 2.218 MB / 0.6242 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/0.8147, allocations: 1.099 MB / 0.6253 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.8149, allocations: 75.42 kB / 0.6254 GB, free: 13.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.502e-06/0.8149, allocations: 4 kB / 0.6254 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Templates: time 0.03649/0.8514, allocations: 23.28 MB / 0.6481 GB, free: 5.836 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.TestCompressorConstSpeedCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeedCalcHelperMain.o] Error 1