Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009465/0.0009466, allocations: 96.17 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.001685/0.001685, allocations: 198.7 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.536/1.536, 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.244/0.244, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003052, allocations: 7.938 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 63.47 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0007382/0.1517, allocations: 211 kB / 482.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1537, allocations: 1.361 MB / 483.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.1538, allocations: 4 kB / 483.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.1538, allocations: 3.938 kB / 483.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.1539, allocations: 3.938 kB / 483.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.1545, allocations: 151 kB / 483.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.1545, allocations: 7.922 kB / 483.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.1546, allocations: 4 kB / 483.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.1546, allocations: 0 / 483.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.1547, allocations: 7.984 kB / 483.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1547, allocations: 0 / 483.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.1552, allocations: 271.6 kB / 484.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.1552, allocations: 7.984 kB / 484.1 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.1552, allocations: 25.7 kB / 484.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1554, allocations: 83.81 kB / 484.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1554, allocations: 0 / 484.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1554, allocations: 0 / 484.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1554, allocations: 0 / 484.2 MB, free: 3.266 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003753/0.1558, allocations: 331.4 kB / 484.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1559, allocations: 12.03 kB / 484.6 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.1559, allocations: 0 / 484.6 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.156, allocations: 167 kB / 484.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1561, allocations: 4 kB / 484.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1561, allocations: 8 kB / 484.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1562, allocations: 37.62 kB / 484.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1563, allocations: 0 / 484.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1563, allocations: 0 / 484.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1563, allocations: 0 / 484.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.574e-05/0.1563, allocations: 8 kB / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.1568, allocations: 240.9 kB / 485 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.885e-05/0.1568, allocations: 26.56 kB / 485.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.1568, allocations: 4.859 kB / 485.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1569, allocations: 3.938 kB / 485.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1569, allocations: 38.62 kB / 485.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1569, allocations: 0 / 485.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001593/0.1571, allocations: 33.69 kB / 485.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1571, allocations: 55.53 kB / 485.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1573, allocations: 105.7 kB / 485.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1573, allocations: 25.7 kB / 485.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/0.1574, allocations: 84.36 kB / 485.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.1574, allocations: 7.906 kB / 485.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.1574, allocations: 0 / 485.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1576, allocations: 314.8 kB / 485.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.1576, allocations: 0 / 485.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.1576, allocations: 30.64 kB / 485.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.212e-05/0.1577, allocations: 7.938 kB / 485.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1577, allocations: 0 / 485.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.133e-05/0.1578, allocations: 49.62 kB / 485.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1578, allocations: 8 kB / 485.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1578, allocations: 0 / 485.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1578, allocations: 4.094 kB / 485.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.1579, allocations: 4 kB / 485.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1579, allocations: 4 kB / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.158, allocations: 7.891 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.158, allocations: 0 / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001295/0.1581, allocations: 113.8 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.1581, allocations: 0 / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.1583, allocations: 48.77 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1583, allocations: 0 / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1583, allocations: 0 / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1583, allocations: 3.984 kB / 486 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.1585, allocations: 153.6 kB / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1585, allocations: 0 / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1585, allocations: 0 / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1585, allocations: 0 / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1586, allocations: 8 kB / 486.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1586, allocations: 0 / 486.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1586, allocations: 4.031 kB / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.1587, allocations: 139.3 kB / 486.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.1588, allocations: 77.11 kB / 486.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1588, allocations: 4 kB / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.616e-05/0.1589, allocations: 4 kB / 486.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.1589, allocations: 7.984 kB / 486.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1589, allocations: 0 / 486.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.692e-05/0.159, allocations: 83.31 kB / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.159, allocations: 0 / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1593, allocations: 40 kB / 486.5 MB, free: 0.6797 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.0003119/0.1596, allocations: 139.8 kB / 486.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.895e-05/0.1597, allocations: 11.94 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1597, allocations: 0 / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.1598, allocations: 25.98 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.16, allocations: 12.02 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.1603, allocations: 116.4 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1607, allocations: 0.6731 MB / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.1607, allocations: 7.438 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1607, allocations: 0 / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Templates: time 0.002937/0.1637, allocations: 0.9208 MB / 488.4 MB, free: 14.7 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3CalcHelperMain.o] Error 1