Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002035/0.002035, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 45.91 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 11.98 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1604, allocations: 63.46 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0006235/0.161, allocations: 222.9 kB / 482.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1628, allocations: 1.365 MB / 483.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.1628, allocations: 0 / 483.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.1628, allocations: 0 / 483.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.1629, allocations: 0 / 483.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.1634, allocations: 155.1 kB / 483.8 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.443e-05/0.1635, allocations: 8 kB / 483.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.1635, allocations: 3.984 kB / 483.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.1636, allocations: 8 kB / 483.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.1636, allocations: 3.938 kB / 483.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.1636, allocations: 0 / 483.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.164, allocations: 267.6 kB / 484.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.1641, allocations: 0 / 484.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.1641, allocations: 29.7 kB / 484.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1642, allocations: 83.75 kB / 484.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.1643, allocations: 4 kB / 484.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1643, allocations: 4 kB / 484.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1643, allocations: 0 / 484.2 MB, free: 3.246 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000346/0.1646, allocations: 331.4 kB / 484.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1647, allocations: 8.031 kB / 484.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.1647, allocations: 0 / 484.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1648, allocations: 171 kB / 484.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1649, allocations: 0 / 484.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.1649, allocations: 0 / 484.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.165, allocations: 37.69 kB / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.165, allocations: 0 / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.165, allocations: 0 / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.165, allocations: 0 / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.224e-05/0.165, allocations: 8 kB / 484.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.1652, allocations: 157.6 kB / 484.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.1653, allocations: 22.59 kB / 485 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.1653, allocations: 8.797 kB / 485 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.1653, allocations: 4 kB / 485 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1653, allocations: 30.56 kB / 485 MB, free: 2.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1653, allocations: 4.062 kB / 485 MB, free: 2.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.1655, allocations: 41.62 kB / 485.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.1655, allocations: 51.41 kB / 485.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.1656, allocations: 93.86 kB / 485.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1656, allocations: 25.95 kB / 485.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.1657, allocations: 84.14 kB / 485.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1657, allocations: 7.844 kB / 485.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.1657, allocations: 4 kB / 485.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1659, allocations: 318.8 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.1659, allocations: 0 / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.1659, allocations: 0 / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.1659, allocations: 7.984 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1659, allocations: 0 / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.822e-05/0.166, allocations: 37.77 kB / 485.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.166, allocations: 4 kB / 485.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.166, allocations: 3.938 kB / 485.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.166, allocations: 0 / 485.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.553e-05/0.1661, allocations: 4 kB / 485.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1661, allocations: 0 / 485.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.1661, allocations: 0 / 485.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1661, allocations: 0 / 485.7 MB, free: 1.594 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 (1): * Single equations (assignments): 1 * 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.695e-05/0.1662, allocations: 118.1 kB / 485.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.1662, allocations: 8.031 kB / 485.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1664, allocations: 36.83 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1664, allocations: 0 / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1664, allocations: 0 / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1664, allocations: 3.984 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1665, allocations: 157.6 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1665, allocations: 0 / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1665, allocations: 4.031 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1665, allocations: 0 / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1665, allocations: 0 / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1665, allocations: 7.922 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1665, allocations: 3.938 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.254e-05/0.1666, allocations: 57.14 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.1667, allocations: 88.97 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1667, allocations: 0 / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.66e-05/0.1668, allocations: 8.016 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.1668, allocations: 4 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1668, allocations: 4 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.799e-05/0.1668, allocations: 75.28 kB / 486.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1668, allocations: 0 / 486.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000246/0.1671, allocations: 40 kB / 486.3 MB, free: 0.8906 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002741/0.1674, allocations: 139.8 kB / 486.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.1675, allocations: 12.03 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1675, allocations: 0 / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.1675, allocations: 29.7 kB / 486.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.1677, allocations: 6.688 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.1679, allocations: 112.6 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1682, allocations: 0.6731 MB / 487.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.1682, allocations: 7.438 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1682, allocations: 128 / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Templates: time 0.002363/0.1706, allocations: 0.913 MB / 488.2 MB, free: 14.93 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3CalcHelperMain.o] Error 1