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.001318/0.001318, allocations: 105.2 kB / 17.16 MB, free: 6.348 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.001434/0.001434, allocations: 194.9 kB / 18.07 MB, free: 5.445 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.796/1.796, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.326/0.326, allocations: 48.83 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.001284/0.001284, allocations: 65.38 kB / 390 MB, free: 49.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 59.16 MB / 449.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.005008/0.1541, allocations: 3.159 MB / 452.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1561, allocations: 0.8385 MB / 453.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.1563, allocations: 7.938 kB / 453.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1566, allocations: 43.56 kB / 453.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1569, allocations: 111.2 kB / 453.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1572, allocations: 103.8 kB / 453.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.1576, allocations: 470.3 kB / 453.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.1579, allocations: 116.1 kB / 454 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.1581, allocations: 187.1 kB / 454.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1584, allocations: 191 kB / 454.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.1584, allocations: 28 kB / 454.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.1585, allocations: 28 kB / 454.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.1586, allocations: 79.55 kB / 454.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.1588, allocations: 198.8 kB / 454.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1591, allocations: 291.2 kB / 455 MB, free: 4.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.1592, allocations: 8 kB / 455 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1592, allocations: 0 / 455 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1592, allocations: 0 / 455 MB, free: 4.406 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.001357/0.1605, allocations: 0.7477 MB / 455.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1606, allocations: 12.03 kB / 455.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1608, allocations: 56.36 kB / 455.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.1612, allocations: 338.2 kB / 456.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1612, allocations: 25.03 kB / 456.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.1613, allocations: 44.27 kB / 456.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.1618, allocations: 297.6 kB / 456.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1618, allocations: 0 / 456.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1619, allocations: 16 kB / 456.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1619, allocations: 8 kB / 456.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.1623, allocations: 206.1 kB / 456.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.164, allocations: 1.116 MB / 457.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.1644, allocations: 247.9 kB / 458.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.1646, allocations: 120.8 kB / 458.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1646, allocations: 4 kB / 458.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.1647, allocations: 38.5 kB / 458.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.323e-06/0.1647, allocations: 4 kB / 458.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.00185/0.1665, allocations: 0.9256 MB / 459.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1666, allocations: 59.41 kB / 459.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.167, allocations: 357.7 kB / 459.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.167, allocations: 33.7 kB / 459.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1672, allocations: 212.3 kB / 459.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.1673, allocations: 118.2 kB / 459.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1674, allocations: 70.06 kB / 460 MB, free: 15.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1676, allocations: 354.7 kB / 460.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.1678, allocations: 84.7 kB / 460.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.168, allocations: 141.7 kB / 460.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.1684, allocations: 236 kB / 460.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1684, allocations: 0 / 460.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009358/0.1693, allocations: 417.2 kB / 461.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1694, allocations: 12.06 kB / 461.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1694, allocations: 0 / 461.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/0.17, allocations: 124.7 kB / 461.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.1704, allocations: 91.89 kB / 461.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.1736, allocations: 3.104 MB / 464.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1739, allocations: 16 kB / 464.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.1739, allocations: 8 kB / 464.5 MB, free: 10.22 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 (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.1741, allocations: 173.5 kB / 464.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.1742, allocations: 39.47 kB / 464.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/0.1747, allocations: 305.9 kB / 465.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1747, allocations: 0 / 465.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1747, allocations: 4 kB / 465.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1748, allocations: 0 / 465.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.1759, allocations: 0.7558 MB / 465.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.176, allocations: 0 / 465.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.1764, allocations: 76.19 kB / 465.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1764, allocations: 0 / 465.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.1764, allocations: 8 kB / 465.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1764, allocations: 3.938 kB / 465.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1764, allocations: 7.984 kB / 465.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.1771, allocations: 499.5 kB / 466.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1773, allocations: 136.6 kB / 466.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.1773, allocations: 8 kB / 466.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1775, allocations: 7.984 kB / 466.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.1776, allocations: 27.91 kB / 466.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1776, allocations: 4 kB / 466.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002838/0.1779, allocations: 255.2 kB / 466.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1779, allocations: 4 kB / 466.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004128/0.1783, allocations: 92 kB / 466.9 MB, free: 7.742 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 (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.0001524/0.1785, allocations: 103.2 kB / 467 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009543/0.1795, allocations: 434 kB / 467.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1795, allocations: 4 kB / 467.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.1797, allocations: 119.8 kB / 467.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.1802, allocations: 79.41 kB / 467.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1822, allocations: 1.24 MB / 468.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.1827, allocations: 0.8152 MB / 469.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.1828, allocations: 27.44 kB / 469.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of SimCode: time 2.395e-06/0.1828, allocations: 0 / 469.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of Templates: time 0.009001/0.1918, allocations: 5.728 MB / 475.4 MB, free: 15.11 MB / 366.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.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