Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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) 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(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000891/0.0008912, allocations: 91.28 kB / 17.58 MB, free: 5.797 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.000938/0.000938, allocations: 182.2 kB / 18.48 MB, free: 5.254 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.741/1.741, allocations: 205.4 MB / 224.6 MB, free: 13.07 MB / 190.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.0005417/0.0005417, allocations: 16 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1137, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008735/0.1225, allocations: 6.992 MB / 336 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007682/0.1233, allocations: 0.5885 MB / 336.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.1234, allocations: 0 / 336.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1236, allocations: 23.89 kB / 336.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.1248, allocations: 0.5023 MB / 337.1 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1251, allocations: 91.75 kB / 337.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.1253, allocations: 191.2 kB / 337.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.1254, allocations: 4 kB / 337.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.1265, allocations: 0.6631 MB / 338 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.1266, allocations: 51.77 kB / 338.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1267, allocations: 4 kB / 338.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.1281, allocations: 0.9053 MB / 339 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.1281, allocations: 15.92 kB / 339 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.1282, allocations: 45.64 kB / 339.1 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1285, allocations: 175.7 kB / 339.2 MB, free: 9.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1285, allocations: 0 / 339.2 MB, free: 9.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1285, allocations: 0 / 339.2 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1285, allocations: 0 / 339.2 MB, free: 9.773 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004793/0.129, allocations: 399.1 kB / 339.6 MB, free: 9.336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.129, allocations: 8.031 kB / 339.6 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.1294, allocations: 35.88 kB / 339.7 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1296, allocations: 190.9 kB / 339.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1297, allocations: 8 kB / 339.9 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1297, allocations: 15.92 kB / 339.9 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.1299, allocations: 125.1 kB / 340 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.13, allocations: 0 / 340 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.13, allocations: 8 kB / 340 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.13, allocations: 3.953 kB / 340 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1302, allocations: 115.8 kB / 340.1 MB, free: 8.777 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007009/0.1309, allocations: 0.6645 MB / 340.8 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1311, allocations: 86.5 kB / 340.9 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/0.1311, allocations: 44.84 kB / 340.9 MB, free: 7.898 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/0.1318, allocations: 0.8037 MB / 341.7 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1318, allocations: 34.56 kB / 341.7 MB, free: 6.867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1318, allocations: 0 / 341.7 MB, free: 6.867 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002647/0.1321, allocations: 122.2 kB / 341.9 MB, free: 6.742 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1321, allocations: 55.41 kB / 341.9 MB, free: 6.676 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.1322, allocations: 125.9 kB / 342 MB, free: 6.543 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1323, allocations: 25.7 kB / 342.1 MB, free: 6.512 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.1323, allocations: 99.89 kB / 342.2 MB, free: 6.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.1324, allocations: 47.28 kB / 342.2 MB, free: 6.363 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.1324, allocations: 7.938 kB / 342.2 MB, free: 6.355 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1325, allocations: 322.8 kB / 342.5 MB, free: 6.031 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.1326, allocations: 23.98 kB / 342.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.1327, allocations: 65.14 kB / 342.6 MB, free: 5.926 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.807e-05/0.1327, allocations: 44.05 kB / 342.7 MB, free: 5.883 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1327, allocations: 0 / 342.7 MB, free: 5.883 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001948/0.1329, allocations: 137.5 kB / 342.8 MB, free: 5.742 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.133, allocations: 8.031 kB / 342.8 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.133, allocations: 4 kB / 342.8 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.133, allocations: 384 / 342.8 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1331, allocations: 31.98 kB / 342.8 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1331, allocations: 11.92 kB / 342.9 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.1332, allocations: 15.84 kB / 342.9 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1332, allocations: 11.94 kB / 342.9 MB, free: 5.66 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.913e-05/0.1333, allocations: 117.8 kB / 343 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1334, allocations: 15.86 kB / 343 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.1337, allocations: 146.2 kB / 343.2 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1337, allocations: 0 / 343.2 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1337, allocations: 0 / 343.2 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1337, allocations: 0 / 343.2 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.1341, allocations: 390.4 kB / 343.5 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1342, allocations: 11.94 kB / 343.5 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.231e-05/0.1342, allocations: 23.98 kB / 343.6 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1342, allocations: 0 / 343.6 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1343, allocations: 4 kB / 343.6 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1343, allocations: 0 / 343.6 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1343, allocations: 0 / 343.6 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.1345, allocations: 199.4 kB / 343.8 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.1346, allocations: 101 kB / 343.9 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.1346, allocations: 0 / 343.9 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.75e-05/0.1347, allocations: 11.94 kB / 343.9 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.1347, allocations: 7.984 kB / 343.9 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1347, allocations: 8 kB / 343.9 MB, free: 4.543 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.811e-05/0.1348, allocations: 95.2 kB / 344 MB, free: 4.449 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1348, allocations: 3.938 kB / 344 MB, free: 4.445 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.1351, allocations: 63.94 kB / 344.1 MB, free: 4.383 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0003099/0.1354, allocations: 163.2 kB / 344.2 MB, free: 4.211 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1356, allocations: 88.41 kB / 344.3 MB, free: 4.125 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1356, allocations: 0 / 344.3 MB, free: 4.125 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.1357, allocations: 39.92 kB / 344.3 MB, free: 4.086 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.1361, allocations: 47.48 kB / 344.4 MB, free: 4.043 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.1366, allocations: 324.3 kB / 344.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1369, allocations: 0.697 MB / 345.4 MB, free: 2.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.137, allocations: 23.44 kB / 345.4 MB, free: 2.949 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.137, allocations: 0 / 345.4 MB, free: 2.949 MB / 286.1 MB Notification: Performance of Templates: time 0.004204/0.1412, allocations: 2.228 MB / 347.6 MB, free: 0.7188 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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 OMCppModelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1