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.001719/0.001719, allocations: 103.8 kB / 16.52 MB, free: 6.66 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.001748/0.001747, allocations: 199.2 kB / 17.44 MB, free: 6.059 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.865/1.865, allocations: 205.1 MB / 223.3 MB, free: 12.43 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.2583/0.2583, allocations: 43.52 MB / 314.2 MB, free: 0.75 MB / 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.001396/0.001396, allocations: 73.05 kB / 382.7 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1546, allocations: 57.79 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.002523/0.1572, allocations: 0.5621 MB / 441 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.1599, allocations: 1.434 MB / 442.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.16, allocations: 0 / 442.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.1601, allocations: 0 / 442.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.1601, allocations: 7.938 kB / 442.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008079/0.1609, allocations: 155.4 kB / 442.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.161, allocations: 11.92 kB / 442.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.1611, allocations: 4 kB / 442.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.015e-05/0.1611, allocations: 0 / 442.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.1612, allocations: 11.98 kB / 442.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1612, allocations: 0 / 442.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.1617, allocations: 259.7 kB / 442.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.1618, allocations: 3.938 kB / 442.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.1618, allocations: 7.984 kB / 442.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.162, allocations: 87.81 kB / 443 MB, free: 4.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.162, allocations: 0 / 443 MB, free: 4.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.162, allocations: 0 / 443 MB, free: 4.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.162, allocations: 0 / 443 MB, free: 4.977 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.0005261/0.1625, allocations: 339.8 kB / 443.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.1626, allocations: 11.97 kB / 443.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.1627, allocations: 4.938 kB / 443.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1628, allocations: 168.3 kB / 443.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1629, allocations: 384 / 443.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1629, allocations: 4.375 kB / 443.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.163, allocations: 38.02 kB / 443.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.163, allocations: 3.938 kB / 443.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1631, allocations: 0 / 443.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1631, allocations: 0 / 443.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.1631, allocations: 4 kB / 443.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.1633, allocations: 145.7 kB / 443.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.524e-05/0.1634, allocations: 26.55 kB / 443.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.1634, allocations: 8.859 kB / 443.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1634, allocations: 0 / 443.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1635, allocations: 38.56 kB / 443.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1635, allocations: 3.938 kB / 443.8 MB, free: 4.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.1637, allocations: 33.69 kB / 443.8 MB, free: 3.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1637, allocations: 59.34 kB / 443.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1638, allocations: 97.98 kB / 444 MB, free: 3.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1639, allocations: 25.7 kB / 444 MB, free: 3.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.1639, allocations: 84.14 kB / 444.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1639, allocations: 3.906 kB / 444.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.164, allocations: 9.719 kB / 444.1 MB, free: 3.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1641, allocations: 314.8 kB / 444.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.1641, allocations: 4 kB / 444.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-06/0.1641, allocations: 0 / 444.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.1642, allocations: 17.05 kB / 444.4 MB, free: 3.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1642, allocations: 0 / 444.4 MB, free: 3.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.616e-05/0.1643, allocations: 33.7 kB / 444.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1643, allocations: 11.88 kB / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1643, allocations: 0 / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1643, allocations: 0 / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.1644, allocations: 7.984 kB / 444.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1644, allocations: 0 / 444.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.1644, allocations: 0 / 444.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1645, allocations: 4 kB / 444.5 MB, free: 3.281 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 9.282e-05/0.1646, allocations: 113.8 kB / 444.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.1646, allocations: 7.938 kB / 444.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.1647, allocations: 44.81 kB / 444.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1648, allocations: 0 / 444.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1648, allocations: 0 / 444.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1648, allocations: 4.031 kB / 444.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.1649, allocations: 153.7 kB / 444.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1649, allocations: 0 / 444.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.1649, allocations: 0 / 444.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1649, allocations: 3.938 kB / 444.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.165, allocations: 3.938 kB / 444.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.165, allocations: 4 kB / 444.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.165, allocations: 3.938 kB / 444.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.636e-05/0.165, allocations: 57.14 kB / 444.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.1651, allocations: 85.03 kB / 444.9 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1651, allocations: 3.938 kB / 444.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.1652, allocations: 0 / 444.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.1652, allocations: 11.98 kB / 445 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1653, allocations: 0 / 445 MB, free: 2.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.675e-05/0.1653, allocations: 75.28 kB / 445 MB, free: 2.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1653, allocations: 4 kB / 445 MB, free: 2.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1656, allocations: 39.98 kB / 445.1 MB, free: 2.574 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.0003294/0.1659, allocations: 139.3 kB / 445.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.1661, allocations: 11.94 kB / 445.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1661, allocations: 0 / 445.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.582e-05/0.1661, allocations: 33.69 kB / 445.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.1663, allocations: 0 / 445.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.1666, allocations: 116.3 kB / 445.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1669, allocations: 0.6811 MB / 446.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.1669, allocations: 7.438 kB / 446.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1669, allocations: 0 / 446.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of Templates: time 0.003351/0.1703, allocations: 0.8974 MB / 447 MB, free: 0.6211 MB / 318.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