Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000904/0.000904, allocations: 95.62 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2756/0.2756, allocations: 45.92 MB / 344.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 63.47 MB / 482.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006962/0.1611, allocations: 223 kB / 482.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002934/0.1614, allocations: 90.39 kB / 482.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.1614, allocations: 0 / 482.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.1614, allocations: 0 / 482.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.1614, allocations: 0 / 482.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.1616, allocations: 11.98 kB / 482.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.1617, allocations: 11.94 kB / 482.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.1618, allocations: 4 kB / 482.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.302e-05/0.1618, allocations: 7.984 kB / 482.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.1619, allocations: 11.94 kB / 482.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1619, allocations: 0 / 482.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.162, allocations: 35.95 kB / 482.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.162, allocations: 3.938 kB / 482.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.1621, allocations: 29.7 kB / 482.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.638e-05/0.1622, allocations: 15.97 kB / 482.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1622, allocations: 0 / 482.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1622, allocations: 0 / 482.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1622, allocations: 0 / 482.6 MB, free: 4.996 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004089/0.1626, allocations: 323.4 kB / 482.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1627, allocations: 8.562 kB / 482.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.1627, allocations: 4 kB / 482.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1629, allocations: 167 kB / 483.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1629, allocations: 0 / 483.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1629, allocations: 0 / 483.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1631, allocations: 59.33 kB / 483.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1631, allocations: 4 kB / 483.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1631, allocations: 0 / 483.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1631, allocations: 4 kB / 483.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.1632, allocations: 8 kB / 483.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.1636, allocations: 329.2 kB / 483.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.255e-05/0.1636, allocations: 26.5 kB / 483.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.1637, allocations: 20.86 kB / 483.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1637, allocations: 0 / 483.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.1638, allocations: 34.56 kB / 483.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1638, allocations: 0 / 483.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002067/0.164, allocations: 61.66 kB / 483.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.164, allocations: 55.41 kB / 483.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.1642, allocations: 97.84 kB / 483.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1642, allocations: 29.83 kB / 483.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.1642, allocations: 84.14 kB / 483.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.1643, allocations: 11.75 kB / 483.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.1643, allocations: 4 kB / 483.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1644, allocations: 314.8 kB / 484.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.1644, allocations: 7.984 kB / 484.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.1645, allocations: 25.72 kB / 484.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.1645, allocations: 12 kB / 484.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1645, allocations: 0 / 484.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.218e-05/0.1646, allocations: 53.62 kB / 484.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1646, allocations: 4 kB / 484.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1646, allocations: 4 kB / 484.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1647, allocations: 240 / 484.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.1647, allocations: 11.98 kB / 484.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1648, allocations: 0 / 484.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.1648, allocations: 3.906 kB / 484.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1648, allocations: 8 kB / 484.3 MB, free: 3.023 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0001022/0.1649, allocations: 113.8 kB / 484.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1649, allocations: 3.984 kB / 484.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.1651, allocations: 65.12 kB / 484.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1651, allocations: 3.984 kB / 484.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1651, allocations: 0 / 484.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1651, allocations: 0 / 484.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1653, allocations: 165.6 kB / 484.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1653, allocations: 0 / 484.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1653, allocations: 4 kB / 484.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1654, allocations: 8 kB / 484.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1654, allocations: 0 / 484.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1654, allocations: 0 / 484.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1654, allocations: 0 / 484.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1655, allocations: 155.4 kB / 484.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1656, allocations: 85.02 kB / 484.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1656, allocations: 256 / 484.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.868e-05/0.1657, allocations: 4 kB / 484.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1657, allocations: 7.984 kB / 484.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1657, allocations: 4 kB / 484.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.876e-05/0.1658, allocations: 75.28 kB / 485 MB, free: 2.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1658, allocations: 3.938 kB / 485 MB, free: 2.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.166, allocations: 12 kB / 485 MB, free: 2.227 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 (5): * Single equations (assignments): 5 * 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.0001525/0.1662, allocations: 103.2 kB / 485.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.1663, allocations: 27.92 kB / 485.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.1663, allocations: 4.156 kB / 485.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.1663, allocations: 16 kB / 485.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1665, allocations: 4.641 kB / 485.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.1668, allocations: 136.4 kB / 485.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1672, allocations: 0.6731 MB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.1672, allocations: 11.44 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1672, allocations: 0 / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Templates: time 0.002082/0.1693, allocations: 0.5699 MB / 486.5 MB, free: 0.6133 MB / 350.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivativeCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivativeCalcHelperMain.o] Error 1