Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 89.31 kB / 17.63 MB, free: 5.719 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.0009885/0.0009885, allocations: 182.4 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.3 MB / 242.5 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2365/0.2365, allocations: 44.22 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 12 kB / 410.2 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 61.93 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0008132/0.1592, allocations: 221.3 kB / 472.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.1613, allocations: 1.326 MB / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.1614, allocations: 0 / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1614, allocations: 0 / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.1614, allocations: 3.938 kB / 473.7 MB, free: 12.18 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:4:3-36:22:writable] Warning: Pure function ‘ModelicaTest.Math.ScalarFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.1619, allocations: 91.78 kB / 473.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.825e-05/0.1619, allocations: 0 / 473.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.162, allocations: 3.984 kB / 473.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.162, allocations: 0 / 473.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.475e-05/0.162, allocations: 11.94 kB / 473.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1621, allocations: 0 / 473.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1622, allocations: 31.97 kB / 473.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-06/0.1623, allocations: 0 / 473.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.1623, allocations: 29.7 kB / 473.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.631e-05/0.1624, allocations: 23.95 kB / 473.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1624, allocations: 0 / 473.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1624, allocations: 0 / 473.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1624, allocations: 0 / 473.9 MB, free: 11.98 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.000415/0.1629, allocations: 345.1 kB / 474.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.1629, allocations: 12.03 kB / 474.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.163, allocations: 0 / 474.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1631, allocations: 167.1 kB / 474.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1631, allocations: 4 kB / 474.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1631, allocations: 0 / 474.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.1633, allocations: 33.59 kB / 474.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1633, allocations: 0 / 474.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1633, allocations: 4 kB / 474.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.1633, allocations: 0 / 474.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.1633, allocations: 7.922 kB / 474.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.1635, allocations: 145.7 kB / 474.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.1636, allocations: 18.61 kB / 474.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.1636, allocations: 8.859 kB / 474.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.1636, allocations: 0 / 474.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.1637, allocations: 68.16 kB / 474.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1637, allocations: 4.062 kB / 474.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001914/0.1639, allocations: 67.38 kB / 474.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.164, allocations: 81.11 kB / 474.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.164, allocations: 89.86 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.164, allocations: 29.7 kB / 475 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.1641, allocations: 80.14 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.1641, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.1641, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1643, allocations: 310.8 kB / 475.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.1643, allocations: 12.11 kB / 475.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-06/0.1643, allocations: 0 / 475.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.365e-05/0.1644, allocations: 29.64 kB / 475.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1644, allocations: 0 / 475.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.336e-05/0.1645, allocations: 63.34 kB / 475.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.1645, allocations: 33.7 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1645, allocations: 4 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1646, allocations: 7.938 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1646, allocations: 0 / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1646, allocations: 4.094 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.1646, allocations: 0 / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1646, allocations: 0 / 475.5 MB, free: 10.13 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001517/0.1648, allocations: 136.1 kB / 475.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.1648, allocations: 0 / 475.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.1648, allocations: 7.078 kB / 475.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1648, allocations: 3.953 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1648, allocations: 0 / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1649, allocations: 4 kB / 475.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.165, allocations: 149.7 kB / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.165, allocations: 0 / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-06/0.165, allocations: 0 / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.165, allocations: 3.938 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.165, allocations: 0 / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1651, allocations: 4 kB / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1651, allocations: 7.891 kB / 475.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.1652, allocations: 90.73 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1653, allocations: 81.14 kB / 476 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1653, allocations: 4 kB / 476 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.1654, allocations: 0 / 476 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.1654, allocations: 4 kB / 476 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1654, allocations: 3.953 kB / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.486e-05/0.1654, allocations: 75.28 kB / 476.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1654, allocations: 0 / 476.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1657, allocations: 15.98 kB / 476.1 MB, free: 9.441 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: 1 (result) * Number of discrete states: 1 (result) * 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: 1 * 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 Backend phase and start with SimCode phase: time 0.0003891/0.1661, allocations: 143 kB / 476.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.1662, allocations: 67.28 kB / 476.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1662, allocations: 0 / 476.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.1662, allocations: 55.41 kB / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1664, allocations: 0 / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.1666, allocations: 100.5 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.167, allocations: 0.6733 MB / 477.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.167, allocations: 7.438 kB / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.167, allocations: 3.938 kB / 477.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of Templates: time 0.002377/0.1694, allocations: 0.6429 MB / 477.8 MB, free: 7.672 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctionsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctionsCalcHelperMain.o] Error 1