Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 93.61 kB / 16.67 MB, free: 6.586 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.001501/0.001501, allocations: 176.1 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 1.94/1.94, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.2763/0.2763, allocations: 43.59 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.0005607/0.0005607, allocations: 17.47 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1604, allocations: 58.88 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0006884/0.1612, allocations: 204.7 kB / 444.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.1641, allocations: 2.333 MB / 446.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.098e-05/0.1642, allocations: 4 kB / 446.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.1642, allocations: 0 / 446.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.628e-06/0.1642, allocations: 0 / 446.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1662, allocations: 1.02 MB / 447.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.792e-05/0.1663, allocations: 4 kB / 447.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.1663, allocations: 3.984 kB / 447.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.1664, allocations: 0 / 447.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.771e-05/0.1664, allocations: 11.92 kB / 447.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.251e-06/0.1664, allocations: 0 / 447.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.1677, allocations: 0.956 MB / 448.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.1677, allocations: 0 / 448.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1678, allocations: 25.7 kB / 448.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.1681, allocations: 267.8 kB / 448.9 MB, free: 340 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1681, allocations: 0 / 448.9 MB, free: 340 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1681, allocations: 0 / 448.9 MB, free: 340 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1681, allocations: 0 / 448.9 MB, free: 340 kB / 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.0004346/0.1686, allocations: 429.2 kB / 449.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1686, allocations: 8.031 kB / 449.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.1687, allocations: 8.828 kB / 449.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1688, allocations: 160.4 kB / 449.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1688, allocations: 4.375 kB / 449.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1688, allocations: 384 / 449.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.169, allocations: 37.95 kB / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.169, allocations: 4 kB / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.169, allocations: 0 / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.169, allocations: 0 / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.169, allocations: 0 / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.1692, allocations: 149.7 kB / 449.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.986e-05/0.1693, allocations: 22.55 kB / 449.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.1693, allocations: 8.859 kB / 449.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.471e-06/0.1693, allocations: 0 / 449.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.1694, allocations: 72.19 kB / 449.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.1694, allocations: 0 / 449.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002079/0.1696, allocations: 67.39 kB / 449.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.1696, allocations: 77.11 kB / 449.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.1697, allocations: 89.86 kB / 450 MB, free: 15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1697, allocations: 25.7 kB / 450 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1698, allocations: 84.27 kB / 450.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1699, allocations: 0 / 450.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.1699, allocations: 9.719 kB / 450.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1701, allocations: 318.8 kB / 450.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.1701, allocations: 0 / 450.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.1701, allocations: 0 / 450.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.1701, allocations: 72.19 kB / 450.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1702, allocations: 0 / 450.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.208e-05/0.1702, allocations: 67.41 kB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.1703, allocations: 33.64 kB / 450.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1703, allocations: 0 / 450.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1703, allocations: 0 / 450.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.726e-06/0.1703, allocations: 3.984 kB / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1703, allocations: 4 kB / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.1704, allocations: 0 / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1704, allocations: 0 / 450.6 MB, free: 14.34 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.1706, allocations: 139.5 kB / 450.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-06/0.1706, allocations: 11.97 kB / 450.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.1706, allocations: 3.125 kB / 450.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.1706, allocations: 0 / 450.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1706, allocations: 0 / 450.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1707, allocations: 3.938 kB / 450.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.1708, allocations: 149.7 kB / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1708, allocations: 0 / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1708, allocations: 0 / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1708, allocations: 3.938 kB / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1708, allocations: 0 / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1708, allocations: 0 / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1708, allocations: 4 kB / 450.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.171, allocations: 90.83 kB / 451 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.1711, allocations: 77.11 kB / 451.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1711, allocations: 7.938 kB / 451.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.1711, allocations: 4 kB / 451.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.1711, allocations: 7.922 kB / 451.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1711, allocations: 0 / 451.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.593e-05/0.1712, allocations: 83.34 kB / 451.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1712, allocations: 0 / 451.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004286/0.1716, allocations: 144 kB / 451.3 MB, free: 13.52 MB / 334.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 (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.000726/0.1723, allocations: 356.8 kB / 451.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1725, allocations: 59.41 kB / 451.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1725, allocations: 0 / 451.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.1725, allocations: 55.41 kB / 451.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1727, allocations: 3.984 kB / 451.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.1729, allocations: 104.4 kB / 451.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1732, allocations: 0.6733 MB / 452.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.1733, allocations: 7.438 kB / 452.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1733, allocations: 0 / 452.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Templates: time 0.006509/0.1798, allocations: 3.612 MB / 456.2 MB, free: 8.566 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.o] Error 1