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.0012/0.0012, allocations: 109.7 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.001313/0.001313, 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.955/1.955, 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.3794/0.3794, allocations: 48.84 MB / 320.1 MB, free: 11.33 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.001454/0.001454, allocations: 63.92 kB / 390 MB, free: 49.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1479, allocations: 59.16 MB / 449.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.004234/0.1522, allocations: 2.338 MB / 451.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1536, allocations: 0.6397 MB / 452.1 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1538, allocations: 8 kB / 452.1 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1539, allocations: 19.8 kB / 452.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1542, allocations: 67.47 kB / 452.2 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.1543, allocations: 39.95 kB / 452.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1546, allocations: 234.9 kB / 452.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1549, allocations: 60.47 kB / 452.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1551, allocations: 95.52 kB / 452.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1553, allocations: 99.53 kB / 452.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.1553, allocations: 8 kB / 452.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.1554, allocations: 12 kB / 452.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.1555, allocations: 35.78 kB / 452.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1556, allocations: 99.41 kB / 452.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1559, allocations: 144 kB / 453 MB, free: 6.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1559, allocations: 4 kB / 453 MB, free: 6.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1559, allocations: 0 / 453 MB, free: 6.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1559, allocations: 0 / 453 MB, free: 6.375 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.00119/0.1571, allocations: 0.5296 MB / 453.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.1572, allocations: 12.03 kB / 453.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.1574, allocations: 28.56 kB / 453.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.1578, allocations: 258.8 kB / 453.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.1579, allocations: 12.38 kB / 453.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.1579, allocations: 12.38 kB / 453.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.1583, allocations: 163.5 kB / 454.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.1583, allocations: 4 kB / 454.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.1584, allocations: 8 kB / 454.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1584, allocations: 4 kB / 454.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.1587, allocations: 103.9 kB / 454.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1598, allocations: 0.6075 MB / 454.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.1601, allocations: 122.5 kB / 454.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1603, allocations: 72.86 kB / 455 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1603, allocations: 4 kB / 455 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1603, allocations: 42.5 kB / 455 MB, free: 4.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.1603, allocations: 0 / 455 MB, free: 4.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001252/0.1616, allocations: 0.5522 MB / 455.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.1617, allocations: 51.41 kB / 455.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1619, allocations: 233 kB / 455.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.162, allocations: 29.7 kB / 455.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1621, allocations: 144.3 kB / 456 MB, free: 3.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.1622, allocations: 59.11 kB / 456.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.1622, allocations: 37.7 kB / 456.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1624, allocations: 330.8 kB / 456.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1626, allocations: 47.98 kB / 456.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1627, allocations: 90.33 kB / 456.6 MB, free: 2.57 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.001321/0.164, allocations: 421.9 kB / 457 MB, free: 2.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.164, allocations: 0 / 457 MB, free: 2.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003603/0.1644, allocations: 193.2 kB / 457.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1644, allocations: 8 kB / 457.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1645, allocations: 0 / 457.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1645, allocations: 0 / 457.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.1648, allocations: 63.89 kB / 457.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.1648, allocations: 4 kB / 457.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1649, allocations: 4 kB / 457.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1649, allocations: 8 kB / 457.3 MB, free: 1.852 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 system: 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 0.0001929/0.1651, allocations: 137.8 kB / 457.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.1652, allocations: 27.66 kB / 457.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.1653, allocations: 22.19 kB / 457.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1653, allocations: 8.031 kB / 457.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1653, allocations: 3.984 kB / 457.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1653, allocations: 0 / 457.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.1661, allocations: 0.5249 MB / 458 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1661, allocations: 4 kB / 458 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.1663, allocations: 43.97 kB / 458 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.1664, allocations: 4 kB / 458 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1664, allocations: 4 kB / 458 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1664, allocations: 4 kB / 458 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1664, allocations: 0 / 458 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.1669, allocations: 343 kB / 458.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1671, allocations: 104.9 kB / 458.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.1671, allocations: 4 kB / 458.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1672, allocations: 7.984 kB / 458.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.1673, allocations: 7.984 kB / 458.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1673, allocations: 8 kB / 458.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1675, allocations: 168.4 kB / 458.7 MB, free: 356 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1675, allocations: 4 kB / 458.7 MB, free: 352 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1678, allocations: 40 kB / 458.7 MB, free: 312 kB / 334.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 0.000118/0.1679, allocations: 95.25 kB / 458.8 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.1683, allocations: 135.8 kB / 458.9 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1683, allocations: 7.938 kB / 458.9 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1685, allocations: 71.92 kB / 459 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1689, allocations: 36.48 kB / 459 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.17, allocations: 0.655 MB / 459.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1704, allocations: 0.7401 MB / 460.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.1705, allocations: 19.44 kB / 460.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1705, allocations: 0 / 460.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of Templates: time 0.004263/0.1747, allocations: 2.342 MB / 462.8 MB, free: 12.14 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