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.001525/0.001526, allocations: 94.44 kB / 16.96 MB, free: 6.453 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.002218/0.002218, allocations: 179.2 kB / 17.84 MB, free: 6 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.933/1.933, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3409/0.3409, allocations: 48.77 MB / 321.1 MB, free: 11.23 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.0005227/0.0005227, allocations: 17.16 kB / 391.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1288, allocations: 60.26 MB / 452.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003646/0.1325, allocations: 2.875 MB / 454.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1342, allocations: 0.8463 MB / 455.8 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.1345, allocations: 11.94 kB / 455.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1347, allocations: 47.55 kB / 455.8 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.1351, allocations: 142.9 kB / 456 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1353, allocations: 87.89 kB / 456.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005311/0.1359, allocations: 490.3 kB / 456.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.1361, allocations: 111.4 kB / 456.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.1364, allocations: 175.2 kB / 456.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1367, allocations: 187 kB / 457 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.1367, allocations: 20 kB / 457 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.1368, allocations: 19.94 kB / 457 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.1369, allocations: 71.67 kB / 457.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.137, allocations: 101.5 kB / 457.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.1373, allocations: 307.3 kB / 457.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.1374, allocations: 0 / 457.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1374, allocations: 4 kB / 457.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1374, allocations: 0 / 457.5 MB, free: 4.047 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.001306/0.1387, allocations: 0.7126 MB / 458.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1388, allocations: 12.02 kB / 458.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.1389, allocations: 59.33 kB / 458.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.1394, allocations: 353 kB / 458.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/0.1394, allocations: 28.66 kB / 458.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.1395, allocations: 43.91 kB / 458.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.1401, allocations: 317.8 kB / 459 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1401, allocations: 0 / 459 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1401, allocations: 19.95 kB / 459 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1401, allocations: 8 kB / 459 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.1406, allocations: 218.4 kB / 459.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.1424, allocations: 1.175 MB / 460.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.1429, allocations: 260.2 kB / 460.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1431, allocations: 129.4 kB / 460.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.1432, allocations: 8.281 kB / 460.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.1432, allocations: 34.84 kB / 460.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.1432, allocations: 0 / 460.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002158/0.1454, allocations: 1.095 MB / 462 MB, free: 15.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.1455, allocations: 63.2 kB / 462 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.1459, allocations: 377.7 kB / 462.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1459, allocations: 29.7 kB / 462.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.1461, allocations: 224.6 kB / 462.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.1462, allocations: 126.4 kB / 462.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.1462, allocations: 8 kB / 462.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1464, allocations: 354.8 kB / 463.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1466, allocations: 96.83 kB / 463.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.1468, allocations: 144.6 kB / 463.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.1471, allocations: 108 kB / 463.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1471, allocations: 0 / 463.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00056/0.1476, allocations: 352.9 kB / 463.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1477, allocations: 7.953 kB / 463.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.1477, allocations: 0 / 463.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1477, allocations: 7.938 kB / 463.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.1484, allocations: 148 kB / 464 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.1496, allocations: 1.346 MB / 465.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.1499, allocations: 15.92 kB / 465.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.1499, allocations: 16 kB / 465.3 MB, free: 11.73 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.1501, allocations: 153.7 kB / 465.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.1502, allocations: 43.61 kB / 465.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/0.1507, allocations: 317.8 kB / 465.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1507, allocations: 4 kB / 465.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1507, allocations: 3.938 kB / 465.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1508, allocations: 4 kB / 465.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1519, allocations: 0.799 MB / 466.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1519, allocations: 0 / 466.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.1523, allocations: 75.91 kB / 466.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1523, allocations: 4 kB / 466.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.1523, allocations: 7.984 kB / 466.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.1523, allocations: 11.98 kB / 466.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1523, allocations: 0 / 466.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.1531, allocations: 0.5112 MB / 467.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.1532, allocations: 144.5 kB / 467.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.1533, allocations: 4 kB / 467.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.1535, allocations: 11.98 kB / 467.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1536, allocations: 23.97 kB / 467.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1536, allocations: 4 kB / 467.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003061/0.1539, allocations: 271.2 kB / 467.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1539, allocations: 0 / 467.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003689/0.1543, allocations: 84 kB / 467.8 MB, free: 9.168 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001402/0.1544, allocations: 103.3 kB / 467.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006181/0.1551, allocations: 272.5 kB / 468.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1551, allocations: 4 kB / 468.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.1553, allocations: 139.5 kB / 468.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.1559, allocations: 75.06 kB / 468.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.1581, allocations: 1.377 MB / 469.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.1585, allocations: 0.8228 MB / 470.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1586, allocations: 35.42 kB / 470.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1586, allocations: 0 / 470.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of Templates: time 0.007988/0.1666, allocations: 5.349 MB / 475.9 MB, free: 0.9297 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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