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.0008767/0.0008766, allocations: 96.58 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.0009147/0.0009148, allocations: 188.6 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.696/1.696, allocations: 205.4 MB / 223.4 MB, free: 5.555 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.388/0.388, allocations: 43.55 MB / 315.2 MB, free: 8.898 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.0005765/0.0005766, allocations: 14.97 kB / 384.5 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 58.87 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0006389/0.134, allocations: 204.5 kB / 443.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.1374, allocations: 2.169 MB / 445.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.1374, allocations: 0 / 445.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.1375, allocations: 0 / 445.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.1375, allocations: 0 / 445.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.14, allocations: 0.9 MB / 446.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.801e-05/0.14, allocations: 4 kB / 446.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.731e-05/0.1401, allocations: 3.984 kB / 446.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.1401, allocations: 0 / 446.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.568e-05/0.1401, allocations: 0 / 446.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.1402, allocations: 4 kB / 446.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.1419, allocations: 0.8858 MB / 447.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-06/0.1419, allocations: 7.984 kB / 447.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.1419, allocations: 25.7 kB / 447.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.1425, allocations: 259.5 kB / 447.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1425, allocations: 0 / 447.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1425, allocations: 0 / 447.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1425, allocations: 0 / 447.9 MB, free: 8.566 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.000512/0.143, allocations: 421 kB / 448.3 MB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1431, allocations: 8.031 kB / 448.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.1431, allocations: 3.953 kB / 448.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1432, allocations: 171 kB / 448.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1433, allocations: 0 / 448.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1433, allocations: 0 / 448.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.1434, allocations: 37.64 kB / 448.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1434, allocations: 0 / 448.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1434, allocations: 0 / 448.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1434, allocations: 0 / 448.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.1434, allocations: 7.953 kB / 448.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.1436, allocations: 146 kB / 448.6 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.1436, allocations: 22.58 kB / 448.7 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.1437, allocations: 8.953 kB / 448.7 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-06/0.1437, allocations: 0 / 448.7 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/0.1438, allocations: 64.2 kB / 448.7 MB, free: 7.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1438, allocations: 0 / 448.7 MB, free: 7.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000189/0.144, allocations: 67.3 kB / 448.8 MB, free: 7.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.144, allocations: 77.23 kB / 448.9 MB, free: 7.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.1441, allocations: 93.86 kB / 449 MB, free: 7.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1441, allocations: 29.7 kB / 449 MB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.1441, allocations: 80.14 kB / 449.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1442, allocations: 7.938 kB / 449.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.1442, allocations: 0 / 449.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1443, allocations: 314.8 kB / 449.4 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-06/0.1443, allocations: 3.938 kB / 449.4 MB, free: 6.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.1444, allocations: 4 kB / 449.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.1444, allocations: 33.7 kB / 449.4 MB, free: 6.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1444, allocations: 3.938 kB / 449.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.34e-05/0.1445, allocations: 63.39 kB / 449.5 MB, free: 6.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.1445, allocations: 29.7 kB / 449.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1445, allocations: 0 / 449.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1446, allocations: 3.984 kB / 449.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.1446, allocations: 0 / 449.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1446, allocations: 4 kB / 449.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.1446, allocations: 0 / 449.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1446, allocations: 4 kB / 449.5 MB, free: 6.633 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.341e-05/0.1447, allocations: 155.5 kB / 449.7 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.1447, allocations: 0 / 449.7 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.093e-05/0.1448, allocations: 3.125 kB / 449.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1448, allocations: 0 / 449.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1448, allocations: 0 / 449.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1448, allocations: 0 / 449.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1449, allocations: 153.6 kB / 449.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1449, allocations: 0 / 449.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1449, allocations: 0 / 449.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1449, allocations: 4 kB / 449.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1449, allocations: 0 / 449.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1449, allocations: 3.938 kB / 449.8 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1449, allocations: 0 / 449.8 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1451, allocations: 94.78 kB / 449.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.1451, allocations: 77.11 kB / 450 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1451, allocations: 0 / 450 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/0.1451, allocations: 4 kB / 450 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.1452, allocations: 4.031 kB / 450 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.1452, allocations: 0 / 450 MB, free: 6.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.06e-05/0.1452, allocations: 79.28 kB / 450.1 MB, free: 5.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1452, allocations: 0 / 450.1 MB, free: 5.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004959/0.1457, allocations: 136 kB / 450.2 MB, free: 5.824 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.000737/0.1464, allocations: 366.8 kB / 450.6 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.37e-05/0.1466, allocations: 67.27 kB / 450.7 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1466, allocations: 0 / 450.7 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.054e-05/0.1466, allocations: 55.41 kB / 450.7 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1467, allocations: 3.953 kB / 450.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.1469, allocations: 116.5 kB / 450.8 MB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1472, allocations: 0.6692 MB / 451.5 MB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.1473, allocations: 7.438 kB / 451.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1473, allocations: 0 / 451.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of Templates: time 0.006405/0.1537, allocations: 3.616 MB / 455.1 MB, free: 0.8477 MB / 382.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++ 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.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