Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 89.28 kB / 16.66 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.002318/0.002318, allocations: 180.4 kB / 17.57 MB, free: 5.824 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.043/2.043, allocations: 205.4 MB / 223.8 MB, free: 13.05 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.2863/0.2863, allocations: 43.6 MB / 315.6 MB, free: 412 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.0005727/0.0005727, allocations: 21.44 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1624, allocations: 58.87 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0007526/0.1632, allocations: 221 kB / 444.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1652, allocations: 1.258 MB / 445.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.1652, allocations: 0 / 445.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.1652, allocations: 0 / 445.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.1654, allocations: 15.98 kB / 445.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1665, allocations: 199 kB / 445.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.055e-05/0.1666, allocations: 7.938 kB / 445.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.1666, allocations: 4 kB / 445.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/0.1667, allocations: 0 / 445.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.1667, allocations: 15.91 kB / 445.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.1668, allocations: 0 / 445.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.1696, allocations: 0.6139 MB / 446.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1696, allocations: 0 / 446.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.1697, allocations: 29.7 kB / 446.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.17, allocations: 127.7 kB / 446.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.17, allocations: 0 / 446.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.17, allocations: 0 / 446.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.17, allocations: 0 / 446.6 MB, free: 2.762 MB / 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.0004057/0.1704, allocations: 377.2 kB / 446.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1705, allocations: 8.031 kB / 446.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.1705, allocations: 8.875 kB / 447 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1706, allocations: 168.4 kB / 447.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1706, allocations: 384 / 447.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1707, allocations: 4.375 kB / 447.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1708, allocations: 33.83 kB / 447.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1708, allocations: 3.938 kB / 447.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1708, allocations: 0 / 447.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1708, allocations: 3.938 kB / 447.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.1709, allocations: 4 kB / 447.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.171, allocations: 149.7 kB / 447.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.492e-05/0.1711, allocations: 26.5 kB / 447.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.1711, allocations: 8.953 kB / 447.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.1711, allocations: 0 / 447.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.1711, allocations: 60.2 kB / 447.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1711, allocations: 4 kB / 447.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002009/0.1713, allocations: 63.39 kB / 447.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.1714, allocations: 89.05 kB / 447.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.1715, allocations: 89.86 kB / 447.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.1715, allocations: 25.7 kB / 447.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.1715, allocations: 84.14 kB / 447.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.1716, allocations: 0 / 447.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.1716, allocations: 9.719 kB / 447.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.1717, allocations: 323.1 kB / 448.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.1717, allocations: 0 / 448.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.1717, allocations: 4 kB / 448.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.53e-05/0.1718, allocations: 60.27 kB / 448.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1718, allocations: 0 / 448.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.021e-05/0.1719, allocations: 67.25 kB / 448.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.1719, allocations: 33.69 kB / 448.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1719, allocations: 3.938 kB / 448.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1719, allocations: 4.094 kB / 448.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.1719, allocations: 0 / 448.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1719, allocations: 0 / 448.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.172, allocations: 4 kB / 448.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.172, allocations: 4 kB / 448.3 MB, free: 0.8008 MB / 318.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 7.939e-05/0.1721, allocations: 135.5 kB / 448.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.1721, allocations: 7.938 kB / 448.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.1721, allocations: 3.125 kB / 448.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1721, allocations: 3.984 kB / 448.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1721, allocations: 4 kB / 448.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1721, allocations: 0 / 448.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.475e-05/0.1722, allocations: 149.6 kB / 448.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1722, allocations: 0 / 448.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-06/0.1722, allocations: 3.938 kB / 448.6 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1722, allocations: 0 / 448.6 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1723, allocations: 3.984 kB / 448.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1723, allocations: 0 / 448.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1723, allocations: 4 kB / 448.6 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.1724, allocations: 94.78 kB / 448.7 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.1724, allocations: 88.97 kB / 448.7 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1724, allocations: 4 kB / 448.7 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.1725, allocations: 0 / 448.7 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.1725, allocations: 3.984 kB / 448.7 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1725, allocations: 4 kB / 448.8 MB, free: 196 kB / 318.1 MB Notification: Performance of sorting global known variables: time 2.71e-05/0.1725, allocations: 75.28 kB / 448.8 MB, free: 120 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1725, allocations: 128 / 448.8 MB, free: 120 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.1728, allocations: 63.98 kB / 448.9 MB, free: 56 kB / 318.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.0007848/0.1736, allocations: 340.3 kB / 449.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1738, allocations: 59.41 kB / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1738, allocations: 0 / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.264e-05/0.1738, allocations: 59.39 kB / 449.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.174, allocations: 11.94 kB / 449.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.1743, allocations: 108.3 kB / 449.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1746, allocations: 0.6731 MB / 450.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.1746, allocations: 7.438 kB / 450.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1746, allocations: 0 / 450.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Templates: time 0.004867/0.1795, allocations: 1.658 MB / 451.8 MB, free: 13.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFilesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestFilesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestFilesCalcHelperMain.o] Error 1