Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.8 kB / 17.16 MB, free: 6.082 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.001413/0.001413, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.883/1.883, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3389/0.3389, 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.001511/0.001511, allocations: 60.95 kB / 390 MB, free: 49.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1494, allocations: 59.17 MB / 449.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.004622/0.154, allocations: 2.75 MB / 451.9 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1558, allocations: 0.7565 MB / 452.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.156, allocations: 7.938 kB / 452.7 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.1562, allocations: 31.7 kB / 452.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.1565, allocations: 103.2 kB / 452.8 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.1567, allocations: 67.92 kB / 452.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.1572, allocations: 382.2 kB / 453.2 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.1574, allocations: 77 kB / 453.3 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.1577, allocations: 143.3 kB / 453.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.1579, allocations: 159.1 kB / 453.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.1579, allocations: 16 kB / 453.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.1581, allocations: 24 kB / 453.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.1581, allocations: 55.7 kB / 453.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.1583, allocations: 163 kB / 453.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.1586, allocations: 235.7 kB / 454.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1586, allocations: 0 / 454.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1586, allocations: 0 / 454.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1586, allocations: 0 / 454.1 MB, free: 5.281 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001186/0.1598, allocations: 0.6605 MB / 454.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1599, allocations: 12.03 kB / 454.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.16, allocations: 40.47 kB / 454.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1605, allocations: 319.9 kB / 455.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.1605, allocations: 16.81 kB / 455.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.1606, allocations: 28.31 kB / 455.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.161, allocations: 243 kB / 455.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.161, allocations: 4 kB / 455.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.1611, allocations: 8 kB / 455.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1611, allocations: 8 kB / 455.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.1615, allocations: 173.6 kB / 455.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.1627, allocations: 0.8711 MB / 456.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.1632, allocations: 186.5 kB / 456.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.1634, allocations: 104.8 kB / 456.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1634, allocations: 4 kB / 456.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1635, allocations: 42.5 kB / 456.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.1635, allocations: 4 kB / 456.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001469/0.1649, allocations: 0.7411 MB / 457.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.165, allocations: 55.41 kB / 457.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.1653, allocations: 296.6 kB / 457.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1654, allocations: 29.7 kB / 457.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.1655, allocations: 184.5 kB / 458.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.1656, allocations: 90.66 kB / 458.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.1657, allocations: 57.61 kB / 458.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1658, allocations: 342.8 kB / 458.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.166, allocations: 79.95 kB / 458.7 MB, free: 460 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.1662, allocations: 114.5 kB / 458.8 MB, free: 336 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.1666, allocations: 196.2 kB / 459 MB, free: 132 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1666, allocations: 0 / 459 MB, free: 132 kB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006753/0.1673, allocations: 318.9 kB / 459.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1673, allocations: 7.938 kB / 459.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1673, allocations: 0 / 459.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.1676, allocations: 60.88 kB / 459.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.168, allocations: 71.95 kB / 459.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.1705, allocations: 2.831 MB / 462.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.1707, allocations: 16.02 kB / 462.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.1707, allocations: 8 kB / 462.3 MB, free: 12.54 MB / 350.1 MB 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.1709, allocations: 145.9 kB / 462.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.171, allocations: 35.56 kB / 462.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004868/0.1715, allocations: 265.2 kB / 462.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1715, allocations: 4 kB / 462.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1715, allocations: 0 / 462.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1715, allocations: 3.984 kB / 462.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.1725, allocations: 0.6661 MB / 463.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1725, allocations: 0 / 463.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.1728, allocations: 63.91 kB / 463.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1728, allocations: 0 / 463.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1728, allocations: 8 kB / 463.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1728, allocations: 0 / 463.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1728, allocations: 0 / 463.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.1735, allocations: 459.6 kB / 463.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.1736, allocations: 124.7 kB / 464 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.1737, allocations: 4 kB / 464 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.1739, allocations: 11.98 kB / 464 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.1739, allocations: 19.98 kB / 464 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.174, allocations: 7.984 kB / 464.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.1742, allocations: 211.1 kB / 464.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1742, allocations: 3.938 kB / 464.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.1745, allocations: 72 kB / 464.3 MB, free: 10.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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.0001374/0.1747, allocations: 107.2 kB / 464.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007865/0.1755, allocations: 354.6 kB / 464.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1755, allocations: 0 / 464.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.1757, allocations: 111.8 kB / 464.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.1762, allocations: 53.06 kB / 464.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1779, allocations: 1.054 MB / 466 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.1783, allocations: 0.7875 MB / 466.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.1784, allocations: 31.44 kB / 466.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1784, allocations: 0 / 466.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of Templates: time 0.007333/0.1858, allocations: 4.74 MB / 471.6 MB, free: 3.047 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5CalcHelperMain.o] Error 1