Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001795, allocations: 106.3 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.002197/0.002197, 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.847/1.847, 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.4135/0.4135, 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.001623/0.001623, allocations: 61.12 kB / 390 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1333, allocations: 59.16 MB / 449.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.005298/0.1386, allocations: 2.443 MB / 451.6 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.1407, allocations: 0.6747 MB / 452.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.1411, allocations: 4 kB / 452.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1413, allocations: 23.78 kB / 452.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1417, allocations: 71.45 kB / 452.4 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1419, allocations: 47.95 kB / 452.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.1423, allocations: 266.8 kB / 452.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.1425, allocations: 52.72 kB / 452.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1427, allocations: 107.4 kB / 452.8 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1428, allocations: 107.5 kB / 452.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.1429, allocations: 12 kB / 453 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.1429, allocations: 16 kB / 453 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.143, allocations: 43.72 kB / 453 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1431, allocations: 115.4 kB / 453.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.1434, allocations: 159.8 kB / 453.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1434, allocations: 0 / 453.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1434, allocations: 0 / 453.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1434, allocations: 0 / 453.3 MB, free: 6.141 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009481/0.1444, allocations: 0.5529 MB / 453.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1444, allocations: 12.03 kB / 453.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1445, allocations: 32.55 kB / 453.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.1449, allocations: 258.8 kB / 454.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1449, allocations: 12.38 kB / 454.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.145, allocations: 20.38 kB / 454.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1453, allocations: 179.3 kB / 454.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1453, allocations: 0 / 454.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1453, allocations: 4 kB / 454.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1454, allocations: 7.938 kB / 454.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.1456, allocations: 119.6 kB / 454.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009622/0.1466, allocations: 0.6503 MB / 455.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1469, allocations: 146.4 kB / 455.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.147, allocations: 72.83 kB / 455.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1471, allocations: 4 kB / 455.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1471, allocations: 38.48 kB / 455.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.1471, allocations: 0 / 455.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001121/0.1482, allocations: 0.5514 MB / 455.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1483, allocations: 55.41 kB / 456 MB, free: 3.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1485, allocations: 233 kB / 456.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1486, allocations: 29.7 kB / 456.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1487, allocations: 152.2 kB / 456.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.1488, allocations: 67 kB / 456.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.1489, allocations: 37.7 kB / 456.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.149, allocations: 338.8 kB / 456.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1492, allocations: 55.97 kB / 456.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1493, allocations: 77.53 kB / 456.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.1496, allocations: 133.5 kB / 457.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1496, allocations: 4 kB / 457.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003496/0.1499, allocations: 193.6 kB / 457.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.15, allocations: 4 kB / 457.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.15, allocations: 0 / 457.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.15, allocations: 4 kB / 457.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.1504, allocations: 67.95 kB / 457.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.1516, allocations: 1.342 MB / 458.7 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.1518, allocations: 12.16 kB / 458.7 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.1518, allocations: 8 kB / 458.7 MB, free: 292 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.1519, allocations: 134 kB / 458.8 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.152, allocations: 23.7 kB / 458.9 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.1524, allocations: 186.5 kB / 459 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1524, allocations: 0 / 459 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.1524, allocations: 4 kB / 459 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1524, allocations: 7.938 kB / 459.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007602/0.1532, allocations: 0.5179 MB / 459.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1532, allocations: 11.88 kB / 459.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.1534, allocations: 39.97 kB / 459.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1534, allocations: 0 / 459.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.1534, allocations: 11.94 kB / 459.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1534, allocations: 0 / 459.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1535, allocations: 0 / 459.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.1539, allocations: 355.2 kB / 460 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1541, allocations: 108.8 kB / 460.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1541, allocations: 11.94 kB / 460.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1543, allocations: 4 kB / 460.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.1543, allocations: 15.98 kB / 460.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1543, allocations: 8 kB / 460.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1545, allocations: 168.5 kB / 460.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1545, allocations: 0 / 460.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1548, allocations: 44 kB / 460.3 MB, free: 14.55 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: 0 () * 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.0001463/0.155, allocations: 103.2 kB / 460.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.1555, allocations: 155.8 kB / 460.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1555, allocations: 4.062 kB / 460.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1557, allocations: 67.91 kB / 460.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1561, allocations: 40.39 kB / 460.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1575, allocations: 0.7571 MB / 461.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1579, allocations: 0.7481 MB / 462.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.1579, allocations: 23.38 kB / 462.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.158, allocations: 0 / 462.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004907/0.1629, allocations: 2.922 MB / 465.1 MB, free: 9.668 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.TestElectrical4CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4CalcHelperMain.o] Error 1