Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008412/0.0008411, allocations: 90.98 kB / 18 MB, free: 5.734 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.00117/0.00117, allocations: 177.6 kB / 18.91 MB, free: 4.871 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.508/1.508, allocations: 223.3 MB / 242.9 MB, free: 14.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2419/0.2419, allocations: 44.25 MB / 338.3 MB, free: 2.375 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004256, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0006596/0.1446, allocations: 209.3 kB / 473.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.148, allocations: 2.023 MB / 475.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.1481, allocations: 0 / 475.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.1481, allocations: 0 / 475.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.734e-05/0.1481, allocations: 0 / 475.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.1493, allocations: 278.7 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.98e-05/0.1493, allocations: 8 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.1494, allocations: 7.922 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.1494, allocations: 0 / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03751/0.1869, allocations: 3.2 MB / 478.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.187, allocations: 0 / 478.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1871, allocations: 11.98 kB / 478.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.1871, allocations: 4 kB / 478.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.1872, allocations: 25.7 kB / 478.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.1873, allocations: 8 kB / 478.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1873, allocations: 0 / 478.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1873, allocations: 0 / 478.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.1873, allocations: 4 kB / 478.7 MB, free: 8.023 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005143/0.1878, allocations: 315.4 kB / 479 MB, free: 7.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1879, allocations: 12.09 kB / 479 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.1882, allocations: 84.22 kB / 479.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.1884, allocations: 239.7 kB / 479.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.1885, allocations: 154.9 kB / 479.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.1886, allocations: 162.6 kB / 479.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.429e-05/0.1886, allocations: 101 kB / 479.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-05/0.1887, allocations: 75.28 kB / 479.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/0.1888, allocations: 154.5 kB / 479.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.1889, allocations: 150.6 kB / 480.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.1889, allocations: 154.6 kB / 480.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.1893, allocations: 446 kB / 480.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1894, allocations: 169.1 kB / 480.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.1895, allocations: 84.08 kB / 480.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1895, allocations: 79.22 kB / 481 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.1896, allocations: 117.8 kB / 481.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.1896, allocations: 0 / 481.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001032/0.1897, allocations: 25.7 kB / 481.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.1898, allocations: 178.1 kB / 481.3 MB, free: 5.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.19, allocations: 93.86 kB / 481.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.19, allocations: 25.7 kB / 481.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.1901, allocations: 84.27 kB / 481.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-06/0.1901, allocations: 3.984 kB / 481.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.1901, allocations: 9.719 kB / 481.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1902, allocations: 318.8 kB / 481.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/0.1903, allocations: 0 / 481.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.1903, allocations: 17.66 kB / 481.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.1904, allocations: 75.28 kB / 481.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.962e-05/0.1904, allocations: 75.31 kB / 482 MB, free: 4.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.248e-05/0.1905, allocations: 37.64 kB / 482 MB, free: 4.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.1906, allocations: 79.28 kB / 482.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/0.1906, allocations: 79.28 kB / 482.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.977e-05/0.1907, allocations: 158.5 kB / 482.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.1e-05/0.1907, allocations: 75.28 kB / 482.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.238e-05/0.1908, allocations: 162.5 kB / 482.6 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1909, allocations: 79.28 kB / 482.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.191, allocations: 87.27 kB / 482.7 MB, free: 3.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 0.0001613/0.1912, allocations: 260.3 kB / 483 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.1913, allocations: 108.9 kB / 483.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.105e-05/0.1914, allocations: 104.1 kB / 483.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.332e-05/0.1915, allocations: 192.2 kB / 483.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.499e-05/0.1916, allocations: 176.3 kB / 483.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.859e-05/0.1917, allocations: 184.2 kB / 483.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.192, allocations: 401.2 kB / 484.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.689e-05/0.1921, allocations: 105 kB / 484.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.1921, allocations: 104.9 kB / 484.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-05/0.1922, allocations: 184.3 kB / 484.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.253e-05/0.1923, allocations: 184.1 kB / 484.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.964e-05/0.1924, allocations: 176.3 kB / 484.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.837e-05/0.1925, allocations: 180.2 kB / 485 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.1928, allocations: 311.7 kB / 485.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.1929, allocations: 186 kB / 485.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.193, allocations: 184.2 kB / 485.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1931, allocations: 105 kB / 485.8 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.1932, allocations: 184.6 kB / 486 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.1933, allocations: 101 kB / 486.1 MB, free: 112 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.1934, allocations: 79.28 kB / 486.2 MB, free: 32 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1934, allocations: 0 / 486.2 MB, free: 32 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004102/0.1938, allocations: 4 kB / 486.2 MB, free: 28 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/0.194, allocations: 171 kB / 486.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.593e-05/0.194, allocations: 3.938 kB / 486.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.194, allocations: 0 / 486.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.1941, allocations: 0 / 486.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.1946, allocations: 0.5342 MB / 486.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.1949, allocations: 179.7 kB / 487.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1952, allocations: 0.6692 MB / 487.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.1953, allocations: 11.44 kB / 487.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1953, allocations: 0 / 487.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Templates: time 0.002381/0.1977, allocations: 355.7 kB / 488.1 MB, free: 14.04 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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 OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculatorCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculatorCalcHelperMain.o] Error 1