Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.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.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.002034/0.002034, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.96/1.96, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4623/0.4623, allocations: 48.85 MB / 320.1 MB, free: 11.31 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.001799/0.001799, allocations: 66.52 kB / 390 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1918, allocations: 59.15 MB / 449.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.6693/0.8612, allocations: 184.5 MB / 0.6188 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004958/0.8663, allocations: 1.984 MB / 0.6207 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006372/0.8669, allocations: 11.09 kB / 0.6208 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.8682, allocations: 324.4 kB / 0.6211 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.8699, allocations: 0.7665 MB / 0.6218 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.8729, allocations: 0.9811 MB / 0.6228 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.876, allocations: 2.336 MB / 0.625 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009611/0.8769, allocations: 0.5727 MB / 0.6256 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.8785, allocations: 0.7252 MB / 0.6263 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.8796, allocations: 0.817 MB / 0.6271 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.8797, allocations: 44 kB / 0.6272 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.8821, allocations: 0.9392 MB / 0.6281 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000685/0.8827, allocations: 0.7712 MB / 0.6288 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009723/0.8837, allocations: 0.8851 MB / 0.6297 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.8859, allocations: 1.879 MB / 0.6315 GB, free: 280 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.886, allocations: 0 / 0.6315 GB, free: 280 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.886, allocations: 0 / 0.6315 GB, free: 280 kB / 446.1 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.886, allocations: 0 / 0.6315 GB, free: 280 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004074/0.8901, allocations: 2.383 MB / 0.6339 GB, free: 13.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.8901, allocations: 8.031 kB / 0.6339 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.8912, allocations: 305.1 kB / 0.6342 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.8934, allocations: 1.372 MB / 0.6355 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.8935, allocations: 91.7 kB / 0.6356 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.8937, allocations: 84 kB / 0.6357 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.8957, allocations: 1.141 MB / 0.6368 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.8957, allocations: 8 kB / 0.6368 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.8959, allocations: 40 kB / 0.6368 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.8959, allocations: 38 kB / 0.6369 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.8973, allocations: 0.8196 MB / 0.6377 GB, free: 9.801 MB / 462.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.009525/0.9069, allocations: 5.19 MB / 0.6427 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/0.9077, allocations: 317.1 kB / 0.643 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.908, allocations: 141.7 kB / 0.6432 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.9081, allocations: 4 kB / 0.6432 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.945e-05/0.9081, allocations: 54.5 kB / 0.6432 GB, free: 3.832 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.614e-06/0.9081, allocations: 0 / 0.6432 GB, free: 3.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.003235/0.9114, allocations: 1.651 MB / 0.6448 GB, free: 2.117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.9115, allocations: 85.05 kB / 0.6449 GB, free: 2.016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/0.9166, allocations: 3.414 MB / 0.6482 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.695e-05/0.9167, allocations: 37.7 kB / 0.6483 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.9177, allocations: 0.9633 MB / 0.6492 GB, free: 13.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.9179, allocations: 145.9 kB / 0.6494 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.9181, allocations: 130.1 kB / 0.6495 GB, free: 13.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.9184, allocations: 334 kB / 0.6498 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.9188, allocations: 205.2 kB / 0.65 GB, free: 12.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.9194, allocations: 394 kB / 0.6504 GB, free: 12.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009083/0.9204, allocations: 0.5681 MB / 0.6509 GB, free: 11.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.9204, allocations: 4 kB / 0.6509 GB, free: 11.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001637/0.922, allocations: 0.8488 MB / 0.6518 GB, free: 10.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.9221, allocations: 11.94 kB / 0.6518 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.9221, allocations: 11.98 kB / 0.6518 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/0.9221, allocations: 8 kB / 0.6518 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.9233, allocations: 212.5 kB / 0.652 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009767/0.9243, allocations: 1.219 MB / 0.6532 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.9253, allocations: 31.89 kB / 0.6532 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.9254, allocations: 32.19 kB / 0.6532 GB, free: 9.215 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001274/0.9267, allocations: 0.5988 MB / 0.6538 GB, free: 8.605 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.927, allocations: 213.4 kB / 0.654 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009751/0.928, allocations: 0.5488 MB / 0.6546 GB, free: 7.832 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.9281, allocations: 7.938 kB / 0.6546 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.9281, allocations: 4 kB / 0.6546 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.9281, allocations: 0 / 0.6546 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.9311, allocations: 1.806 MB / 0.6563 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9311, allocations: 4 kB / 0.6563 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007786/0.9319, allocations: 127.9 kB / 0.6565 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.9319, allocations: 4 kB / 0.6565 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.932, allocations: 4.062 kB / 0.6565 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007958/0.9328, allocations: 1.203 MB / 0.6577 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9328, allocations: 0 / 0.6577 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.934, allocations: 0.7697 MB / 0.6584 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000721/0.9347, allocations: 414.4 kB / 0.6588 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.9349, allocations: 8 kB / 0.6588 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/0.9357, allocations: 39.95 kB / 0.6588 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.9358, allocations: 27.97 kB / 0.6589 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.9359, allocations: 27.97 kB / 0.6589 GB, free: 3.242 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003385/0.9392, allocations: 2.423 MB / 0.6613 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9393, allocations: 0 / 0.6613 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001187/0.9404, allocations: 343.8 kB / 0.6616 GB, free: 484 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/0.9421, allocations: 0.5677 MB / 0.6621 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.9431, allocations: 459.5 kB / 0.6626 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.9431, allocations: 0.5625 kB / 0.6626 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.9435, allocations: 172.2 kB / 0.6628 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/0.9462, allocations: 0.5742 MB / 0.6633 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007566/0.9538, allocations: 4.256 MB / 0.6675 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001878/0.9557, allocations: 1.46 MB / 0.6689 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.9562, allocations: 115.4 kB / 0.669 GB, free: 8.805 MB / 494.1 MB Notification: Performance of SimCode: time 1.133e-06/0.9562, allocations: 0 / 0.669 GB, free: 8.805 MB / 494.1 MB Notification: Performance of Templates: time 0.07161/1.028, allocations: 37.93 MB / 0.706 GB, free: 2.805 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.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.GasComponents.TestGTCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestGTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestGTCalcHelperMain.o] Error 1