Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, 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.0009801/0.00098, 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.797/1.797, 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.3505/0.3505, allocations: 48.83 MB / 320.1 MB, free: 11.32 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.001481/0.001481, allocations: 67.64 kB / 390 MB, free: 49.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 59.16 MB / 449.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.00602/0.1248, allocations: 3.387 MB / 452.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1271, allocations: 0.8733 MB / 453.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.1274, allocations: 11.94 kB / 453.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.1276, allocations: 35.62 kB / 453.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.128, allocations: 127 kB / 453.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1283, allocations: 103.9 kB / 453.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.1288, allocations: 0.4945 MB / 454.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.1291, allocations: 129.3 kB / 454.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1294, allocations: 191.1 kB / 454.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1296, allocations: 222.9 kB / 454.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.1297, allocations: 24 kB / 454.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.1298, allocations: 24 kB / 454.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.742e-05/0.1299, allocations: 87.55 kB / 454.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.1301, allocations: 214.7 kB / 455.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.1305, allocations: 315.2 kB / 455.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1305, allocations: 4 kB / 455.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1305, allocations: 0 / 455.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1305, allocations: 0 / 455.4 MB, free: 4.016 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001441/0.132, allocations: 0.7944 MB / 456.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.132, allocations: 11.97 kB / 456.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1322, allocations: 56.28 kB / 456.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.1326, allocations: 362 kB / 456.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1327, allocations: 25.03 kB / 456.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.1327, allocations: 36.38 kB / 456.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.1333, allocations: 318.2 kB / 457 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1333, allocations: 11.92 kB / 457 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.1333, allocations: 12 kB / 457 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1334, allocations: 8 kB / 457 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.1338, allocations: 214.5 kB / 457.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.1356, allocations: 1.171 MB / 458.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.1361, allocations: 255.6 kB / 458.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.1363, allocations: 129.3 kB / 458.7 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.1364, allocations: 12.22 kB / 458.8 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1364, allocations: 46.78 kB / 458.8 MB, free: 400 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.1364, allocations: 0 / 458.8 MB, free: 400 kB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002234/0.1387, allocations: 1.072 MB / 459.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1387, allocations: 55.41 kB / 459.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.1391, allocations: 381.7 kB / 460.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1392, allocations: 33.7 kB / 460.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1394, allocations: 224.5 kB / 460.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.1395, allocations: 130.5 kB / 460.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1396, allocations: 70.05 kB / 460.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1397, allocations: 358.7 kB / 461.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1399, allocations: 88.84 kB / 461.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.1401, allocations: 152.5 kB / 461.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.1405, allocations: 256 kB / 461.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1406, allocations: 4 kB / 461.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005423/0.1411, allocations: 337 kB / 461.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1411, allocations: 4 kB / 461.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1411, allocations: 0 / 461.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1412, allocations: 4 kB / 461.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.1419, allocations: 151.8 kB / 462.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.1431, allocations: 1.358 MB / 463.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.1434, allocations: 20.12 kB / 463.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.1434, allocations: 12 kB / 463.5 MB, free: 11.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * 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.0002274/0.1437, allocations: 153.8 kB / 463.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.1438, allocations: 43.52 kB / 463.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/0.1443, allocations: 317.7 kB / 464 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1443, allocations: 4 kB / 464 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1444, allocations: 0 / 464 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1444, allocations: 7.984 kB / 464 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.1457, allocations: 0.7872 MB / 464.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1457, allocations: 0 / 464.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.1461, allocations: 83.89 kB / 464.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/0.1462, allocations: 4 kB / 464.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.1462, allocations: 4 kB / 464.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1462, allocations: 7.938 kB / 464.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1462, allocations: 0 / 464.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.147, allocations: 0.511 MB / 465.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.1472, allocations: 144.5 kB / 465.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.1473, allocations: 4 kB / 465.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.1475, allocations: 8 kB / 465.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.1476, allocations: 24.06 kB / 465.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1476, allocations: 7.938 kB / 465.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003174/0.1479, allocations: 275.2 kB / 465.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1479, allocations: 0 / 465.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.1483, allocations: 84 kB / 465.9 MB, free: 8.859 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.0001767/0.1485, allocations: 109.2 kB / 466 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006907/0.1492, allocations: 260.6 kB / 466.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1492, allocations: 4.25 kB / 466.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.1494, allocations: 135.7 kB / 466.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.1501, allocations: 77.45 kB / 466.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.1523, allocations: 1.314 MB / 467.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.1527, allocations: 0.8227 MB / 468.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1528, allocations: 35.44 kB / 468.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1528, allocations: 192 / 468.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of Templates: time 0.007423/0.1603, allocations: 5.399 MB / 474.1 MB, free: 0.6406 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.TestElectrical7CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7CalcHelperMain.o] Error 1