Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006317/0.0006319, allocations: 94.17 kB / 17.31 MB, free: 6.535 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.0006667/0.0006667, allocations: 175.2 kB / 18.21 MB, free: 5.684 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.133/1.133, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2175/0.2175, allocations: 48.78 MB / 321.5 MB, free: 11.12 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.0004472/0.0004472, allocations: 15.73 kB / 392.5 MB, free: 50.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08079/0.08125, allocations: 60.26 MB / 452.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002157/0.08343, allocations: 2.38 MB / 455.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.08438, allocations: 0.7449 MB / 455.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.0845, allocations: 4 kB / 455.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.08461, allocations: 27.7 kB / 455.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.08485, allocations: 111.2 kB / 456 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.08499, allocations: 63.92 kB / 456 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.0853, allocations: 390.1 kB / 456.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.08546, allocations: 73 kB / 456.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.08561, allocations: 143.3 kB / 456.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.08578, allocations: 151.1 kB / 456.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.08582, allocations: 12 kB / 456.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.08588, allocations: 20 kB / 456.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.08593, allocations: 55.75 kB / 456.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.08606, allocations: 180.7 kB / 457.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.08625, allocations: 223.6 kB / 457.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.08626, allocations: 0 / 457.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08627, allocations: 0 / 457.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.08628, allocations: 4 kB / 457.3 MB, free: 4.605 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008067/0.08709, allocations: 0.6115 MB / 457.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.08713, allocations: 8.031 kB / 457.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.303e-05/0.08723, allocations: 44.41 kB / 457.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.08754, allocations: 319.9 kB / 458.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.08757, allocations: 20.81 kB / 458.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.08761, allocations: 24.38 kB / 458.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.08798, allocations: 243 kB / 458.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.08801, allocations: 7.938 kB / 458.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.08803, allocations: 12 kB / 458.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.08804, allocations: 8 kB / 458.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.08839, allocations: 185.6 kB / 458.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009589/0.08936, allocations: 0.8789 MB / 459.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.08965, allocations: 202.5 kB / 459.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.08984, allocations: 108.8 kB / 459.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.08987, allocations: 4 kB / 459.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.08989, allocations: 34.56 kB / 460 MB, free: 1.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.0899, allocations: 4 kB / 460 MB, free: 1.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001194/0.0911, allocations: 0.7724 MB / 460.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.09114, allocations: 51.41 kB / 460.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.09139, allocations: 304.5 kB / 461.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.09142, allocations: 33.7 kB / 461.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.09152, allocations: 180.6 kB / 461.3 MB, free: 328 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.09159, allocations: 98.55 kB / 461.4 MB, free: 228 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.09163, allocations: 33.7 kB / 461.4 MB, free: 188 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.09174, allocations: 342.8 kB / 461.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.09191, allocations: 79.95 kB / 461.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.09209, allocations: 122.5 kB / 462 MB, free: 15.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.09242, allocations: 204.2 kB / 462.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.09243, allocations: 4 kB / 462.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005638/0.093, allocations: 334.9 kB / 462.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.09302, allocations: 8 kB / 462.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.09303, allocations: 0 / 462.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.09326, allocations: 56.88 kB / 462.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.09359, allocations: 75.89 kB / 462.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.09544, allocations: 2.823 MB / 465.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.09563, allocations: 15.98 kB / 465.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.09565, allocations: 12 kB / 465.5 MB, free: 11.82 MB / 350.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 (30): * Single equations (assignments): 28 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.09577, allocations: 149.7 kB / 465.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.09583, allocations: 39.55 kB / 465.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.09626, allocations: 273.3 kB / 465.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.09628, allocations: 8 kB / 465.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.09628, allocations: 0 / 465.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.09629, allocations: 3.984 kB / 465.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/0.09708, allocations: 0.6817 MB / 466.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.09709, allocations: 3.938 kB / 466.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.09737, allocations: 71.84 kB / 466.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.09739, allocations: 0 / 466.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.0974, allocations: 4 kB / 466.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.09741, allocations: 4 kB / 466.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.09742, allocations: 0 / 466.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.098, allocations: 475.6 kB / 467.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.0981, allocations: 116.8 kB / 467.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.09814, allocations: 8 kB / 467.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.09832, allocations: 15.98 kB / 467.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.09837, allocations: 15.98 kB / 467.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.09838, allocations: 7.984 kB / 467.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.09856, allocations: 215.1 kB / 467.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09857, allocations: 3.938 kB / 467.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.09886, allocations: 68 kB / 467.6 MB, free: 9.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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 8.377e-05/0.09895, allocations: 103.2 kB / 467.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006732/0.09963, allocations: 370.5 kB / 468.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.09965, allocations: 0 / 468.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.09984, allocations: 119.8 kB / 468.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.1003, allocations: 59.12 kB / 468.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1016, allocations: 1.167 MB / 469.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1019, allocations: 0.7836 MB / 470.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.102, allocations: 27.44 kB / 470.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.102, allocations: 0 / 470.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of Templates: time 0.005282/0.1072, allocations: 4.697 MB / 474.9 MB, free: 2.184 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5CalcHelperMain.o] Error 1