Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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 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.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.0008982/0.0008981, allocations: 89.64 kB / 16.33 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.001008/0.001008, allocations: 183.6 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.53/1.53, allocations: 205.4 MB / 223.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05695/0.05695, 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.0004877/0.0004877, allocations: 16 kB / 347.4 MB, free: 19.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0804/0.0809, allocations: 51.11 MB / 398.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0004301/0.08136, allocations: 214.1 kB / 398.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.08161, allocations: 107.7 kB / 398.9 MB, free: 448 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.119e-05/0.08163, allocations: 0 / 398.9 MB, free: 448 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.136e-06/0.08165, allocations: 3.938 kB / 398.9 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.08182, allocations: 19.98 kB / 398.9 MB, free: 424 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.713e-06/0.08183, allocations: 4 kB / 398.9 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 1.686e-05/0.08185, allocations: 0 / 398.9 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.076e-05/0.08189, allocations: 4 kB / 398.9 MB, free: 416 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-06/0.0819, allocations: 0 / 398.9 MB, free: 416 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.08199, allocations: 19.91 kB / 398.9 MB, free: 396 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-06/0.082, allocations: 0 / 398.9 MB, free: 396 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.324e-06/0.082, allocations: 0 / 398.9 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-06/0.08201, allocations: 0 / 398.9 MB, free: 396 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.327e-05/0.08203, allocations: 29.64 kB / 398.9 MB, free: 360 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 1.328e-05/0.08205, allocations: 4 kB / 398.9 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.08206, allocations: 4 kB / 398.9 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08207, allocations: 4 kB / 399 MB, free: 348 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.445e-06/0.08208, allocations: 0 / 399 MB, free: 348 kB / 286.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.0001927/0.08227, allocations: 303.4 kB / 399.2 MB, free: 16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.08231, allocations: 12.08 kB / 399.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.833e-05/0.08233, allocations: 4 kB / 399.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.467e-05/0.08242, allocations: 163.1 kB / 399.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.08243, allocations: 0 / 399.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.08244, allocations: 0 / 399.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.144e-05/0.08252, allocations: 55.31 kB / 399.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-06/0.08253, allocations: 0 / 399.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-06/0.08254, allocations: 0 / 399.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-06/0.08255, allocations: 0 / 399.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.08257, allocations: 4 kB / 399.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.08287, allocations: 471.6 kB / 399.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.77e-05/0.08294, allocations: 165.1 kB / 400.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.08298, allocations: 80.14 kB / 400.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.08301, allocations: 79.28 kB / 400.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.08306, allocations: 109.9 kB / 400.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.08306, allocations: 4 kB / 400.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.376e-05/0.08312, allocations: 29.64 kB / 400.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.08319, allocations: 130.7 kB / 400.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.08326, allocations: 97.77 kB / 400.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.08327, allocations: 25.7 kB / 400.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.08332, allocations: 88.36 kB / 400.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.08333, allocations: 3.938 kB / 400.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-06/0.08334, allocations: 128 / 400.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.08344, allocations: 314.8 kB / 401 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.08345, allocations: 4 kB / 401 MB, free: 14.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.08346, allocations: 13.7 kB / 401.1 MB, free: 14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.627e-05/0.08349, allocations: 4 kB / 401.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.08349, allocations: 3.953 kB / 401.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.066e-05/0.08359, allocations: 49.64 kB / 401.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.08361, allocations: 4 kB / 401.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.08362, allocations: 7.938 kB / 401.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.08363, allocations: 0 / 401.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.885e-05/0.08367, allocations: 4 kB / 401.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.08368, allocations: 0 / 401.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.0837, allocations: 7.969 kB / 401.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.08371, allocations: 0 / 401.1 MB, free: 13.91 MB / 302.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 7.428e-05/0.08379, allocations: 186.2 kB / 401.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.08386, allocations: 116.9 kB / 401.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.08391, allocations: 104.1 kB / 401.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.573e-05/0.08397, allocations: 184.2 kB / 401.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.838e-05/0.08403, allocations: 180.2 kB / 401.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-05/0.08409, allocations: 176.3 kB / 402.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.08429, allocations: 405.2 kB / 402.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/0.08433, allocations: 105 kB / 402.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.08437, allocations: 112.9 kB / 402.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6e-05/0.08443, allocations: 176.3 kB / 402.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.0845, allocations: 176.3 kB / 403 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.968e-05/0.08456, allocations: 188.2 kB / 403.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.507e-05/0.08463, allocations: 188.3 kB / 403.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.08495, allocations: 0.8417 MB / 404.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.08502, allocations: 186.1 kB / 404.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.08509, allocations: 180.3 kB / 404.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.08517, allocations: 108.9 kB / 404.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.08524, allocations: 176.3 kB / 404.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.08528, allocations: 112.9 kB / 405 MB, free: 9.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.653e-05/0.08531, allocations: 75.28 kB / 405 MB, free: 9.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08532, allocations: 4 kB / 405.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003381/0.08566, allocations: 0 / 405.1 MB, free: 9.73 MB / 302.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 9.528e-05/0.08576, allocations: 166.6 kB / 405.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.381e-05/0.08582, allocations: 4 kB / 405.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.08583, allocations: 0 / 405.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.08584, allocations: 4 kB / 405.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.0862, allocations: 0.534 MB / 405.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001639/0.08637, allocations: 183.7 kB / 405.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.08661, allocations: 0.6731 MB / 406.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.08663, allocations: 7.438 kB / 406.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08663, allocations: 0 / 406.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of Templates: time 0.001338/0.08797, allocations: 335.8 kB / 406.9 MB, free: 7.762 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile make -j1 -f PowerGrids_symb_jac_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_symb_jac_PowerGrids.Functions.Test.TestTimeConstantsCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstantsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstantsCalcHelperMain.o] Error 1