Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008182/0.0008181, allocations: 94.55 kB / 16.95 MB, free: 5.676 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.0008853/0.0008855, allocations: 184.3 kB / 17.85 MB, free: 5.32 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.903/1.903, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3641/0.3641, 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.0005723/0.0005724, allocations: 18.22 kB / 391.8 MB, free: 50.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1546, allocations: 60.26 MB / 452 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003456/0.1581, allocations: 1.77 MB / 453.8 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1598, allocations: 0.57 MB / 454.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.1601, allocations: 7.938 kB / 454.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.1602, allocations: 19.78 kB / 454.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.1605, allocations: 63.53 kB / 454.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.1607, allocations: 31.97 kB / 454.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.1609, allocations: 199 kB / 454.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1611, allocations: 28.28 kB / 454.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1613, allocations: 71.66 kB / 454.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1615, allocations: 79.61 kB / 454.9 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.1615, allocations: 8 kB / 454.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.157e-05/0.1616, allocations: 8 kB / 454.9 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.1616, allocations: 31.84 kB / 454.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.1617, allocations: 53.64 kB / 455 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1619, allocations: 108 kB / 455.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.196e-05/0.1619, allocations: 0 / 455.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1619, allocations: 3.938 kB / 455.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1619, allocations: 0 / 455.1 MB, free: 6.488 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008228/0.1628, allocations: 482.5 kB / 455.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1628, allocations: 8.031 kB / 455.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.1629, allocations: 23.81 kB / 455.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1633, allocations: 235.6 kB / 455.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1633, allocations: 8 kB / 455.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.1634, allocations: 15.94 kB / 455.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.1637, allocations: 131.3 kB / 456 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1637, allocations: 4 kB / 456 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1637, allocations: 3.953 kB / 456 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1637, allocations: 4 kB / 456 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.1639, allocations: 83.94 kB / 456.1 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.1648, allocations: 0.5567 MB / 456.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.1651, allocations: 102.6 kB / 456.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1652, allocations: 52.83 kB / 456.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1653, allocations: 4 kB / 456.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1653, allocations: 38.5 kB / 456.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.1653, allocations: 0 / 456.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009433/0.1663, allocations: 450.3 kB / 457.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1663, allocations: 59.41 kB / 457.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.1666, allocations: 225 kB / 457.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1666, allocations: 29.7 kB / 457.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1667, allocations: 128.3 kB / 457.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.1668, allocations: 39.36 kB / 457.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.1668, allocations: 8 kB / 457.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.167, allocations: 330.8 kB / 458.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.1671, allocations: 35.92 kB / 458.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1672, allocations: 62.48 kB / 458.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.082e-05/0.1673, allocations: 40 kB / 458.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1673, allocations: 0 / 458.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002546/0.1676, allocations: 141.4 kB / 458.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1676, allocations: 4 kB / 458.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1676, allocations: 0 / 458.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1676, allocations: 7.984 kB / 458.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1678, allocations: 39.98 kB / 458.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1678, allocations: 0 / 458.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-05/0.1679, allocations: 15.89 kB / 458.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1679, allocations: 4 kB / 458.4 MB, free: 2.883 MB / 334.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 (16): * Single equations (assignments): 16 * 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 prepare postOptimizeDAE: time 0.0001579/0.1681, allocations: 134.6 kB / 458.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.1682, allocations: 19.72 kB / 458.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.1682, allocations: 21.7 kB / 458.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1682, allocations: 4 kB / 458.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1682, allocations: 4 kB / 458.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1683, allocations: 0 / 458.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.1688, allocations: 450.5 kB / 459 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1689, allocations: 0 / 459 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.169, allocations: 31.92 kB / 459 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.169, allocations: 0 / 459 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.169, allocations: 4 kB / 459.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1691, allocations: 4 kB / 459.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1691, allocations: 3.953 kB / 459.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.1695, allocations: 267.2 kB / 459.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.1696, allocations: 96.95 kB / 459.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1696, allocations: 8 kB / 459.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1697, allocations: 8 kB / 459.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.1698, allocations: 11.98 kB / 459.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1698, allocations: 3.953 kB / 459.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.17, allocations: 164.5 kB / 459.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.17, allocations: 0 / 459.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1702, allocations: 32 kB / 459.6 MB, free: 1.551 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (12): * Single equations (assignments): 12 * 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.0001318/0.1704, allocations: 99.19 kB / 459.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.1707, allocations: 99.83 kB / 459.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1707, allocations: 0 / 459.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.813e-05/0.1708, allocations: 39.98 kB / 459.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.1712, allocations: 30.89 kB / 459.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1723, allocations: 0.6367 MB / 460.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1727, allocations: 0.7399 MB / 461.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.1728, allocations: 15.44 kB / 461.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of SimCode: time 1.984e-06/0.1728, allocations: 0 / 461.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Templates: time 0.004344/0.1771, allocations: 1.959 MB / 463.3 MB, free: 13.86 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.TestElectrical1CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1CalcHelperMain.o] Error 1