Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001245, allocations: 91.8 kB / 16.67 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 171.9 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2983/0.2983, allocations: 43.58 MB / 315.6 MB, free: 432 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006231/0.0006233, allocations: 16.8 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1515, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001012/0.1526, allocations: 299.7 kB / 444.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.1532, allocations: 133 kB / 444.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.1533, allocations: 0 / 444.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.1533, allocations: 0 / 444.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.1537, allocations: 27.91 kB / 444.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.598e-06/0.1537, allocations: 4 kB / 444.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.252e-05/0.1538, allocations: 23.91 kB / 444.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.1539, allocations: 3.938 kB / 444.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.1539, allocations: 7.938 kB / 444.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.601e-05/0.154, allocations: 19.86 kB / 444.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.154, allocations: 0 / 444.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1542, allocations: 51.94 kB / 444.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.1542, allocations: 8 kB / 444.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.1543, allocations: 41.56 kB / 444.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.1544, allocations: 23.97 kB / 444.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1544, allocations: 0 / 444.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1544, allocations: 0 / 444.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1544, allocations: 3.938 kB / 444.7 MB, free: 4.527 MB / 318.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.0003477/0.1548, allocations: 335.5 kB / 445.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.1548, allocations: 8.031 kB / 445.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1549, allocations: 4.938 kB / 445.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.155, allocations: 168.3 kB / 445.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.155, allocations: 384 / 445.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1551, allocations: 8.375 kB / 445.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1552, allocations: 58.23 kB / 445.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1552, allocations: 192 / 445.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1553, allocations: 3.938 kB / 445.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1553, allocations: 0 / 445.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1554, allocations: 59.89 kB / 445.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.1556, allocations: 173.5 kB / 445.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1558, allocations: 82.55 kB / 445.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.1558, allocations: 32.84 kB / 445.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.1562, allocations: 251.3 kB / 445.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1562, allocations: 39.53 kB / 445.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1563, allocations: 0 / 445.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002619/0.1565, allocations: 109.5 kB / 446 MB, free: 2.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1566, allocations: 55.41 kB / 446.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.1566, allocations: 97.8 kB / 446.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1567, allocations: 29.7 kB / 446.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.1567, allocations: 84.12 kB / 446.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.1568, allocations: 31.47 kB / 446.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.1568, allocations: 18.08 kB / 446.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.1569, allocations: 314.8 kB / 446.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.1569, allocations: 20.11 kB / 446.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.1569, allocations: 19.94 kB / 446.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.573e-05/0.157, allocations: 56.78 kB / 446.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.157, allocations: 0 / 446.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001234/0.1572, allocations: 81.69 kB / 446.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1572, allocations: 4 kB / 446.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1572, allocations: 3.938 kB / 446.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1572, allocations: 0 / 446.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1574, allocations: 19.94 kB / 446.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1574, allocations: 3.984 kB / 446.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.1574, allocations: 11.91 kB / 446.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1574, allocations: 4 kB / 446.9 MB, free: 2.102 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.1575, allocations: 113.8 kB / 447 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.1575, allocations: 4 kB / 447 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.1577, allocations: 101.5 kB / 447.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.1577, allocations: 4 kB / 447.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1578, allocations: 0 / 447.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1578, allocations: 384 / 447.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1579, allocations: 181.6 kB / 447.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1579, allocations: 0 / 447.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.158, allocations: 15.94 kB / 447.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.158, allocations: 7.922 kB / 447.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.158, allocations: 7.938 kB / 447.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.158, allocations: 0 / 447.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.158, allocations: 0 / 447.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.1581, allocations: 113 kB / 447.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.1582, allocations: 77.11 kB / 447.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1582, allocations: 11.92 kB / 447.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.1582, allocations: 4 kB / 447.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.1583, allocations: 4 kB / 447.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1583, allocations: 7.938 kB / 447.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.94e-05/0.1583, allocations: 75.28 kB / 447.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1583, allocations: 0 / 447.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.1585, allocations: 23.98 kB / 447.6 MB, free: 1.258 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.1587, allocations: 107.3 kB / 447.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.1588, allocations: 51.92 kB / 447.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1589, allocations: 0 / 447.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.1589, allocations: 35.92 kB / 447.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.1591, allocations: 11.27 kB / 447.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.1595, allocations: 172.3 kB / 448 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.1597, allocations: 0.6848 MB / 448.7 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.1597, allocations: 11.44 kB / 448.7 MB, free: 124 kB / 318.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1597, allocations: 480 / 448.7 MB, free: 124 kB / 318.1 MB Notification: Performance of Templates: time 0.00304/0.1628, allocations: 0.8007 MB / 449.5 MB, free: 15.32 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctionsCalcHelperMain.o] Error 1