Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001057, allocations: 92.06 kB / 16.66 MB, free: 5.684 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.001353/0.001353, allocations: 178.7 kB / 17.57 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.301/0.301, allocations: 43.58 MB / 315.6 MB, free: 500 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.0007124/0.0007129, allocations: 19.38 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1725, allocations: 58.86 MB / 444.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0007956/0.1734, allocations: 232.6 kB / 444.3 MB, free: 5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1752, allocations: 1.427 MB / 445.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.1752, allocations: 0 / 445.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.1753, allocations: 0 / 445.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.1753, allocations: 3.938 kB / 445.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.176, allocations: 154.3 kB / 445.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.431e-05/0.1761, allocations: 11.92 kB / 445.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.1762, allocations: 4 kB / 445.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.1762, allocations: 4 kB / 445.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.1763, allocations: 7.984 kB / 445.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1764, allocations: 0 / 445.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.1768, allocations: 259.7 kB / 446.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.1769, allocations: 7.938 kB / 446.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.1769, allocations: 37.67 kB / 446.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1771, allocations: 79.83 kB / 446.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.1771, allocations: 0 / 446.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.1771, allocations: 0 / 446.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1772, allocations: 4 kB / 446.3 MB, free: 2.992 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000594/0.1778, allocations: 343.4 kB / 446.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/0.1778, allocations: 8.031 kB / 446.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.1779, allocations: 4.938 kB / 446.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1781, allocations: 160.4 kB / 446.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1781, allocations: 384 / 446.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.1781, allocations: 384 / 446.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1783, allocations: 38 kB / 446.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1783, allocations: 4 kB / 446.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1783, allocations: 4 kB / 446.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1784, allocations: 0 / 446.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.995e-05/0.1784, allocations: 7.938 kB / 446.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.1786, allocations: 149.7 kB / 447 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.1787, allocations: 22.55 kB / 447 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.1787, allocations: 4.859 kB / 447 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.1787, allocations: 3.984 kB / 447 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.1787, allocations: 46.56 kB / 447.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1788, allocations: 3.938 kB / 447.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002068/0.179, allocations: 33.69 kB / 447.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.179, allocations: 59.34 kB / 447.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.1791, allocations: 89.86 kB / 447.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1792, allocations: 25.7 kB / 447.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.1792, allocations: 88.39 kB / 447.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.1792, allocations: 7.906 kB / 447.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.1793, allocations: 9.719 kB / 447.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.1794, allocations: 310.8 kB / 447.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.1794, allocations: 0 / 447.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.1794, allocations: 7.984 kB / 447.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.1794, allocations: 8.859 kB / 447.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1794, allocations: 0 / 447.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.975e-05/0.1795, allocations: 37.7 kB / 447.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1795, allocations: 15.97 kB / 447.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1795, allocations: 0 / 447.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1795, allocations: 0 / 447.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.1796, allocations: 0 / 447.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1796, allocations: 3.984 kB / 447.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.1797, allocations: 0 / 447.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1797, allocations: 7.984 kB / 447.8 MB, free: 1.293 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 (1): * Single equations (assignments): 1 * 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 8.021e-05/0.1798, allocations: 109.8 kB / 447.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-06/0.1798, allocations: 3.938 kB / 447.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.18, allocations: 44.83 kB / 447.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.18, allocations: 7.984 kB / 447.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.18, allocations: 0 / 447.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.18, allocations: 0 / 447.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1801, allocations: 141.7 kB / 448.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.1801, allocations: 4 kB / 448.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.1801, allocations: 3.938 kB / 448.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.1802, allocations: 11.95 kB / 448.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1802, allocations: 0 / 448.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1802, allocations: 0 / 448.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1802, allocations: 0 / 448.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.338e-05/0.1803, allocations: 57.14 kB / 448.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.1803, allocations: 81.05 kB / 448.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1804, allocations: 15.86 kB / 448.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.1805, allocations: 4.031 kB / 448.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.1805, allocations: 0 / 448.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1805, allocations: 8 kB / 448.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.498e-05/0.1805, allocations: 75.28 kB / 448.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1806, allocations: 0 / 448.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1808, allocations: 44 kB / 448.4 MB, free: 0.5898 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002797/0.1811, allocations: 139.2 kB / 448.5 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.093e-05/0.1812, allocations: 12.03 kB / 448.5 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1812, allocations: 4 kB / 448.5 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.1812, allocations: 25.7 kB / 448.6 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.1814, allocations: 11.27 kB / 448.6 MB, free: 400 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.1817, allocations: 112.4 kB / 448.7 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.182, allocations: 0.6731 MB / 449.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.182, allocations: 7.438 kB / 449.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.182, allocations: 0 / 449.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Templates: time 0.002823/0.1849, allocations: 0.9026 MB / 450.3 MB, free: 14.64 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3CalcHelperMain.o] Error 1