Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000993/0.000993, allocations: 88.06 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 203.6 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2461/0.2461, allocations: 45.92 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005178, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.188, allocations: 63.46 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007113/0.1888, allocations: 247 kB / 482.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003959/0.1892, allocations: 150.1 kB / 482.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.1893, allocations: 8 kB / 482.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1893, allocations: 0 / 482.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1895, allocations: 27.91 kB / 482.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.1896, allocations: 0 / 482.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.624e-05/0.1896, allocations: 15.92 kB / 482.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.164e-05/0.1897, allocations: 8 kB / 482.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.781e-05/0.1897, allocations: 11.91 kB / 482.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.1898, allocations: 15.92 kB / 482.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1898, allocations: 4 kB / 482.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.19, allocations: 43.95 kB / 482.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-06/0.19, allocations: 3.938 kB / 482.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.19, allocations: 33.7 kB / 482.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.887e-05/0.1901, allocations: 27.95 kB / 482.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.1901, allocations: 0 / 482.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1901, allocations: 0 / 482.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1901, allocations: 0 / 482.7 MB, free: 4.836 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003528/0.1905, allocations: 331.7 kB / 483 MB, free: 4.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1905, allocations: 11.97 kB / 483 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.1906, allocations: 7.906 kB / 483 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1908, allocations: 170.9 kB / 483.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1908, allocations: 8 kB / 483.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1908, allocations: 4 kB / 483.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.191, allocations: 57.67 kB / 483.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.191, allocations: 0 / 483.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.191, allocations: 0 / 483.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.191, allocations: 0 / 483.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1912, allocations: 59.89 kB / 483.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.1914, allocations: 165.6 kB / 483.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1916, allocations: 90.48 kB / 483.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.1917, allocations: 32.84 kB / 483.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004012/0.1921, allocations: 247.3 kB / 483.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.1922, allocations: 46.78 kB / 483.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.1922, allocations: 0 / 483.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002584/0.1924, allocations: 109.5 kB / 484 MB, free: 3.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1925, allocations: 55.41 kB / 484.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.1926, allocations: 89.86 kB / 484.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1926, allocations: 33.69 kB / 484.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.1927, allocations: 84.14 kB / 484.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.1927, allocations: 31.55 kB / 484.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1927, allocations: 0 / 484.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1929, allocations: 322.8 kB / 484.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.1929, allocations: 12 kB / 484.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.193, allocations: 24.11 kB / 484.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.193, allocations: 20 kB / 484.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.193, allocations: 0 / 484.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001205/0.1931, allocations: 82.19 kB / 484.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1932, allocations: 4 kB / 484.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1932, allocations: 4 kB / 484.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1932, allocations: 0 / 484.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1933, allocations: 16.08 kB / 484.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1933, allocations: 11.86 kB / 484.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.1934, allocations: 11.84 kB / 484.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1934, allocations: 4 kB / 484.8 MB, free: 2.461 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 (10): * Single equations (assignments): 10 * 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 8.886e-05/0.1935, allocations: 121.7 kB / 484.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.1935, allocations: 4 kB / 484.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.1937, allocations: 101.6 kB / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1937, allocations: 0 / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1938, allocations: 0 / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1938, allocations: 0 / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.194, allocations: 173.5 kB / 485.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.194, allocations: 0 / 485.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.1941, allocations: 19.98 kB / 485.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1941, allocations: 0 / 485.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1941, allocations: 8 kB / 485.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1941, allocations: 0 / 485.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1941, allocations: 0 / 485.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.1943, allocations: 109 kB / 485.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.1943, allocations: 84.97 kB / 485.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1944, allocations: 4 kB / 485.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.1944, allocations: 4 kB / 485.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.1944, allocations: 7.984 kB / 485.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1944, allocations: 4 kB / 485.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.1945, allocations: 75.28 kB / 485.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.856e-06/0.1945, allocations: 0 / 485.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001973/0.1947, allocations: 19.94 kB / 485.5 MB, free: 1.637 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 (10): * Single equations (assignments): 10 * 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 0.0001806/0.1949, allocations: 111.7 kB / 485.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.195, allocations: 64.12 kB / 485.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.195, allocations: 0 / 485.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.1951, allocations: 27.98 kB / 485.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.1952, allocations: 4 kB / 485.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.1957, allocations: 180.2 kB / 485.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.196, allocations: 0.6809 MB / 486.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.196, allocations: 19.44 kB / 486.6 MB, free: 500 kB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.196, allocations: 0 / 486.6 MB, free: 500 kB / 350.1 MB Notification: Performance of Templates: time 0.00272/0.1988, allocations: 0.7971 MB / 487.4 MB, free: 15.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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 OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctionsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctionsCalcHelperMain.o] Error 1