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.0009477/0.0009477, allocations: 98.62 kB / 18.01 MB, free: 5.734 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.001333/0.001333, allocations: 177.3 kB / 18.91 MB, free: 4.871 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.629/1.629, allocations: 223.3 MB / 242.9 MB, free: 92 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.229/0.229, allocations: 44.25 MB / 338.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 8 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0006301/0.1354, allocations: 201.3 kB / 473.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.1387, allocations: 2.303 MB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.047e-05/0.1387, allocations: 0 / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.1387, allocations: 0 / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/0.1387, allocations: 4 kB / 475.4 MB, free: 10.84 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.002329/0.1411, allocations: 1.012 MB / 476.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.601e-05/0.1411, allocations: 4 kB / 476.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.1412, allocations: 4 kB / 476.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.1412, allocations: 0 / 476.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.1412, allocations: 3.984 kB / 476.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.712e-06/0.1412, allocations: 0 / 476.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.1427, allocations: 0.9599 MB / 477.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.1427, allocations: 3.938 kB / 477.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1427, allocations: 33.69 kB / 477.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.1431, allocations: 259.5 kB / 477.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1431, allocations: 4 kB / 477.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1431, allocations: 0 / 477.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1431, allocations: 0 / 477.7 MB, free: 8.555 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.0004554/0.1436, allocations: 421.2 kB / 478.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1437, allocations: 12.03 kB / 478.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1437, allocations: 0.9375 kB / 478.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1438, allocations: 160.4 kB / 478.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1439, allocations: 4.375 kB / 478.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1439, allocations: 384 / 478.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.144, allocations: 49.92 kB / 478.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.144, allocations: 0 / 478.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.144, allocations: 0 / 478.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.144, allocations: 3.984 kB / 478.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.1441, allocations: 4 kB / 478.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1442, allocations: 145.7 kB / 478.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.234e-05/0.1442, allocations: 22.52 kB / 478.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.1443, allocations: 8.953 kB / 478.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.1443, allocations: 3.984 kB / 478.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.1443, allocations: 64.14 kB / 478.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1444, allocations: 0 / 478.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.1445, allocations: 63.41 kB / 478.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1446, allocations: 77.11 kB / 478.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.45e-05/0.1446, allocations: 89.98 kB / 478.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1447, allocations: 37.69 kB / 478.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.1447, allocations: 80.14 kB / 478.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1447, allocations: 0 / 478.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.1448, allocations: 9.719 kB / 478.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1449, allocations: 310.8 kB / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/0.1449, allocations: 0 / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.1449, allocations: 4 kB / 479.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/0.145, allocations: 68.27 kB / 479.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.145, allocations: 0 / 479.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.498e-05/0.1451, allocations: 63.39 kB / 479.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.1451, allocations: 37.64 kB / 479.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1451, allocations: 0 / 479.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1451, allocations: 0 / 479.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1451, allocations: 0 / 479.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1451, allocations: 0 / 479.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.1452, allocations: 288 / 479.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1452, allocations: 3.938 kB / 479.4 MB, free: 6.574 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/0.1453, allocations: 139.6 kB / 479.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.1453, allocations: 7.922 kB / 479.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.553e-05/0.1453, allocations: 11.08 kB / 479.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-06/0.1453, allocations: 0 / 479.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.1453, allocations: 8 kB / 479.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1453, allocations: 0 / 479.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.1454, allocations: 145.6 kB / 479.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1454, allocations: 0 / 479.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1455, allocations: 3.938 kB / 479.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1455, allocations: 7.922 kB / 479.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1455, allocations: 8 kB / 479.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1455, allocations: 3.938 kB / 479.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1455, allocations: 0 / 479.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.1456, allocations: 90.75 kB / 479.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.1456, allocations: 81.09 kB / 479.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1457, allocations: 3.938 kB / 479.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-06/0.1457, allocations: 0 / 479.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.1457, allocations: 4.031 kB / 479.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1457, allocations: 4 kB / 479.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.1457, allocations: 75.28 kB / 480 MB, free: 5.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1457, allocations: 0 / 480 MB, free: 5.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.1461, allocations: 132 kB / 480.1 MB, free: 5.754 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 (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.0006978/0.1469, allocations: 365.7 kB / 480.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.373e-05/0.147, allocations: 63.33 kB / 480.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.147, allocations: 0 / 480.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.147, allocations: 55.41 kB / 480.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1471, allocations: 7.625 kB / 480.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.1473, allocations: 100.5 kB / 480.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1476, allocations: 0.6809 MB / 481.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.1476, allocations: 7.438 kB / 481.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1477, allocations: 0 / 481.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of Templates: time 0.006232/0.1539, allocations: 3.612 MB / 485 MB, free: 0.7852 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++ -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/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/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