Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008711/0.0008709, allocations: 90.12 kB / 16.34 MB, free: 6.344 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.0009808/0.0009812, allocations: 178 kB / 17.23 MB, free: 6.238 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.545/1.545, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05531/0.05531, allocations: 14.16 MB / 285.8 MB, free: 7.137 MB / 238.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.0004705/0.0004705, allocations: 15.94 kB / 349.4 MB, free: 17.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09917, allocations: 51.12 MB / 400.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.00192/0.1011, allocations: 1.488 MB / 402.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.1015, allocations: 163.5 kB / 402.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.757e-05/0.1016, allocations: 4 kB / 402.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1017, allocations: 11.86 kB / 402.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1018, allocations: 19.86 kB / 402.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.009e-05/0.1019, allocations: 31.91 kB / 402.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1021, allocations: 107.6 kB / 402.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1022, allocations: 45.45 kB / 402.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.1023, allocations: 31.8 kB / 402.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.1023, allocations: 35.73 kB / 402.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1024, allocations: 0 / 402.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.1024, allocations: 4 kB / 402.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.1024, allocations: 15.92 kB / 402.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.1024, allocations: 37.64 kB / 402.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.122e-05/0.1025, allocations: 71.86 kB / 402.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1026, allocations: 0 / 402.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1026, allocations: 4 kB / 402.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1026, allocations: 0 / 402.6 MB, free: 12.64 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004562/0.103, allocations: 399.1 kB / 403 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1031, allocations: 12.02 kB / 403 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.1031, allocations: 15.81 kB / 403 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1033, allocations: 210.8 kB / 403.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/0.1034, allocations: 8.141 kB / 403.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1035, allocations: 19.98 kB / 403.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.1037, allocations: 131.2 kB / 403.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1038, allocations: 0 / 403.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1038, allocations: 8 kB / 403.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1038, allocations: 0 / 403.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.104, allocations: 75.89 kB / 403.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.1046, allocations: 0.603 MB / 404.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.1049, allocations: 115.8 kB / 404.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.105, allocations: 46.69 kB / 404.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.105, allocations: 0 / 404.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1051, allocations: 38.52 kB / 404.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1051, allocations: 0 / 404.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003297/0.1054, allocations: 117.7 kB / 404.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.1055, allocations: 114.7 kB / 404.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1056, allocations: 150.4 kB / 404.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1057, allocations: 29.64 kB / 404.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.1057, allocations: 124 kB / 404.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.1058, allocations: 23.66 kB / 404.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.1058, allocations: 0 / 404.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1059, allocations: 322.8 kB / 405.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.106, allocations: 27.98 kB / 405.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1061, allocations: 77.97 kB / 405.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.1062, allocations: 31.92 kB / 405.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1062, allocations: 0 / 405.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002379/0.1065, allocations: 117.5 kB / 405.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1065, allocations: 8 kB / 405.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1065, allocations: 7.938 kB / 405.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1065, allocations: 7.938 kB / 405.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1066, allocations: 27.98 kB / 405.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1067, allocations: 4.156 kB / 405.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.1067, allocations: 15.84 kB / 405.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1067, allocations: 4 kB / 405.5 MB, free: 9.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001003/0.1069, allocations: 126.9 kB / 405.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.1069, allocations: 11.91 kB / 405.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.1069, allocations: 16.31 kB / 405.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1069, allocations: 3.953 kB / 405.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1069, allocations: 0 / 405.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.107, allocations: 4 kB / 405.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1072, allocations: 209.6 kB / 405.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1072, allocations: 0 / 405.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1073, allocations: 23.98 kB / 405.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1073, allocations: 0 / 405.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1073, allocations: 320 / 405.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1073, allocations: 8 kB / 405.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1073, allocations: 3.953 kB / 405.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.1086, allocations: 1.22 MB / 407.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.1086, allocations: 81.02 kB / 407.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1087, allocations: 7.938 kB / 407.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-05/0.1088, allocations: 11.94 kB / 407.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1088, allocations: 12.08 kB / 407.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1088, allocations: 4 kB / 407.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.422e-05/0.1089, allocations: 107.3 kB / 407.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1089, allocations: 0 / 407.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000314/0.1092, allocations: 23.91 kB / 407.3 MB, free: 7.398 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.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 (7): * Single equations (assignments): 7 * 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 9.058e-05/0.1093, allocations: 103.2 kB / 407.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.1096, allocations: 71.89 kB / 407.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1096, allocations: 0 / 407.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.1097, allocations: 35.92 kB / 407.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.11, allocations: 19.98 kB / 407.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.1106, allocations: 432.3 kB / 408 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.1108, allocations: 0.7089 MB / 408.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.1109, allocations: 11.44 kB / 408.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1109, allocations: 0 / 408.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of Templates: time 0.002835/0.1137, allocations: 1.403 MB / 410.1 MB, free: 4.535 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLagCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLagCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLagCalcHelperMain.o] Error 1