Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002427/0.002427, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.002936/0.002936, allocations: 194.9 kB / 18.08 MB, free: 5.414 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.893/1.893, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3954/0.3954, allocations: 48.84 MB / 320.1 MB, free: 11.3 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.001671/0.001671, allocations: 67.11 kB / 390 MB, free: 49.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1578, allocations: 59.16 MB / 449.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.005404/0.1633, allocations: 2.455 MB / 451.6 MB, free: 7.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1652, allocations: 0.6709 MB / 452.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/0.1656, allocations: 7.938 kB / 452.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.1659, allocations: 23.78 kB / 452.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.1664, allocations: 63.52 kB / 452.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1667, allocations: 47.91 kB / 452.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.1672, allocations: 278.8 kB / 452.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.1675, allocations: 56.89 kB / 452.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.1678, allocations: 111.4 kB / 452.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1681, allocations: 119.3 kB / 453 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.1682, allocations: 12 kB / 453 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1683, allocations: 16 kB / 453 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.1683, allocations: 39.83 kB / 453 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1685, allocations: 119.3 kB / 453.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1688, allocations: 167.8 kB / 453.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1688, allocations: 0 / 453.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1688, allocations: 0 / 453.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1688, allocations: 0 / 453.3 MB, free: 6.055 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001282/0.1701, allocations: 0.5669 MB / 453.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.1702, allocations: 8.031 kB / 453.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.1704, allocations: 32.56 kB / 453.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.1709, allocations: 266.7 kB / 454.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.1709, allocations: 38.27 kB / 454.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.171, allocations: 24.38 kB / 454.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.1715, allocations: 179 kB / 454.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.1715, allocations: 3.906 kB / 454.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.1715, allocations: 8 kB / 454.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.1716, allocations: 4 kB / 454.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.1719, allocations: 123.8 kB / 454.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.1732, allocations: 0.6657 MB / 455.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.1736, allocations: 150.5 kB / 455.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.1738, allocations: 80.83 kB / 455.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1739, allocations: 0 / 455.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1739, allocations: 42.5 kB / 455.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.1739, allocations: 4 kB / 455.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.001391/0.1753, allocations: 0.5748 MB / 456.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.1754, allocations: 55.34 kB / 456.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.1757, allocations: 241 kB / 456.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1757, allocations: 33.7 kB / 456.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1759, allocations: 156.2 kB / 456.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.176, allocations: 66.95 kB / 456.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/0.176, allocations: 37.7 kB / 456.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1762, allocations: 342.8 kB / 457 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1764, allocations: 51.97 kB / 457 MB, free: 2.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1766, allocations: 89.61 kB / 457.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.1769, allocations: 142.7 kB / 457.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1769, allocations: 0 / 457.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004718/0.1774, allocations: 209.2 kB / 457.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.1774, allocations: 4 kB / 457.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1774, allocations: 4.031 kB / 457.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.1775, allocations: 4 kB / 457.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.1779, allocations: 75.89 kB / 457.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.178, allocations: 0 / 457.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1781, allocations: 12 kB / 457.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1781, allocations: 4 kB / 457.6 MB, free: 1.512 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001872/0.1783, allocations: 145.7 kB / 457.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.1784, allocations: 23.72 kB / 457.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.1785, allocations: 22.19 kB / 457.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1785, allocations: 3.984 kB / 457.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.1785, allocations: 4 kB / 457.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1785, allocations: 0 / 457.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009682/0.1795, allocations: 0.5335 MB / 458.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1795, allocations: 0 / 458.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.18, allocations: 67.91 kB / 458.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.18, allocations: 0 / 458.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.18, allocations: 7.984 kB / 458.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.18, allocations: 0 / 458.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.18, allocations: 3.938 kB / 458.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.1807, allocations: 355.4 kB / 458.7 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.1808, allocations: 112.8 kB / 458.8 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.1808, allocations: 4 kB / 458.8 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.181, allocations: 8 kB / 458.9 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.1811, allocations: 15.91 kB / 458.9 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1811, allocations: 8 kB / 458.9 MB, free: 120 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.1813, allocations: 168.5 kB / 459 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1813, allocations: 7.875 kB / 459 MB, free: 15.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.1817, allocations: 52 kB / 459.1 MB, free: 15.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001727/0.1818, allocations: 95.23 kB / 459.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003977/0.1822, allocations: 155.7 kB / 459.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1823, allocations: 0 / 459.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.1824, allocations: 71.91 kB / 459.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1829, allocations: 36.48 kB / 459.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1843, allocations: 0.7569 MB / 460.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.1847, allocations: 0.7442 MB / 461 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.1848, allocations: 23.44 kB / 461 MB, free: 13.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.265e-06/0.1848, allocations: 0 / 461 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Templates: time 0.005054/0.1899, allocations: 2.578 MB / 463.6 MB, free: 11.36 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.TestElectrical3CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3CalcHelperMain.o] Error 1