Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009459/0.0009459, allocations: 93.23 kB / 17.63 MB, free: 6.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 201.9 kB / 18.54 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002605, allocations: 8 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1271, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006851/0.134, allocations: 4.373 MB / 363.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009045/0.135, allocations: 0.5923 MB / 363.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.1351, allocations: 0 / 363.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.1353, allocations: 31.83 kB / 363.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.1367, allocations: 0.4984 MB / 364.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.137, allocations: 87.38 kB / 364.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.1373, allocations: 191.2 kB / 364.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.1374, allocations: 4 kB / 364.6 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1386, allocations: 0.6708 MB / 365.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.1387, allocations: 51.83 kB / 365.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1387, allocations: 4 kB / 365.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.1406, allocations: 0.9326 MB / 366.2 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.1406, allocations: 19.91 kB / 366.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.1407, allocations: 41.7 kB / 366.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.141, allocations: 179.6 kB / 366.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1411, allocations: 0 / 366.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.1411, allocations: 0 / 366.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1411, allocations: 3.938 kB / 366.5 MB, free: 6.215 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.0005819/0.1417, allocations: 395.1 kB / 366.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1417, allocations: 12.03 kB / 366.9 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.1422, allocations: 31.88 kB / 366.9 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1424, allocations: 195 kB / 367.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1424, allocations: 11.95 kB / 367.1 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1425, allocations: 15.98 kB / 367.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.1427, allocations: 132.5 kB / 367.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1428, allocations: 0 / 367.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.1428, allocations: 4 kB / 367.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.1428, allocations: 4 kB / 367.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.143, allocations: 111.8 kB / 367.3 MB, free: 5.219 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.0008792/0.1439, allocations: 0.6607 MB / 368 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1441, allocations: 86.48 kB / 368.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.1441, allocations: 36.86 kB / 368.1 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006948/0.1448, allocations: 0.8154 MB / 368.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1449, allocations: 42.44 kB / 369 MB, free: 3.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.1449, allocations: 0 / 369 MB, free: 3.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003003/0.1452, allocations: 129.8 kB / 369.1 MB, free: 3.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1452, allocations: 51.41 kB / 369.2 MB, free: 3.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1453, allocations: 118 kB / 369.3 MB, free: 2.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1454, allocations: 29.7 kB / 369.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.1454, allocations: 103.9 kB / 369.4 MB, free: 2.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.1455, allocations: 43.3 kB / 369.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-06/0.1455, allocations: 4 kB / 369.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1456, allocations: 326.8 kB / 369.8 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.1457, allocations: 19.98 kB / 369.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.1458, allocations: 65.14 kB / 369.9 MB, free: 2.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.1459, allocations: 43.81 kB / 369.9 MB, free: 2.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1459, allocations: 0 / 369.9 MB, free: 2.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002922/0.1462, allocations: 137.4 kB / 370 MB, free: 2.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1462, allocations: 4 kB / 370 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1462, allocations: 12.11 kB / 370 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1462, allocations: 0 / 370 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1463, allocations: 35.98 kB / 370.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1464, allocations: 0 / 370.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.1464, allocations: 7.906 kB / 370.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1465, allocations: 19.92 kB / 370.1 MB, free: 2.105 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.0001095/0.1466, allocations: 117.8 kB / 370.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.1466, allocations: 7.906 kB / 370.2 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.1469, allocations: 154.5 kB / 370.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1469, allocations: 3.953 kB / 370.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1469, allocations: 0 / 370.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.147, allocations: 0 / 370.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.1474, allocations: 382.5 kB / 370.8 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1474, allocations: 0 / 370.8 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.1476, allocations: 27.92 kB / 370.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1476, allocations: 11.95 kB / 370.8 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1476, allocations: 8 kB / 370.8 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1476, allocations: 7.875 kB / 370.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1476, allocations: 0 / 370.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1478, allocations: 195.4 kB / 371 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.1479, allocations: 100.9 kB / 371.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1479, allocations: 7.953 kB / 371.1 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.148, allocations: 3.984 kB / 371.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.1481, allocations: 8 kB / 371.1 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1481, allocations: 15.98 kB / 371.1 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.1482, allocations: 91.22 kB / 371.2 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1482, allocations: 0 / 371.2 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.1485, allocations: 55.98 kB / 371.3 MB, free: 0.8242 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.0003423/0.1489, allocations: 171.1 kB / 371.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.149, allocations: 83.41 kB / 371.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1491, allocations: 0 / 371.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.738e-05/0.1491, allocations: 43.92 kB / 371.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1496, allocations: 39.89 kB / 371.6 MB, free: 496 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.1501, allocations: 328.6 kB / 371.9 MB, free: 132 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2129/0.363, allocations: 0.6967 MB / 372.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3632, allocations: 21.39 kB / 372.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3632, allocations: 0 / 372.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of Templates: time 0.005343/0.3685, allocations: 2.246 MB / 374.9 MB, free: 19.47 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1