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.0006407/0.0006407, allocations: 92.77 kB / 17.31 MB, free: 6.531 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.0006976/0.0006976, allocations: 179.7 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.151/1.151, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.227/0.227, allocations: 48.78 MB / 321.5 MB, free: 11.1 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.0004385/0.0004385, allocations: 12.14 kB / 392.5 MB, free: 50.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07533/0.07578, allocations: 60.27 MB / 452.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.001812/0.07762, allocations: 1.824 MB / 454.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000857/0.0785, allocations: 0.6048 MB / 455.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.07859, allocations: 0 / 455.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.594e-05/0.07868, allocations: 19.84 kB / 455.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.07883, allocations: 51.55 kB / 455.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.44e-05/0.07894, allocations: 35.97 kB / 455.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.07914, allocations: 207 kB / 455.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.07924, allocations: 36.27 kB / 455.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.07935, allocations: 75.66 kB / 455.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.07947, allocations: 83.48 kB / 455.6 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.0795, allocations: 8 kB / 455.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.07954, allocations: 8 kB / 455.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.07957, allocations: 23.86 kB / 455.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.07966, allocations: 117.2 kB / 455.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.07978, allocations: 112 kB / 455.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.07979, allocations: 0 / 455.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.07979, allocations: 0 / 455.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.0798, allocations: 0 / 455.9 MB, free: 5.949 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.0005636/0.08037, allocations: 478.6 kB / 456.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.0804, allocations: 8.031 kB / 456.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.08048, allocations: 20.75 kB / 456.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.08071, allocations: 244.8 kB / 456.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.08073, allocations: 8.375 kB / 456.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.08076, allocations: 12.38 kB / 456.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.08097, allocations: 135.6 kB / 456.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.08099, allocations: 4 kB / 456.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.08101, allocations: 4 kB / 456.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.08102, allocations: 4 kB / 456.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.08119, allocations: 87.88 kB / 456.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.08182, allocations: 0.5528 MB / 457.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.08207, allocations: 102.5 kB / 457.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.08216, allocations: 48.84 kB / 457.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.08218, allocations: 4 kB / 457.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.08221, allocations: 34.55 kB / 457.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.08221, allocations: 0 / 457.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006816/0.0829, allocations: 457.7 kB / 458.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.08294, allocations: 51.41 kB / 458.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.08313, allocations: 225 kB / 458.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.08316, allocations: 29.7 kB / 458.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.08322, allocations: 132.2 kB / 458.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.08326, allocations: 51.3 kB / 458.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.0833, allocations: 17.72 kB / 458.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.0834, allocations: 334.8 kB / 458.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.08348, allocations: 31.98 kB / 458.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.08357, allocations: 58.55 kB / 459 MB, free: 2.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.08373, allocations: 98.5 kB / 459.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.08374, allocations: 3.938 kB / 459.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002241/0.08397, allocations: 145.4 kB / 459.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.08399, allocations: 11.94 kB / 459.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.084, allocations: 0 / 459.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.08401, allocations: 64 / 459.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.08415, allocations: 47.91 kB / 459.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.08416, allocations: 0 / 459.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.08426, allocations: 4 kB / 459.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.08428, allocations: 8 kB / 459.3 MB, free: 2.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.08436, allocations: 122.5 kB / 459.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.0844, allocations: 19.75 kB / 459.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.08445, allocations: 29.7 kB / 459.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.08446, allocations: 0 / 459.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.08447, allocations: 0 / 459.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.08447, allocations: 4 kB / 459.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.08494, allocations: 450.2 kB / 459.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.08495, allocations: 0 / 459.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.08509, allocations: 27.98 kB / 459.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.0851, allocations: 0 / 459.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.08512, allocations: 8 kB / 459.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.08512, allocations: 4 kB / 460 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.08513, allocations: 0 / 460 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.08543, allocations: 268.1 kB / 460.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.08551, allocations: 104.9 kB / 460.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.08555, allocations: 8 kB / 460.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.08566, allocations: 4 kB / 460.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.08569, allocations: 7.984 kB / 460.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.0857, allocations: 0 / 460.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.08583, allocations: 168.5 kB / 460.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08584, allocations: 0 / 460.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.08607, allocations: 32 kB / 460.5 MB, free: 0.9297 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.913e-05/0.08616, allocations: 103.1 kB / 460.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.08634, allocations: 96.08 kB / 460.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.08635, allocations: 0 / 460.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.08644, allocations: 47.92 kB / 460.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.08679, allocations: 32.92 kB / 460.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.0876, allocations: 0.6717 MB / 461.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.08784, allocations: 0.7283 MB / 462.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.08789, allocations: 19.44 kB / 462.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.08789, allocations: 0 / 462.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of Templates: time 0.002841/0.09074, allocations: 1.972 MB / 464.2 MB, free: 13.2 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.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