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.0006284/0.0006284, allocations: 93.47 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.0006765/0.0006766, allocations: 174.9 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.132/1.132, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2236/0.2236, 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.0004533/0.0004533, allocations: 14.19 kB / 392.5 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07962/0.08008, allocations: 60.26 MB / 452.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002738/0.08285, allocations: 2.785 MB / 455.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.08424, allocations: 0.8424 MB / 456.3 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.08441, allocations: 4 kB / 456.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.08455, allocations: 35.64 kB / 456.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.08484, allocations: 119 kB / 456.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.08505, allocations: 95.91 kB / 456.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00046/0.08552, allocations: 474.3 kB / 457.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.08573, allocations: 112.1 kB / 457.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.08593, allocations: 163.2 kB / 457.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.08615, allocations: 187 kB / 457.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.08619, allocations: 20 kB / 457.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.08627, allocations: 20 kB / 457.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.08633, allocations: 75.55 kB / 457.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.08649, allocations: 220.5 kB / 457.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.08674, allocations: 283.2 kB / 458.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.08675, allocations: 0 / 458.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08676, allocations: 0 / 458.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.08677, allocations: 0 / 458.1 MB, free: 3.75 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.001021/0.08779, allocations: 0.6817 MB / 458.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.08783, allocations: 12.03 kB / 458.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.08795, allocations: 52.38 kB / 458.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.08831, allocations: 350 kB / 459.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.08834, allocations: 25.03 kB / 459.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.08841, allocations: 40.36 kB / 459.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.08885, allocations: 293.7 kB / 459.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.08887, allocations: 7.906 kB / 459.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.08891, allocations: 19.98 kB / 459.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.08892, allocations: 8 kB / 459.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.08929, allocations: 210.1 kB / 459.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.09073, allocations: 1.12 MB / 460.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.09109, allocations: 250.9 kB / 461.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.09128, allocations: 128.8 kB / 461.3 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.09131, allocations: 0 / 461.3 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.09134, allocations: 42.55 kB / 461.3 MB, free: 356 kB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.062e-06/0.09134, allocations: 0 / 461.3 MB, free: 356 kB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.00161/0.09296, allocations: 0.9413 MB / 462.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.093, allocations: 55.41 kB / 462.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.09333, allocations: 357.7 kB / 462.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.09337, allocations: 37.69 kB / 462.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.09351, allocations: 204.4 kB / 462.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.09359, allocations: 126.1 kB / 463 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.09365, allocations: 37.7 kB / 463.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.09386, allocations: 354.7 kB / 463.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.09402, allocations: 84.72 kB / 463.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.09426, allocations: 141.7 kB / 463.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.09463, allocations: 244 kB / 463.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.09464, allocations: 0 / 463.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008391/0.09548, allocations: 425.2 kB / 464.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.09551, allocations: 4 kB / 464.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.09552, allocations: 4 kB / 464.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.09605, allocations: 116.9 kB / 464.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.09645, allocations: 95.88 kB / 464.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.09931, allocations: 3.108 MB / 467.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.09952, allocations: 19.98 kB / 467.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.09955, allocations: 8 kB / 467.6 MB, free: 9.594 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.0001472/0.0997, allocations: 153.7 kB / 467.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.09976, allocations: 47.41 kB / 467.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.1002, allocations: 313.9 kB / 468.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1002, allocations: 4 kB / 468.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.1002, allocations: 0 / 468.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1003, allocations: 3.984 kB / 468.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1013, allocations: 0.7558 MB / 468.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1013, allocations: 4 kB / 468.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.1016, allocations: 83.89 kB / 469 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1016, allocations: 0 / 469 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1017, allocations: 4 kB / 469 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1017, allocations: 4 kB / 469 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1017, allocations: 0 / 469 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.1023, allocations: 0.4956 MB / 469.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1024, allocations: 136.6 kB / 469.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.1025, allocations: 4 kB / 469.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.1026, allocations: 12 kB / 469.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.1027, allocations: 23.91 kB / 469.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1027, allocations: 4 kB / 469.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.103, allocations: 259.2 kB / 469.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.103, allocations: 0 / 469.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.1033, allocations: 96 kB / 470 MB, free: 7.109 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 8.701e-05/0.1034, allocations: 103.1 kB / 470.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007571/0.1041, allocations: 442.3 kB / 470.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1042, allocations: 3.938 kB / 470.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1044, allocations: 127.8 kB / 470.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.1048, allocations: 79.64 kB / 470.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1065, allocations: 1.347 MB / 472.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1068, allocations: 0.8074 MB / 472.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.701e-05/0.1069, allocations: 39.42 kB / 472.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1069, allocations: 4 kB / 473 MB, free: 4.09 MB / 350.1 MB Notification: Performance of Templates: time 0.006489/0.1134, allocations: 5.677 MB / 478.6 MB, free: 14.4 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