Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(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_4.0.0_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_4.0.0_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.001192/0.001192, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001426/0.001426, allocations: 181.5 kB / 17.84 MB, free: 5.617 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.619/1.619, allocations: 223.2 MB / 241.8 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.000263, allocations: 12.75 kB / 301.4 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 50.42 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006334/0.134, allocations: 4.321 MB / 356.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.1348, allocations: 0.5806 MB / 356.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.1349, allocations: 0 / 356.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1351, allocations: 27.89 kB / 356.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.1363, allocations: 0.5101 MB / 357.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1366, allocations: 91.06 kB / 357.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1368, allocations: 191.2 kB / 357.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.1369, allocations: 4 kB / 357.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.1381, allocations: 0.6631 MB / 358.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.1382, allocations: 51.77 kB / 358.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1383, allocations: 4 kB / 358.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1398, allocations: 0.9092 MB / 359.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.1399, allocations: 11.98 kB / 359.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.14, allocations: 41.64 kB / 359.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.1403, allocations: 175.7 kB / 359.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1404, allocations: 4 kB / 359.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1404, allocations: 0 / 359.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.1404, allocations: 0 / 359.4 MB, free: 12.41 MB / 302.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.0005917/0.141, allocations: 399 kB / 359.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.141, allocations: 8.031 kB / 359.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005525/0.1416, allocations: 31.88 kB / 359.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1419, allocations: 190.9 kB / 360.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1419, allocations: 8 kB / 360.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1419, allocations: 4 kB / 360.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.1422, allocations: 143.8 kB / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1422, allocations: 0 / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1422, allocations: 11.94 kB / 360.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1422, allocations: 0 / 360.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.1424, allocations: 103.9 kB / 360.3 MB, free: 11.43 MB / 302.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.0007363/0.1431, allocations: 0.6646 MB / 361 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1433, allocations: 82.55 kB / 361.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.1434, allocations: 40.84 kB / 361.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.1441, allocations: 0.8115 MB / 361.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1441, allocations: 38.5 kB / 361.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.1441, allocations: 0 / 361.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002928/0.1444, allocations: 125.8 kB / 362.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1444, allocations: 55.41 kB / 362.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1446, allocations: 118 kB / 362.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1446, allocations: 25.7 kB / 362.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.1447, allocations: 107.8 kB / 362.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1447, allocations: 55.28 kB / 362.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.1447, allocations: 0 / 362.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1449, allocations: 318.8 kB / 362.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.145, allocations: 27.92 kB / 362.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.145, allocations: 69.12 kB / 362.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.1451, allocations: 36 kB / 362.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1451, allocations: 0 / 362.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002085/0.1453, allocations: 140.8 kB / 363 MB, free: 8.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1453, allocations: 8 kB / 363 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1454, allocations: 0 / 363 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1454, allocations: 4 kB / 363 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1455, allocations: 36.08 kB / 363.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1455, allocations: 0 / 363.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.1456, allocations: 15.86 kB / 363.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.1456, allocations: 11.98 kB / 363.1 MB, free: 8.312 MB / 302.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 0.0001096/0.1457, allocations: 129.7 kB / 363.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.1458, allocations: 7.906 kB / 363.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.146, allocations: 146.6 kB / 363.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1461, allocations: 0 / 363.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1461, allocations: 0 / 363.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1461, allocations: 0 / 363.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.1465, allocations: 390.4 kB / 363.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1465, allocations: 0 / 363.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/0.1466, allocations: 20 kB / 363.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1466, allocations: 0 / 363.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1467, allocations: 7.984 kB / 363.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1467, allocations: 7.938 kB / 363.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1467, allocations: 3.953 kB / 363.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1469, allocations: 207.4 kB / 364 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.147, allocations: 100.9 kB / 364.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.147, allocations: 0 / 364.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.1471, allocations: 4 kB / 364.1 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.1471, allocations: 11.98 kB / 364.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1471, allocations: 15.88 kB / 364.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.033e-05/0.1472, allocations: 91.28 kB / 364.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1472, allocations: 0 / 364.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.1475, allocations: 59.98 kB / 364.3 MB, free: 7.027 MB / 302.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.0003123/0.1478, allocations: 163.1 kB / 364.4 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.1481, allocations: 95.45 kB / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1481, allocations: 320 / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.1481, allocations: 43.92 kB / 364.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.1486, allocations: 35.97 kB / 364.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.1494, allocations: 320.4 kB / 364.9 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.15, allocations: 0.6969 MB / 365.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.15, allocations: 31.42 kB / 365.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.15, allocations: 0 / 365.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of Templates: time 0.004529/0.1546, allocations: 2.169 MB / 367.8 MB, free: 3.426 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1