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.0006455/0.0006455, allocations: 92.77 kB / 17.31 MB, free: 6.531 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.0006897/0.0006898, allocations: 179.7 kB / 18.21 MB, free: 5.684 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.152/1.152, allocations: 205.4 MB / 224.4 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.2323/0.2323, allocations: 48.78 MB / 321.5 MB, free: 11.19 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.0004735/0.0004737, allocations: 16.64 kB / 392.5 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07882/0.07931, allocations: 60.27 MB / 452.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3284/0.4077, allocations: 182 MB / 0.6199 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.4106, allocations: 1.962 MB / 0.6218 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.4109, allocations: 15.5 kB / 0.6218 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007425/0.4116, allocations: 325.8 kB / 0.6221 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009567/0.4126, allocations: 0.7621 MB / 0.6229 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.4144, allocations: 0.9742 MB / 0.6238 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.416, allocations: 2.332 MB / 0.6261 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.4166, allocations: 0.5556 MB / 0.6266 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.4174, allocations: 0.7326 MB / 0.6274 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.4181, allocations: 0.8006 MB / 0.6281 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.562e-05/0.4182, allocations: 40.66 kB / 0.6282 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.4195, allocations: 0.9462 MB / 0.6291 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004802/0.42, allocations: 0.7617 MB / 0.6298 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006359/0.4206, allocations: 0.9072 MB / 0.6307 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.422, allocations: 1.86 MB / 0.6325 GB, free: 6.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.422, allocations: 3.938 kB / 0.6325 GB, free: 6.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.422, allocations: 0 / 0.6325 GB, free: 6.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.422, allocations: 4 kB / 0.6325 GB, free: 6.965 MB / 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.002512/0.4246, allocations: 1.981 MB / 0.6345 GB, free: 4.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.4246, allocations: 12.03 kB / 0.6345 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.4254, allocations: 305 kB / 0.6348 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.4269, allocations: 1.384 MB / 0.6361 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.593e-05/0.427, allocations: 91.7 kB / 0.6362 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.4272, allocations: 90.12 kB / 0.6363 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4287, allocations: 1.14 MB / 0.6374 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.4287, allocations: 7.984 kB / 0.6374 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.4288, allocations: 40 kB / 0.6375 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.4289, allocations: 33.98 kB / 0.6375 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.43, allocations: 0.8274 MB / 0.6383 GB, free: 0.8711 MB / 446.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.006074/0.4361, allocations: 5.152 MB / 0.6433 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.4366, allocations: 325.1 kB / 0.6437 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.4369, allocations: 149.6 kB / 0.6438 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.4369, allocations: 4 kB / 0.6438 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.4369, allocations: 42.56 kB / 0.6438 GB, free: 10.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.452e-06/0.4369, allocations: 0 / 0.6438 GB, free: 10.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002108/0.4391, allocations: 1.662 MB / 0.6455 GB, free: 9.207 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4391, allocations: 81.11 kB / 0.6455 GB, free: 9.109 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/0.4425, allocations: 3.41 MB / 0.6489 GB, free: 5.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.4426, allocations: 37.7 kB / 0.6489 GB, free: 5.637 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007021/0.4433, allocations: 0.9633 MB / 0.6498 GB, free: 4.668 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.559e-05/0.4434, allocations: 149.9 kB / 0.65 GB, free: 4.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.4435, allocations: 61.72 kB / 0.65 GB, free: 4.453 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4436, allocations: 330 kB / 0.6504 GB, free: 4.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.4439, allocations: 213.1 kB / 0.6506 GB, free: 3.914 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.4443, allocations: 398 kB / 0.6509 GB, free: 3.445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.445, allocations: 0.5681 MB / 0.6515 GB, free: 2.793 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.445, allocations: 0 / 0.6515 GB, free: 2.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001111/0.4461, allocations: 0.8485 MB / 0.6523 GB, free: 1.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4462, allocations: 15.92 kB / 0.6523 GB, free: 1.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.4462, allocations: 4 kB / 0.6523 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.4462, allocations: 12 kB / 0.6524 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/0.4471, allocations: 220.8 kB / 0.6526 GB, free: 1.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005624/0.4477, allocations: 1.2 MB / 0.6537 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/0.4484, allocations: 44.08 kB / 0.6538 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/0.4484, allocations: 31.98 kB / 0.6538 GB, free: 380 kB / 462.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.0006001/0.449, allocations: 0.5872 MB / 0.6544 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.4493, allocations: 217.3 kB / 0.6546 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/0.45, allocations: 0.5459 MB / 0.6551 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4501, allocations: 7.938 kB / 0.6551 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4501, allocations: 7.938 kB / 0.6551 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4501, allocations: 0 / 0.6551 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.4522, allocations: 1.81 MB / 0.6569 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4523, allocations: 48 / 0.6569 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.4529, allocations: 139.9 kB / 0.657 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4529, allocations: 0 / 0.657 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.453, allocations: 11.98 kB / 0.6571 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000475/0.4534, allocations: 1.203 MB / 0.6582 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4535, allocations: 0 / 0.6582 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008746/0.4543, allocations: 0.7699 MB / 0.659 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.4549, allocations: 430.3 kB / 0.6594 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.455, allocations: 16 kB / 0.6594 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.4557, allocations: 31.97 kB / 0.6594 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.4558, allocations: 23.97 kB / 0.6595 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.4559, allocations: 27.97 kB / 0.6595 GB, free: 10.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002549/0.4584, allocations: 2.431 MB / 0.6619 GB, free: 7.941 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4584, allocations: 4 kB / 0.6619 GB, free: 7.938 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007777/0.4592, allocations: 335.9 kB / 0.6622 GB, free: 7.609 MB / 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.00123/0.4604, allocations: 0.5559 MB / 0.6627 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000762/0.4612, allocations: 466.8 kB / 0.6632 GB, free: 6.594 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4612, allocations: 4.562 kB / 0.6632 GB, free: 6.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.4615, allocations: 168.2 kB / 0.6633 GB, free: 6.426 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.4641, allocations: 0.567 MB / 0.6639 GB, free: 5.855 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/0.4688, allocations: 4.374 MB / 0.6682 GB, free: 1.438 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009907/0.4698, allocations: 1.46 MB / 0.6696 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.4701, allocations: 115.4 kB / 0.6697 GB, free: 15.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.856e-06/0.4701, allocations: 0 / 0.6697 GB, free: 15.84 MB / 494.1 MB Notification: Performance of Templates: time 0.04087/0.5109, allocations: 37.65 MB / 0.7065 GB, free: 10.12 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