Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2474/0.2474, allocations: 45.91 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003234, allocations: 8 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1715, allocations: 63.46 MB / 482.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007073/0.1723, allocations: 254.9 kB / 482.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.1731, allocations: 385.8 kB / 482.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.1732, allocations: 4 kB / 482.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.1732, allocations: 3.938 kB / 482.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.186e-05/0.1732, allocations: 0 / 482.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.1736, allocations: 95.77 kB / 482.8 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.637e-05/0.1737, allocations: 23.92 kB / 482.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1737, allocations: 0 / 482.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.405e-05/0.1738, allocations: 23.91 kB / 482.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.1738, allocations: 11.92 kB / 482.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1738, allocations: 4 kB / 482.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.1741, allocations: 155.8 kB / 483.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.1741, allocations: 15.92 kB / 483.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.1742, allocations: 25.7 kB / 483.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1743, allocations: 79.88 kB / 483.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1743, allocations: 0 / 483.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1743, allocations: 0 / 483.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1743, allocations: 0 / 483.2 MB, free: 4.312 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004204/0.1748, allocations: 355.5 kB / 483.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1748, allocations: 12.03 kB / 483.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1748, allocations: 7.984 kB / 483.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.175, allocations: 167 kB / 483.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.175, allocations: 7.938 kB / 483.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.175, allocations: 7.906 kB / 483.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1752, allocations: 53.67 kB / 483.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1752, allocations: 0 / 483.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1752, allocations: 4 kB / 483.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1752, allocations: 0 / 483.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.74e-05/0.1753, allocations: 23.98 kB / 483.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1755, allocations: 177.6 kB / 484 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1757, allocations: 54.55 kB / 484 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.1758, allocations: 28.84 kB / 484.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.1761, allocations: 121.1 kB / 484.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.1761, allocations: 38.48 kB / 484.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.1761, allocations: 0 / 484.2 MB, free: 3.094 MB / 350.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.111/0.2871, allocations: 6.617 MB / 490.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.2872, allocations: 55.41 kB / 490.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.2873, allocations: 109.8 kB / 491 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.2873, allocations: 29.7 kB / 491 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.2874, allocations: 84.14 kB / 491.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.2875, allocations: 67 kB / 491.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.2875, allocations: 0 / 491.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2876, allocations: 326.8 kB / 491.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.2882, allocations: 239.8 kB / 491.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.2887, allocations: 247.8 kB / 492 MB, free: 11.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000963/0.2897, allocations: 295.8 kB / 492.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2897, allocations: 4 kB / 492.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001665/0.2913, allocations: 0.6323 MB / 492.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2914, allocations: 4 kB / 492.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.2914, allocations: 8 kB / 492.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2914, allocations: 0 / 492.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.292, allocations: 115.8 kB / 493 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.292, allocations: 0 / 493 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.2924, allocations: 43.91 kB / 493.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.2925, allocations: 31.94 kB / 493.1 MB, free: 10.14 MB / 366.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 (19): * Single equations (assignments): 19 * 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.0001803/0.2927, allocations: 117.8 kB / 493.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.2928, allocations: 7.906 kB / 493.2 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.2949, allocations: 0.7593 MB / 494 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2949, allocations: 0 / 494 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2949, allocations: 3.938 kB / 494 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2949, allocations: 0 / 494 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.2987, allocations: 1.223 MB / 495.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.2987, allocations: 7.953 kB / 495.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.2992, allocations: 108.5 kB / 495.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.2992, allocations: 4 kB / 495.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.2993, allocations: 27.95 kB / 495.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.2993, allocations: 4 kB / 495.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2993, allocations: 256 / 495.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3008, allocations: 0.6193 MB / 496 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.3009, allocations: 89.02 kB / 496.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.301, allocations: 12 kB / 496.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.3014, allocations: 35.91 kB / 496.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.3014, allocations: 15.98 kB / 496.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.3015, allocations: 31.89 kB / 496.1 MB, free: 6.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.3015, allocations: 87.28 kB / 496.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3015, allocations: 0 / 496.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001892/0.3034, allocations: 0.6406 MB / 496.9 MB, free: 6.207 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002674/0.3061, allocations: 303.5 kB / 497.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3072, allocations: 479.6 kB / 497.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3073, allocations: 0 / 497.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.3077, allocations: 220 kB / 497.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3081, allocations: 19.58 kB / 497.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.3103, allocations: 0.607 MB / 498.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3106, allocations: 0.6929 MB / 499.2 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.3109, allocations: 95.28 kB / 499.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3109, allocations: 4 kB / 499.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of Templates: time 0.02831/0.3392, allocations: 15.98 MB / 0.5032 GB, free: 3.746 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2DerivativesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2DerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2DerivativesCalcHelperMain.o] Error 1