Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 92.08 kB / 16.67 MB, free: 6.105 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.001914/0.001915, allocations: 179.2 kB / 17.58 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 223.8 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.2772/0.2772, allocations: 43.58 MB / 315.6 MB, free: 424 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.0006384/0.0006384, allocations: 20.38 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.148, allocations: 58.86 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0006616/0.1487, allocations: 204.7 kB / 444.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.1517, allocations: 2.344 MB / 446.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.18e-05/0.1518, allocations: 0 / 446.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.1518, allocations: 0 / 446.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.592e-06/0.1518, allocations: 4 kB / 446.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.1543, allocations: 1.004 MB / 447.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.138e-05/0.1543, allocations: 4 kB / 447.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.1544, allocations: 3.938 kB / 447.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.1544, allocations: 7.984 kB / 447.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.561e-05/0.1544, allocations: 3.938 kB / 447.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-06/0.1545, allocations: 0 / 447.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.1561, allocations: 0.956 MB / 448.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.1561, allocations: 4 kB / 448.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.1561, allocations: 29.69 kB / 448.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.1567, allocations: 263.8 kB / 448.9 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1567, allocations: 0 / 448.9 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1567, allocations: 4 kB / 448.9 MB, free: 340 kB / 318.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1567, 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.000529/0.1573, allocations: 433.2 kB / 449.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1573, allocations: 8.031 kB / 449.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1574, allocations: 8.844 kB / 449.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1575, allocations: 160.4 kB / 449.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1575, allocations: 384 / 449.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1576, allocations: 4.375 kB / 449.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1577, allocations: 34 kB / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.1577, allocations: 4 kB / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1577, allocations: 0 / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1577, allocations: 4 kB / 449.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.005e-05/0.1578, allocations: 7.938 kB / 449.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.158, allocations: 141.7 kB / 449.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.52e-05/0.158, allocations: 18.61 kB / 449.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.1581, allocations: 4.859 kB / 449.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.1581, allocations: 0 / 449.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/0.1581, allocations: 72.19 kB / 449.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1582, allocations: 4.062 kB / 449.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002371/0.1584, allocations: 59.34 kB / 449.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.1585, allocations: 81.11 kB / 449.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.1585, allocations: 89.86 kB / 450 MB, free: 15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1586, allocations: 25.7 kB / 450 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.1586, allocations: 80.14 kB / 450.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1586, allocations: 4.125 kB / 450.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.1587, allocations: 13.7 kB / 450.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1588, allocations: 318.8 kB / 450.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.1589, allocations: 4 kB / 450.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-06/0.1589, allocations: 0 / 450.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.349e-05/0.1589, allocations: 60.27 kB / 450.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.159, allocations: 3.938 kB / 450.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.112e-05/0.1591, allocations: 67.33 kB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.1591, allocations: 43.92 kB / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1591, allocations: 3.938 kB / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1592, allocations: 0 / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1592, allocations: 0 / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1592, allocations: 0 / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.1592, allocations: 4 kB / 450.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1592, allocations: 0 / 450.6 MB, free: 14.33 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.0001132/0.1593, allocations: 135.5 kB / 450.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.1593, allocations: 11.92 kB / 450.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/0.1594, allocations: 11.11 kB / 450.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1594, allocations: 0 / 450.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1594, allocations: 0 / 450.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1594, allocations: 0 / 450.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.1595, allocations: 141.7 kB / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1595, allocations: 0 / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-07/0.1595, allocations: 4 kB / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1595, allocations: 3.938 kB / 450.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1596, allocations: 0 / 450.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1596, allocations: 3.984 kB / 450.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1596, allocations: 3.938 kB / 450.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1597, allocations: 90.88 kB / 451 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.1598, allocations: 77.11 kB / 451.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1598, allocations: 7.922 kB / 451.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.1598, allocations: 0 / 451.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.1598, allocations: 12 kB / 451.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1598, allocations: 0 / 451.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.1599, allocations: 79.28 kB / 451.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1599, allocations: 4.031 kB / 451.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006058/0.1605, allocations: 136 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.0009306/0.1615, allocations: 354.7 kB / 451.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1616, allocations: 67.33 kB / 451.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1616, allocations: 0 / 451.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/0.1616, allocations: 55.41 kB / 451.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.1618, allocations: 14.58 kB / 451.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.1621, allocations: 100.4 kB / 451.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1625, allocations: 0.6731 MB / 452.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.1625, allocations: 11.56 kB / 452.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1625, allocations: 0 / 452.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of Templates: time 0.007988/0.1705, allocations: 3.604 MB / 456.2 MB, free: 8.562 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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.TestComplexOperationsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperationsCalcHelperMain.o] Error 1