Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 88.33 kB / 17.63 MB, free: 6.137 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.001529/0.001529, allocations: 184.8 kB / 18.52 MB, free: 5.297 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.562/1.562, allocations: 223.2 MB / 242.5 MB, free: 324 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.2426/0.2426, allocations: 44.22 MB / 337.9 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 9.094 kB / 410.2 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.000761/0.1556, allocations: 197.3 kB / 472.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.1601, allocations: 2.128 MB / 474.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.1602, allocations: 0 / 474.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1602, allocations: 0 / 474.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.01e-05/0.1603, allocations: 0 / 474.5 MB, free: 11.39 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function ‘ModelicaTest.ComplexMath.ComplexFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.00344/0.1637, allocations: 0.9029 MB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.919e-05/0.1638, allocations: 0 / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.876e-05/0.1638, allocations: 0 / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.1639, allocations: 0 / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.1639, allocations: 0 / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.1639, allocations: 3.938 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.166, allocations: 0.9014 MB / 476.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.166, allocations: 4 kB / 476.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.1661, allocations: 29.7 kB / 476.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.1666, allocations: 255.5 kB / 476.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1666, allocations: 4 kB / 476.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1666, allocations: 0 / 476.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1666, allocations: 0 / 476.6 MB, free: 9.285 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.0005764/0.1672, allocations: 421 kB / 477 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.1673, allocations: 16.02 kB / 477 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.1673, allocations: 0 / 477 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1675, allocations: 159.1 kB / 477.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1675, allocations: 4 kB / 477.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1675, allocations: 0 / 477.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1676, allocations: 37.59 kB / 477.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1677, allocations: 0 / 477.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1677, allocations: 3.984 kB / 477.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1677, allocations: 0 / 477.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.1677, allocations: 4 kB / 477.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.1679, allocations: 149.7 kB / 477.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.734e-05/0.168, allocations: 18.58 kB / 477.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.168, allocations: 8.953 kB / 477.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.168, allocations: 0 / 477.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.978e-05/0.1681, allocations: 68.09 kB / 477.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1681, allocations: 0 / 477.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002255/0.1684, allocations: 67.39 kB / 477.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.1684, allocations: 77.11 kB / 477.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.1685, allocations: 89.98 kB / 477.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1685, allocations: 29.7 kB / 477.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.1686, allocations: 80.14 kB / 477.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1686, allocations: 4 kB / 477.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.1686, allocations: 0 / 477.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1688, allocations: 310.8 kB / 478.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.1688, allocations: 0 / 478.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.1688, allocations: 0 / 478.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.1689, allocations: 37.62 kB / 478.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1689, allocations: 4.062 kB / 478.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.788e-05/0.169, allocations: 63.41 kB / 478.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.169, allocations: 29.7 kB / 478.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.169, allocations: 0 / 478.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1691, allocations: 3.953 kB / 478.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.1691, allocations: 0 / 478.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1691, allocations: 3.938 kB / 478.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.1691, allocations: 8.266 kB / 478.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1691, allocations: 0 / 478.3 MB, free: 7.363 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.0001112/0.1693, allocations: 136.1 kB / 478.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.1693, allocations: 4 kB / 478.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.1693, allocations: 7.078 kB / 478.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1693, allocations: 3.953 kB / 478.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1693, allocations: 0 / 478.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1693, allocations: 0 / 478.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.1695, allocations: 153.6 kB / 478.5 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1695, allocations: 8 kB / 478.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.1695, allocations: 0 / 478.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1695, allocations: 0 / 478.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1695, allocations: 4 kB / 478.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1695, allocations: 0 / 478.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1696, allocations: 7.891 kB / 478.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.1697, allocations: 94.73 kB / 478.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.1698, allocations: 81.05 kB / 478.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1698, allocations: 0 / 478.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.1698, allocations: 0 / 478.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.1698, allocations: 4 kB / 478.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1698, allocations: 7.984 kB / 478.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.1699, allocations: 75.28 kB / 478.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1699, allocations: 0 / 478.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006373/0.1705, allocations: 140 kB / 479 MB, free: 6.543 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.0009588/0.1715, allocations: 358.6 kB / 479.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.1716, allocations: 67.34 kB / 479.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1716, allocations: 0 / 479.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.1717, allocations: 55.41 kB / 479.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.1719, allocations: 4.859 kB / 479.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.1722, allocations: 108.5 kB / 479.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1725, allocations: 0.6731 MB / 480.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.1726, allocations: 7.438 kB / 480.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1726, allocations: 0 / 480.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of Templates: time 0.008697/0.1813, allocations: 3.616 MB / 483.8 MB, free: 1.578 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperationsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperationsCalcHelperMain.o] Error 1