Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006325/0.0006326, allocations: 87.59 kB / 17.31 MB, free: 5.59 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.0006721/0.0006721, allocations: 176.4 kB / 18.21 MB, free: 5.195 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.138/1.138, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2214/0.2214, allocations: 48.79 MB / 321.5 MB, free: 11.1 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.0004513/0.0004513, allocations: 13.72 kB / 392.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07548/0.07594, allocations: 60.26 MB / 452.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.001908/0.07788, allocations: 1.991 MB / 454.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008246/0.07872, allocations: 0.6437 MB / 455.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.07882, allocations: 0 / 455.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.103e-05/0.07892, allocations: 27.72 kB / 455.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.07911, allocations: 59.55 kB / 455.4 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.07922, allocations: 39.94 kB / 455.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.07943, allocations: 238.9 kB / 455.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.07957, allocations: 44.62 kB / 455.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.07969, allocations: 91.52 kB / 455.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.07982, allocations: 91.48 kB / 455.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.07985, allocations: 8 kB / 455.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.0799, allocations: 12 kB / 456 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.07994, allocations: 35.78 kB / 456 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.08003, allocations: 125.1 kB / 456.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.08017, allocations: 135.9 kB / 456.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.08018, allocations: 0 / 456.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.08019, allocations: 0 / 456.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.08019, allocations: 0 / 456.2 MB, free: 5.609 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006629/0.08086, allocations: 0.5047 MB / 456.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.0809, allocations: 8.031 kB / 456.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.08099, allocations: 24.66 kB / 456.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.08123, allocations: 262.8 kB / 457 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.08125, allocations: 8.375 kB / 457 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.08129, allocations: 16.38 kB / 457.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.08155, allocations: 175.5 kB / 457.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.08157, allocations: 0 / 457.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.08159, allocations: 4 kB / 457.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.0816, allocations: 4 kB / 457.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.08183, allocations: 111.9 kB / 457.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.08254, allocations: 0.6152 MB / 458 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.08277, allocations: 126.6 kB / 458.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.0829, allocations: 76.77 kB / 458.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.08292, allocations: 4 kB / 458.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.08294, allocations: 38.56 kB / 458.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.08295, allocations: 0 / 458.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009246/0.08388, allocations: 0.5769 MB / 458.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.08392, allocations: 55.34 kB / 458.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.0841, allocations: 224.9 kB / 459.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.08413, allocations: 33.7 kB / 459.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.0842, allocations: 140.4 kB / 459.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.08425, allocations: 63.09 kB / 459.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.08429, allocations: 21.72 kB / 459.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.08439, allocations: 334.8 kB / 459.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.08451, allocations: 51.97 kB / 459.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.08464, allocations: 90.34 kB / 459.8 MB, free: 1.797 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.1591549430918953 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.08568, allocations: 447.3 kB / 460.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.08569, allocations: 0 / 460.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003022/0.086, allocations: 193.2 kB / 460.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.08603, allocations: 12.03 kB / 460.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.08604, allocations: 0 / 460.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.08605, allocations: 0 / 460.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.08628, allocations: 63.91 kB / 460.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.08629, allocations: 7.984 kB / 460.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.08641, allocations: 12.03 kB / 460.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.08643, allocations: 7.984 kB / 460.5 MB, free: 1.035 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: grid.f = grid.fnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.972e-05/0.08654, allocations: 137.8 kB / 460.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.08658, allocations: 19.75 kB / 460.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.08664, allocations: 26.17 kB / 460.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.08665, allocations: 4 kB / 460.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.08665, allocations: 0 / 460.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.08666, allocations: 0 / 460.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.08726, allocations: 0.5333 MB / 461.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.08728, allocations: 4 kB / 461.2 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.08751, allocations: 47.97 kB / 461.3 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.08752, allocations: 0 / 461.3 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.08754, allocations: 8 kB / 461.3 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.08755, allocations: 4 kB / 461.3 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.08756, allocations: 4 kB / 461.3 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.08801, allocations: 350.3 kB / 461.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.0881, allocations: 108.9 kB / 461.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.08813, allocations: 4 kB / 461.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.08826, allocations: 8 kB / 461.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.08831, allocations: 11.98 kB / 461.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.08832, allocations: 4 kB / 461.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.08846, allocations: 168.4 kB / 461.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08847, allocations: 0 / 461.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.08872, allocations: 44 kB / 462 MB, free: 15.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.776e-05/0.0888, allocations: 99.19 kB / 462.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.0891, allocations: 147.7 kB / 462.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.08911, allocations: 0 / 462.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.08924, allocations: 83.91 kB / 462.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.08958, allocations: 32.41 kB / 462.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.09046, allocations: 0.731 MB / 463.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.09071, allocations: 0.744 MB / 463.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.09077, allocations: 19.44 kB / 463.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of SimCode: time 1.8e-07/0.09077, allocations: 0 / 463.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Templates: time 0.003283/0.09406, allocations: 2.318 MB / 466.1 MB, free: 11.23 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.ElectricalComponents.TestElectrical2CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2CalcHelperMain.o] Error 1