Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 88.44 kB / 17.63 MB, free: 6.133 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.0009519/0.0009517, allocations: 184.2 kB / 18.52 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 44.23 MB / 337.9 MB, free: 2.574 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000594/0.0005942, allocations: 12 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1514, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0007329/0.1522, allocations: 207 kB / 472.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1535, allocations: 0.7321 MB / 473.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.1536, allocations: 0 / 473.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.055e-05/0.1536, allocations: 4 kB / 473.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1538, allocations: 7.984 kB / 473.1 MB, free: 12.78 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:323:3-363:15:writable] Warning: Pure function ‘ModelicaTest.Utilities.ReadFile‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1542, allocations: 43.89 kB / 473.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.905e-05/0.1543, allocations: 0 / 473.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.647e-05/0.1543, allocations: 0 / 473.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.499e-05/0.1544, allocations: 0 / 473.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.1545, allocations: 7.938 kB / 473.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1545, allocations: 0 / 473.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1547, allocations: 51.95 kB / 473.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-06/0.1547, allocations: 0 / 473.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.1547, allocations: 29.7 kB / 473.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1548, allocations: 35.95 kB / 473.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1549, allocations: 3.984 kB / 473.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1549, allocations: 0 / 473.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1549, allocations: 0 / 473.3 MB, free: 12.61 MB / 350.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.0004086/0.1553, allocations: 345.1 kB / 473.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1554, allocations: 12.03 kB / 473.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1554, allocations: 0 / 473.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1555, allocations: 163.1 kB / 473.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1556, allocations: 4 kB / 473.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1556, allocations: 8 kB / 473.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.002e-05/0.1557, allocations: 33.59 kB / 473.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1557, allocations: 0 / 473.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1557, allocations: 0 / 473.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1557, allocations: 3.938 kB / 473.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.1557, allocations: 4 kB / 473.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1559, allocations: 145.7 kB / 474 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.849e-05/0.156, allocations: 18.61 kB / 474 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.156, allocations: 12.86 kB / 474 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.156, allocations: 3.938 kB / 474 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.1561, allocations: 60.22 kB / 474.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.1561, allocations: 0 / 474.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000202/0.1563, allocations: 71.44 kB / 474.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.1564, allocations: 77.11 kB / 474.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.1564, allocations: 94.08 kB / 474.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1565, allocations: 29.73 kB / 474.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.1565, allocations: 80.14 kB / 474.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1565, allocations: 4 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.1566, allocations: 0 / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1567, allocations: 310.8 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.1567, allocations: 3.984 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-06/0.1567, allocations: 3.938 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.1568, allocations: 29.7 kB / 474.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1568, allocations: 4.062 kB / 474.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.57e-05/0.1569, allocations: 67.31 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.1569, allocations: 29.7 kB / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1569, allocations: 3.953 kB / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1569, allocations: 0 / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.157, allocations: 7.922 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.157, allocations: 4 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.157, allocations: 0 / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.157, allocations: 0 / 474.9 MB, free: 10.75 MB / 350.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 0.0001079/0.1571, allocations: 140.1 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.1571, allocations: 0 / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.532e-05/0.1571, allocations: 7.078 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1572, allocations: 3.953 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1572, allocations: 0 / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.1572, allocations: 0 / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.1573, allocations: 154 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1573, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-06/0.1573, allocations: 7.938 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1573, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1573, allocations: 4 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1573, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1573, allocations: 3.953 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.1575, allocations: 90.83 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.1575, allocations: 85.03 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1575, allocations: 4 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.1576, allocations: 0 / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.1576, allocations: 3.953 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.1576, allocations: 8.016 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.834e-05/0.1577, allocations: 79.28 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1577, allocations: 0 / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1579, allocations: 12 kB / 475.5 MB, free: 10.05 MB / 350.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.0004668/0.1584, allocations: 192.5 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1585, allocations: 63.33 kB / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1585, allocations: 0 / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.1585, allocations: 59.34 kB / 475.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1587, allocations: 4.125 kB / 475.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.1589, allocations: 108.7 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1592, allocations: 0.677 MB / 476.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.324e-05/0.1593, allocations: 7.438 kB / 476.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1593, allocations: 0 / 476.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of Templates: time 0.002671/0.1619, allocations: 0.8209 MB / 477.4 MB, free: 8.066 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFileCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFileCalcHelperMain.o] Error 1