Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001193, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 178.8 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2435/0.2435, allocations: 14.22 MB / 305.9 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 4 kB / 370.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 53.91 MB / 424.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0005723/0.1297, allocations: 202.4 kB / 424.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003012/0.13, allocations: 107.7 kB / 424.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.13, allocations: 3.938 kB / 424.6 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.888e-06/0.1301, allocations: 4 kB / 424.6 MB, free: 468 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.1303, allocations: 19.91 kB / 424.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.1303, allocations: 0 / 424.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.875e-05/0.1303, allocations: 4 kB / 424.6 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.1304, allocations: 0 / 424.6 MB, free: 444 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.264e-05/0.1304, allocations: 0 / 424.6 MB, free: 444 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1305, allocations: 15.92 kB / 424.6 MB, free: 428 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-06/0.1306, allocations: 4 kB / 424.6 MB, free: 424 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-06/0.1306, allocations: 0 / 424.6 MB, free: 424 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-06/0.1306, allocations: 0 / 424.6 MB, free: 424 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.1306, allocations: 25.7 kB / 424.6 MB, free: 392 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 2.39e-05/0.1306, allocations: 3.984 kB / 424.7 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1306, allocations: 0 / 424.7 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1306, allocations: 0 / 424.7 MB, free: 388 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1307, allocations: 0 / 424.7 MB, free: 388 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002978/0.131, allocations: 315.4 kB / 425 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.131, allocations: 8.562 kB / 425 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.131, allocations: 11.95 kB / 425 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2739/0.4049, allocations: 159.1 kB / 425.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.405, allocations: 0.5 kB / 425.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.405, allocations: 2.078 kB / 425.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.4051, allocations: 40.39 kB / 425.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.4051, allocations: 1.125 kB / 425.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.4051, allocations: 0 / 425.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4052, allocations: 6.297 kB / 425.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.4052, allocations: 9.219 kB / 425.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.4055, allocations: 462.2 kB / 425.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.173e-05/0.4055, allocations: 173.4 kB / 425.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.4055, allocations: 81.45 kB / 425.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4056, allocations: 77.95 kB / 426 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.4056, allocations: 109.1 kB / 426.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4056, allocations: 0 / 426.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.31e-05/0.4057, allocations: 30.19 kB / 426.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4057, allocations: 135.9 kB / 426.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.4058, allocations: 97.41 kB / 426.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.4058, allocations: 27.05 kB / 426.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.4058, allocations: 88.11 kB / 426.4 MB, free: 36.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-06/0.4059, allocations: 0.5625 kB / 426.4 MB, free: 36.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.4059, allocations: 0.6562 kB / 426.4 MB, free: 36.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.4059, allocations: 317.8 kB / 426.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.4059, allocations: 0 / 426.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.406, allocations: 15 kB / 426.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.961e-05/0.406, allocations: 3.938 kB / 426.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.406, allocations: 0 / 426.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001016/0.4061, allocations: 45.8 kB / 426.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4061, allocations: 4.188 kB / 426.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4061, allocations: 1.25 kB / 426.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4062, allocations: 1.625 kB / 426.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.4062, allocations: 3.156 kB / 426.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4062, allocations: 8.578 kB / 426.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.4062, allocations: 1.594 kB / 426.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.4063, allocations: 3.781 kB / 426.8 MB, free: 35.73 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/0.4063, allocations: 183.6 kB / 427 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.4064, allocations: 108.4 kB / 427.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.4064, allocations: 111 kB / 427.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.4064, allocations: 177.2 kB / 427.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-05/0.4065, allocations: 184.3 kB / 427.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.783e-05/0.4065, allocations: 183.1 kB / 427.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.4067, allocations: 407.5 kB / 428.2 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.4067, allocations: 101.7 kB / 428.3 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.4067, allocations: 113.2 kB / 428.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.612e-05/0.4067, allocations: 180.6 kB / 428.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.4068, allocations: 178.6 kB / 428.7 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.021e-05/0.4068, allocations: 191 kB / 428.9 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.346e-05/0.4068, allocations: 181.1 kB / 429.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.677e-05/0.4069, allocations: 308.1 kB / 429.4 MB, free: 33.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.407, allocations: 187.5 kB / 429.6 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.407, allocations: 185.4 kB / 429.8 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.4071, allocations: 108.6 kB / 429.9 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.4071, allocations: 180.5 kB / 430 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.4071, allocations: 101 kB / 430.1 MB, free: 32.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.723e-05/0.4072, allocations: 77.81 kB / 430.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4072, allocations: 0 / 430.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.4074, allocations: 1.219 kB / 430.2 MB, free: 32.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.555e-05/0.4075, allocations: 180.1 kB / 430.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.672e-05/0.4075, allocations: 5.062 kB / 430.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4075, allocations: 0 / 430.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.4075, allocations: 0 / 430.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.4078, allocations: 0.523 MB / 430.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.408, allocations: 185 kB / 431.1 MB, free: 31.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.4081, allocations: 0.6707 MB / 431.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.4081, allocations: 7.438 kB / 431.8 MB, free: 30.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4082, allocations: 0 / 431.8 MB, free: 30.64 MB / 350.1 MB Notification: Performance of Templates: time 0.001382/0.4095, allocations: 336.7 kB / 432.1 MB, free: 30.64 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstantsCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstantsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstantsCalcHelperMain.o] Error 1