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.0008702/0.000876, allocations: 97.14 kB / 16.33 MB, free: 5.949 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.0008286/0.0008286, allocations: 186.2 kB / 17.22 MB, free: 5.883 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.663/1.663, allocations: 205.4 MB / 223.4 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4538/0.4538, allocations: 43.54 MB / 315.2 MB, free: 8.773 MB / 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.0005065/0.0005065, allocations: 18.97 kB / 384.5 MB, free: 8.066 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1347, allocations: 58.85 MB / 443.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0006428/0.1354, allocations: 204.5 kB / 443.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.139, allocations: 2.173 MB / 445.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.1391, allocations: 0 / 445.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.1391, allocations: 0 / 445.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.177e-06/0.1391, allocations: 0 / 445.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.1418, allocations: 0.9001 MB / 446.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.883e-05/0.1418, allocations: 0 / 446.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.485e-05/0.1419, allocations: 0 / 446.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.1419, allocations: 0 / 446.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.646e-05/0.1419, allocations: 0 / 446.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.142, allocations: 8 kB / 446.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.1434, allocations: 0.8936 MB / 447.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-06/0.1434, allocations: 0 / 447.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.1435, allocations: 25.7 kB / 447.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.1438, allocations: 263.5 kB / 447.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1439, allocations: 0 / 447.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1439, allocations: 3.938 kB / 447.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1439, allocations: 0 / 447.9 MB, free: 8.617 MB / 382.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.0004131/0.1443, allocations: 425 kB / 448.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1443, allocations: 8.031 kB / 448.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1444, allocations: 7.953 kB / 448.3 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.1445, allocations: 159.1 kB / 448.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1445, allocations: 0 / 448.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.1445, allocations: 0 / 448.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.731e-05/0.1446, allocations: 37.62 kB / 448.5 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1446, allocations: 0 / 448.5 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1447, allocations: 0 / 448.5 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1447, allocations: 4 kB / 448.5 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.636e-05/0.1447, allocations: 11.94 kB / 448.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.1449, allocations: 146 kB / 448.6 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.1449, allocations: 18.58 kB / 448.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.1449, allocations: 12.94 kB / 448.7 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.1449, allocations: 0 / 448.7 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.145, allocations: 60.2 kB / 448.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.145, allocations: 4 kB / 448.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001879/0.1452, allocations: 67.31 kB / 448.8 MB, free: 7.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.1453, allocations: 77.11 kB / 448.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.639e-05/0.1453, allocations: 93.84 kB / 449 MB, free: 7.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1453, allocations: 29.7 kB / 449 MB, free: 7.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.1454, allocations: 80.14 kB / 449.1 MB, free: 7.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.1454, allocations: 3.938 kB / 449.1 MB, free: 7.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.1454, allocations: 0 / 449.1 MB, free: 7.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1456, allocations: 318.9 kB / 449.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.1456, allocations: 7.938 kB / 449.4 MB, free: 6.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.1456, allocations: 4 kB / 449.4 MB, free: 6.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.1456, allocations: 25.7 kB / 449.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1456, allocations: 0 / 449.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.716e-05/0.1457, allocations: 67.33 kB / 449.5 MB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.1457, allocations: 29.7 kB / 449.5 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1458, allocations: 0 / 449.5 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.1458, allocations: 0 / 449.5 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1458, allocations: 4.094 kB / 449.5 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1458, allocations: 4 kB / 449.5 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.1458, allocations: 0 / 449.5 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1458, allocations: 0 / 449.5 MB, free: 6.688 MB / 382.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 9.598e-05/0.1459, allocations: 147.5 kB / 449.7 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.1459, allocations: 0 / 449.7 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.17e-05/0.146, allocations: 7.109 kB / 449.7 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.146, allocations: 3.938 kB / 449.7 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.146, allocations: 0 / 449.7 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.146, allocations: 4 kB / 449.7 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.75e-05/0.1461, allocations: 149.6 kB / 449.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1461, allocations: 0 / 449.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1461, allocations: 0 / 449.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1461, allocations: 0 / 449.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1461, allocations: 0 / 449.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1461, allocations: 7.969 kB / 449.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1461, allocations: 0 / 449.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.928e-05/0.1462, allocations: 98.73 kB / 449.9 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.1463, allocations: 77.11 kB / 450 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1463, allocations: 3.984 kB / 450 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.1463, allocations: 4 kB / 450 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.1463, allocations: 0 / 450 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1464, allocations: 4 kB / 450 MB, free: 6.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.499e-05/0.1464, allocations: 75.28 kB / 450.1 MB, free: 6.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1464, allocations: 0 / 450.1 MB, free: 6.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.1468, allocations: 140 kB / 450.2 MB, free: 5.871 MB / 382.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.0006891/0.1475, allocations: 374.1 kB / 450.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.375e-05/0.1476, allocations: 67.33 kB / 450.7 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1476, allocations: 0 / 450.7 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.1476, allocations: 55.41 kB / 450.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.1478, allocations: 3.953 kB / 450.7 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001977/0.148, allocations: 108.4 kB / 450.8 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1483, allocations: 0.6731 MB / 451.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.172e-05/0.1483, allocations: 7.438 kB / 451.5 MB, free: 4.516 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1483, allocations: 0 / 451.5 MB, free: 4.516 MB / 382.1 MB Notification: Performance of Templates: time 0.006539/0.1549, allocations: 3.616 MB / 455.1 MB, free: 0.8945 MB / 382.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++ 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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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