Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007555/0.0007556, allocations: 92.86 kB / 17.31 MB, free: 6.051 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.0006925/0.0006925, allocations: 178.4 kB / 18.21 MB, free: 5.406 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.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2217/0.2217, allocations: 48.78 MB / 321.5 MB, free: 11.11 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.000452/0.000452, allocations: 13.83 kB / 392.5 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07637/0.07683, allocations: 60.26 MB / 452.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002271/0.07914, allocations: 2.1 MB / 454.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.0801, allocations: 0.6592 MB / 455.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.08021, allocations: 7.938 kB / 455.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.413e-05/0.08031, allocations: 23.78 kB / 455.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.08051, allocations: 67.53 kB / 455.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.08063, allocations: 55.88 kB / 455.6 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.08087, allocations: 262.8 kB / 455.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.08102, allocations: 60.88 kB / 455.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.08115, allocations: 107.4 kB / 456 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.0813, allocations: 111.4 kB / 456.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.08133, allocations: 8 kB / 456.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/0.08138, allocations: 12 kB / 456.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.739e-05/0.08143, allocations: 43.77 kB / 456.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.08153, allocations: 137 kB / 456.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.0817, allocations: 159.8 kB / 456.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.08171, allocations: 12 kB / 456.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08172, allocations: 0 / 456.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.08173, allocations: 0 / 456.5 MB, free: 5.352 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007474/0.08248, allocations: 0.5219 MB / 457 MB, free: 4.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.08252, allocations: 8.031 kB / 457.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.748e-05/0.08261, allocations: 32.56 kB / 457.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.08286, allocations: 270.7 kB / 457.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.08292, allocations: 38.27 kB / 457.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.08296, allocations: 20.38 kB / 457.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.08326, allocations: 187 kB / 457.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.08328, allocations: 0 / 457.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.08331, allocations: 8 kB / 457.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.08332, allocations: 4 kB / 457.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.0836, allocations: 139.8 kB / 457.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.08444, allocations: 0.6773 MB / 458.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.08476, allocations: 158.5 kB / 458.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.08493, allocations: 84.83 kB / 458.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.08495, allocations: 4 kB / 458.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.08497, allocations: 34.56 kB / 458.7 MB, free: 3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.203e-06/0.08498, allocations: 0 / 458.7 MB, free: 3 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009993/0.08598, allocations: 0.6045 MB / 459.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.08602, allocations: 55.34 kB / 459.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.08623, allocations: 241 kB / 459.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.08625, allocations: 29.7 kB / 459.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.08633, allocations: 152.3 kB / 459.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.08638, allocations: 63.02 kB / 459.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.08642, allocations: 25.7 kB / 459.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.08652, allocations: 338.8 kB / 460.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.08666, allocations: 63.97 kB / 460.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.08681, allocations: 89.55 kB / 460.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.08708, allocations: 157.5 kB / 460.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.08709, allocations: 0 / 460.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003421/0.08744, allocations: 217.2 kB / 460.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.08746, allocations: 7.984 kB / 460.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.08747, allocations: 0 / 460.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.08749, allocations: 4 kB / 460.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.08787, allocations: 83.83 kB / 460.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.08788, allocations: 4 kB / 460.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.08801, allocations: 12.03 kB / 460.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.08803, allocations: 8 kB / 460.8 MB, free: 0.7656 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 9.873e-05/0.08813, allocations: 137.7 kB / 460.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.08818, allocations: 23.72 kB / 461 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.08823, allocations: 26.19 kB / 461 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.08824, allocations: 4 kB / 461 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.08825, allocations: 3.984 kB / 461 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.08826, allocations: 4 kB / 461 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.08891, allocations: 0.5413 MB / 461.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.08893, allocations: 0 / 461.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.08927, allocations: 67.91 kB / 461.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.08929, allocations: 0 / 461.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.08931, allocations: 11.98 kB / 461.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.08931, allocations: 0 / 461.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.08932, allocations: 7.922 kB / 461.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.08984, allocations: 371.4 kB / 462 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.08994, allocations: 108.8 kB / 462.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.08997, allocations: 4 kB / 462.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.09011, allocations: 8 kB / 462.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.09018, allocations: 23.91 kB / 462.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.09019, allocations: 4 kB / 462.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.09034, allocations: 172.5 kB / 462.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09034, allocations: 0 / 462.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.09059, allocations: 44 kB / 462.4 MB, free: 15.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 9.781e-05/0.0907, allocations: 99.23 kB / 462.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.09102, allocations: 163.8 kB / 462.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.09103, allocations: 0 / 462.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.09119, allocations: 83.89 kB / 462.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.09159, allocations: 40.36 kB / 462.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.09275, allocations: 0.8437 MB / 463.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.09308, allocations: 0.752 MB / 464.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.09315, allocations: 19.44 kB / 464.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of SimCode: time 1.623e-06/0.09316, allocations: 0 / 464.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of Templates: time 0.003775/0.09694, allocations: 2.555 MB / 466.9 MB, free: 10.5 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.TestElectrical3CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3CalcHelperMain.o] Error 1