Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 93.62 kB / 16.95 MB, free: 5.621 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.001327/0.001327, allocations: 187.1 kB / 17.85 MB, free: 5.289 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.966/1.966, 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.3687/0.3687, 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.0005806/0.0005807, allocations: 16.33 kB / 391.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.13, allocations: 60.27 MB / 452.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003216/0.1333, allocations: 2.659 MB / 454.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1348, allocations: 0.8153 MB / 455.5 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.135, allocations: 4 kB / 455.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.1352, allocations: 47.56 kB / 455.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.1355, allocations: 130.9 kB / 455.7 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1357, allocations: 79.89 kB / 455.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.1362, allocations: 450.4 kB / 456.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.1364, allocations: 102.1 kB / 456.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.1366, allocations: 163.2 kB / 456.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.1369, allocations: 183 kB / 456.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1369, allocations: 16 kB / 456.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.137, allocations: 16 kB / 456.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.1371, allocations: 67.67 kB / 456.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.1372, allocations: 97.45 kB / 456.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1375, allocations: 283.5 kB / 457.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1375, allocations: 0 / 457.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1375, allocations: 0 / 457.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1375, allocations: 0 / 457.1 MB, free: 4.426 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001204/0.1387, allocations: 0.6893 MB / 457.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1388, allocations: 8.031 kB / 457.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.139, allocations: 51.34 kB / 457.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.1394, allocations: 349 kB / 458.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1394, allocations: 20.66 kB / 458.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.1395, allocations: 35.91 kB / 458.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.1401, allocations: 297.7 kB / 458.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1401, allocations: 4 kB / 458.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.1401, allocations: 15.95 kB / 458.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1401, allocations: 8 kB / 458.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.1405, allocations: 206.1 kB / 458.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.1422, allocations: 1.124 MB / 459.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.1427, allocations: 247.9 kB / 460.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.1431, allocations: 116.8 kB / 460.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1431, allocations: 4 kB / 460.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1431, allocations: 34.56 kB / 460.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.1431, allocations: 0 / 460.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001816/0.145, allocations: 0.9487 MB / 461.3 MB, free: 28 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.145, allocations: 59.41 kB / 461.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.1455, allocations: 349.7 kB / 461.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.1455, allocations: 37.7 kB / 461.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.1457, allocations: 212.3 kB / 461.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1458, allocations: 118.2 kB / 462 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.1459, allocations: 12 kB / 462 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1461, allocations: 346.8 kB / 462.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.1463, allocations: 92.7 kB / 462.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.1465, allocations: 137.5 kB / 462.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.1467, allocations: 100 kB / 462.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1467, allocations: 4 kB / 462.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009192/0.1476, allocations: 421.1 kB / 463.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1477, allocations: 15.89 kB / 463.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1477, allocations: 0 / 463.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.1483, allocations: 124.7 kB / 463.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.1488, allocations: 91.88 kB / 463.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/0.1528, allocations: 3.108 MB / 466.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1531, allocations: 20.05 kB / 466.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.1531, allocations: 12 kB / 466.5 MB, free: 10.47 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 (36): * Single equations (assignments): 34 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002913/0.1534, allocations: 149.8 kB / 466.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.1535, allocations: 43.48 kB / 466.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/0.1541, allocations: 294.4 kB / 467 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1541, allocations: 8 kB / 467 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1541, allocations: 0 / 467 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.1541, allocations: 3.984 kB / 467 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.1552, allocations: 0.7563 MB / 467.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1552, allocations: 0 / 467.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.1556, allocations: 83.89 kB / 467.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1556, allocations: 4 kB / 467.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.1557, allocations: 8 kB / 467.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1557, allocations: 0 / 467.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1557, allocations: 0 / 467.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.1563, allocations: 0.4913 MB / 468.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.1565, allocations: 132.6 kB / 468.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.1565, allocations: 12 kB / 468.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.1567, allocations: 11.91 kB / 468.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.1568, allocations: 19.97 kB / 468.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1568, allocations: 11.98 kB / 468.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.1571, allocations: 255 kB / 468.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1571, allocations: 0 / 468.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000399/0.1575, allocations: 92 kB / 468.8 MB, free: 8.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (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) * 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 (34): * Single equations (assignments): 34 * 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.0001203/0.1576, allocations: 103.2 kB / 468.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1587, allocations: 431.5 kB / 469.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1587, allocations: 0 / 469.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.1589, allocations: 136 kB / 469.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.1594, allocations: 82.92 kB / 469.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.1616, allocations: 1.297 MB / 470.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.1623, allocations: 0.8191 MB / 471.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.1624, allocations: 27.44 kB / 471.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1624, allocations: 0 / 471.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of Templates: time 0.008943/0.1713, allocations: 5.685 MB / 477.4 MB, free: 15.36 MB / 366.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.TestElectrical6CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6CalcHelperMain.o] Error 1