Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 87.17 kB / 17.63 MB, free: 6.16 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.001731/0.001731, allocations: 183 kB / 18.52 MB, free: 5.32 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.545/1.545, allocations: 223.2 MB / 242.5 MB, free: 332 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.231/0.231, allocations: 44.22 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 11.94 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1549, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0006607/0.1556, allocations: 193.4 kB / 472.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.1592, allocations: 2.136 MB / 474.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.1593, allocations: 0 / 474.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.1593, allocations: 0 / 474.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.392e-06/0.1593, allocations: 0 / 474.5 MB, free: 11.4 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.002602/0.1619, allocations: 0.8958 MB / 475.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.824e-05/0.162, allocations: 4 kB / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.162, allocations: 0 / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.1621, allocations: 0 / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.672e-05/0.1621, allocations: 4 kB / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.1621, allocations: 0 / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.164, allocations: 0.8936 MB / 476.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.424e-06/0.164, allocations: 0 / 476.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.1641, allocations: 33.7 kB / 476.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005918/0.1647, allocations: 259.4 kB / 476.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1647, allocations: 0 / 476.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1647, allocations: 4 kB / 476.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1647, allocations: 0 / 476.6 MB, free: 9.309 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.0005359/0.1652, allocations: 425 kB / 477 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1653, allocations: 12.03 kB / 477 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1653, allocations: 0 / 477 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1655, allocations: 163.1 kB / 477.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1655, allocations: 0 / 477.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.1655, allocations: 0 / 477.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.1656, allocations: 41.58 kB / 477.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1656, allocations: 0 / 477.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1656, allocations: 0 / 477.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1656, allocations: 4 kB / 477.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.1657, allocations: 0 / 477.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1658, allocations: 145.7 kB / 477.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.293e-05/0.1659, allocations: 18.58 kB / 477.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.1659, allocations: 12.83 kB / 477.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1659, allocations: 4.094 kB / 477.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.166, allocations: 72.09 kB / 477.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.166, allocations: 0 / 477.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001898/0.1662, allocations: 59.41 kB / 477.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.1663, allocations: 81.09 kB / 477.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.59e-05/0.1663, allocations: 93.86 kB / 477.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1663, allocations: 25.7 kB / 477.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.1664, allocations: 80.14 kB / 477.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1664, allocations: 4 kB / 477.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1664, allocations: 0 / 477.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1666, allocations: 315 kB / 478.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.1666, allocations: 0 / 478.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.156e-06/0.1666, allocations: 3.938 kB / 478.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.1666, allocations: 29.7 kB / 478.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1666, allocations: 0 / 478.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.1668, allocations: 59.39 kB / 478.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.1668, allocations: 37.7 kB / 478.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1668, allocations: 0 / 478.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1668, allocations: 8.047 kB / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.522e-06/0.1668, allocations: 0 / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.1669, allocations: 0 / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1669, allocations: 288 / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1669, allocations: 4 kB / 478.2 MB, free: 7.387 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.0001075/0.167, allocations: 132.1 kB / 478.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.167, allocations: 3.938 kB / 478.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.545e-05/0.1671, allocations: 15.06 kB / 478.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1671, allocations: 3.953 kB / 478.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1671, allocations: 4 kB / 478.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1671, allocations: 0 / 478.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.1672, allocations: 145.6 kB / 478.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1672, allocations: 0 / 478.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.1672, allocations: 0 / 478.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1673, allocations: 4 kB / 478.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1673, allocations: 11.92 kB / 478.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1673, allocations: 0 / 478.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1673, allocations: 3.953 kB / 478.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.1674, allocations: 98.73 kB / 478.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1675, allocations: 85.03 kB / 478.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1675, allocations: 0 / 478.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.1675, allocations: 0 / 478.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.1675, allocations: 8 kB / 478.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1675, allocations: 3.953 kB / 478.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.615e-05/0.1676, allocations: 75.28 kB / 478.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1676, allocations: 0 / 478.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005675/0.1682, allocations: 136 kB / 479 MB, free: 6.562 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.0008733/0.1691, allocations: 360.8 kB / 479.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.1692, allocations: 71.33 kB / 479.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1692, allocations: 0 / 479.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.1693, allocations: 55.41 kB / 479.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1694, allocations: 4 kB / 479.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.1697, allocations: 92.47 kB / 479.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1701, allocations: 0.677 MB / 480.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.1701, allocations: 7.438 kB / 480.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1701, allocations: 4.062 kB / 480.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of Templates: time 0.00821/0.1784, allocations: 3.612 MB / 483.8 MB, free: 1.602 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.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.TestComplexFunctionsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.o] Error 1