Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 106 kB / 16.52 MB, free: 6.664 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.001414/0.001414, allocations: 199.7 kB / 17.44 MB, free: 6.059 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.838/1.838, allocations: 205.1 MB / 223.3 MB, free: 12.52 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.2359/0.2359, allocations: 43.52 MB / 314.1 MB, free: 0.7734 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.001609/0.001609, allocations: 67.09 kB / 382.7 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1513, allocations: 57.8 MB / 440.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001906/0.1533, allocations: 0.5421 MB / 441 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1544, allocations: 0.7671 MB / 441.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.1544, allocations: 0 / 441.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.1545, allocations: 0 / 441.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1546, allocations: 11.92 kB / 441.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.1553, allocations: 45.92 kB / 441.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.909e-05/0.1553, allocations: 4 kB / 441.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.1554, allocations: 0 / 441.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.1554, allocations: 4 kB / 441.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.1555, allocations: 0 / 441.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.1555, allocations: 4 kB / 441.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1556, allocations: 55.95 kB / 441.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1556, allocations: 3.938 kB / 441.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.1556, allocations: 3.984 kB / 441.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1558, allocations: 27.95 kB / 441.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1558, allocations: 0 / 441.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1558, allocations: 0 / 441.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1558, allocations: 0 / 441.9 MB, free: 6.082 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.0003687/0.1562, allocations: 357.2 kB / 442.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1562, allocations: 16.03 kB / 442.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.1562, allocations: 4.875 kB / 442.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.1564, allocations: 160.7 kB / 442.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1564, allocations: 4.312 kB / 442.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1564, allocations: 384 / 442.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1565, allocations: 34.25 kB / 442.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1565, allocations: 192 / 442.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1565, allocations: 3.938 kB / 442.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1565, allocations: 0 / 442.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.1566, allocations: 11.92 kB / 442.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.1567, allocations: 149.7 kB / 442.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.371e-05/0.1567, allocations: 22.55 kB / 442.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.1568, allocations: 4.859 kB / 442.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.1568, allocations: 0 / 442.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.1568, allocations: 56.27 kB / 442.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1568, allocations: 0 / 442.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001969/0.157, allocations: 75.39 kB / 442.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1571, allocations: 81.11 kB / 442.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/0.1572, allocations: 89.86 kB / 443 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.1572, allocations: 25.7 kB / 443 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.352e-05/0.1572, allocations: 80.14 kB / 443.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.1572, allocations: 3.938 kB / 443.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.1572, allocations: 21.7 kB / 443.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.577e-05/0.1573, allocations: 319 kB / 443.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.1573, allocations: 0 / 443.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.1573, allocations: 4 kB / 443.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.1574, allocations: 60.27 kB / 443.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1574, allocations: 0 / 443.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.537e-05/0.1574, allocations: 67.39 kB / 443.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.1575, allocations: 29.7 kB / 443.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1575, allocations: 7.922 kB / 443.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1575, allocations: 96 / 443.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1575, allocations: 4 kB / 443.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1575, allocations: 0 / 443.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.1575, allocations: 4 kB / 443.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1575, allocations: 3.938 kB / 443.6 MB, free: 4.141 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 6.207e-05/0.1576, allocations: 136.6 kB / 443.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.1576, allocations: 7.984 kB / 443.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.1576, allocations: 7.062 kB / 443.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1576, allocations: 0 / 443.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1576, allocations: 0 / 443.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1577, allocations: 4 kB / 443.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.676e-05/0.1577, allocations: 153.7 kB / 443.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1577, allocations: 7.938 kB / 443.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-06/0.1577, allocations: 3.984 kB / 443.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.1577, allocations: 3.938 kB / 443.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-06/0.1578, allocations: 3.938 kB / 443.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1578, allocations: 0 / 443.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1578, allocations: 0 / 443.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.052e-05/0.1579, allocations: 98.73 kB / 444 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.1579, allocations: 77.11 kB / 444.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1579, allocations: 7.938 kB / 444.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-06/0.1579, allocations: 0 / 444.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.1579, allocations: 3.938 kB / 444.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1579, allocations: 0 / 444.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.898e-05/0.158, allocations: 75.28 kB / 444.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.158, allocations: 4 kB / 444.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1582, allocations: 16.12 kB / 444.2 MB, free: 3.434 MB / 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.0003479/0.1586, allocations: 192.8 kB / 444.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.551e-05/0.1587, allocations: 59.41 kB / 444.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1587, allocations: 0 / 444.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.1587, allocations: 59.39 kB / 444.5 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.1589, allocations: 1.266 kB / 444.5 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001791/0.159, allocations: 108.4 kB / 444.6 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.1592, allocations: 0.6731 MB / 445.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-06/0.1592, allocations: 7.438 kB / 445.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1592, allocations: 0 / 445.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of Templates: time 0.002159/0.1614, allocations: 0.8192 MB / 446.1 MB, free: 1.461 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.TestReadFileCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFileCalcHelperMain.o] Error 1