Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 94.64 kB / 16.96 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.00121/0.00121, allocations: 179.6 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.841/1.841, 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.4036/0.4036, allocations: 48.77 MB / 321.1 MB, free: 11.22 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.0005576/0.0005577, allocations: 13 kB / 391.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1576, allocations: 60.28 MB / 452.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.5823/0.7399, allocations: 155.2 MB / 0.593 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005784/0.7458, allocations: 3.538 MB / 0.5965 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008081/0.7467, allocations: 11.81 kB / 0.5965 GB, free: 13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008495/0.7475, allocations: 184.2 kB / 0.5966 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.7493, allocations: 429 kB / 0.5971 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00549/0.7548, allocations: 1.055 MB / 0.5981 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.7576, allocations: 1.367 MB / 0.5994 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006732/0.7583, allocations: 294.7 kB / 0.5997 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009674/0.7593, allocations: 406.2 kB / 0.6001 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007552/0.76, allocations: 410.4 kB / 0.6005 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.149e-05/0.7601, allocations: 27.41 kB / 0.6005 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.7639, allocations: 1.091 MB / 0.6016 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.7644, allocations: 294.5 kB / 0.6019 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.7647, allocations: 167.3 kB / 0.602 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.7669, allocations: 1.141 MB / 0.6031 GB, free: 10.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.7669, allocations: 0 / 0.6031 GB, free: 10.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.7669, allocations: 0 / 0.6031 GB, free: 10.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.7669, allocations: 0 / 0.6031 GB, free: 10.02 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.002307/0.7692, allocations: 0.9718 MB / 0.6041 GB, free: 9.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.7693, allocations: 10.81 kB / 0.6041 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/0.7703, allocations: 135.3 kB / 0.6042 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.7714, allocations: 0.4928 MB / 0.6047 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.7715, allocations: 36.47 kB / 0.6047 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.7716, allocations: 53.25 kB / 0.6048 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.7731, allocations: 0.6149 MB / 0.6054 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.7732, allocations: 2.812 kB / 0.6054 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/0.7733, allocations: 19.84 kB / 0.6054 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.7733, allocations: 13.78 kB / 0.6054 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.7743, allocations: 468.9 kB / 0.6059 GB, free: 8.637 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.005562/0.7799, allocations: 2.328 MB / 0.6081 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.7803, allocations: 128.4 kB / 0.6083 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.7805, allocations: 56.75 kB / 0.6083 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003544/0.7808, allocations: 129.8 kB / 0.6084 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.7809, allocations: 45.88 kB / 0.6085 GB, free: 6.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 4.398e-06/0.7809, allocations: 0 / 0.6085 GB, free: 6.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006902/0.7816, allocations: 235.7 kB / 0.6087 GB, free: 6.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.7817, allocations: 58.27 kB / 0.6088 GB, free: 6.773 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.7834, allocations: 0.9811 MB / 0.6097 GB, free: 6.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.7835, allocations: 31.83 kB / 0.6097 GB, free: 6.457 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.7839, allocations: 378.1 kB / 0.6101 GB, free: 6.258 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.784, allocations: 63.86 kB / 0.6102 GB, free: 6.211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.784, allocations: 8.688 kB / 0.6102 GB, free: 6.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.7842, allocations: 319.6 kB / 0.6105 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.7845, allocations: 124.8 kB / 0.6106 GB, free: 5.875 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.7849, allocations: 253.2 kB / 0.6108 GB, free: 5.676 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.7853, allocations: 151.3 kB / 0.611 GB, free: 5.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.7853, allocations: 3.188 kB / 0.611 GB, free: 5.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001045/0.7864, allocations: 454.7 kB / 0.6114 GB, free: 5.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.7864, allocations: 8.75 kB / 0.6114 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.7864, allocations: 5.812 kB / 0.6114 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.7865, allocations: 8.031 kB / 0.6114 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.7872, allocations: 112.7 kB / 0.6116 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005998/0.7878, allocations: 0.6122 MB / 0.6122 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/0.7885, allocations: 78.55 kB / 0.6122 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.7886, allocations: 25.73 kB / 0.6123 GB, free: 4.828 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 (48): * Single equations (assignments): 47 * 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.0005204/0.7892, allocations: 245.6 kB / 0.6125 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.7893, allocations: 77.78 kB / 0.6126 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.7899, allocations: 222.1 kB / 0.6128 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.7899, allocations: 2.375 kB / 0.6128 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.7899, allocations: 7.438 kB / 0.6128 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7899, allocations: 0 / 0.6128 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.7916, allocations: 0.8144 MB / 0.6136 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7916, allocations: 2.844 kB / 0.6136 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.7919, allocations: 40.59 kB / 0.6136 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.7919, allocations: 2.469 kB / 0.6136 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.7919, allocations: 6.531 kB / 0.6136 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004748/0.7924, allocations: 0.5999 MB / 0.6142 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7925, allocations: 0 / 0.6142 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.7931, allocations: 384.8 kB / 0.6146 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.7934, allocations: 171.3 kB / 0.6147 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.7935, allocations: 10.28 kB / 0.6148 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.7941, allocations: 22.28 kB / 0.6148 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.7941, allocations: 11.77 kB / 0.6148 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.7942, allocations: 12.7 kB / 0.6148 GB, free: 3.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.7953, allocations: 0.7045 MB / 0.6155 GB, free: 2.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7954, allocations: 0 / 0.6155 GB, free: 2.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001141/0.7965, allocations: 213 kB / 0.6157 GB, free: 2.844 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * 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.001772/0.7983, allocations: 0.5055 MB / 0.6162 GB, free: 2.469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007162/0.799, allocations: 242.6 kB / 0.6164 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.799, allocations: 0 / 0.6164 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.7992, allocations: 73.56 kB / 0.6165 GB, free: 2.402 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.8013, allocations: 316.6 kB / 0.6168 GB, free: 2.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.8041, allocations: 1.39 MB / 0.6181 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.8048, allocations: 0.9196 MB / 0.619 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.8051, allocations: 55.61 kB / 0.6191 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.8051, allocations: 0 / 0.6191 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of Templates: time 0.02578/0.8309, allocations: 14.59 MB / 0.6333 GB, free: 3.531 MB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.TestGasTurbineStodolaCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodolaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodolaCalcHelperMain.o] Error 1