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.001207/0.001206, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001085/0.001085, allocations: 194 kB / 18.72 MB, free: 4.762 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.892/1.892, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001457/0.001456, allocations: 43.94 kB / 280.6 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1264, allocations: 46.64 MB / 327.2 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01344/0.1399, allocations: 7.933 MB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1413, allocations: 0.6349 MB / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1415, allocations: 0 / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.142, allocations: 23.89 kB / 335.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.1442, allocations: 0.518 MB / 336.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.1446, allocations: 91.77 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.145, allocations: 215.2 kB / 336.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.145, allocations: 8 kB / 336.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.1466, allocations: 0.7053 MB / 337.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.1468, allocations: 51.77 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.1468, allocations: 4 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.1487, allocations: 0.9515 MB / 338.4 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.1488, allocations: 23.91 kB / 338.4 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.1489, allocations: 35.86 kB / 338.4 MB, free: 9.664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.1495, allocations: 183.6 kB / 338.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1495, allocations: 0 / 338.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1495, allocations: 0 / 338.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1495, allocations: 4 kB / 338.6 MB, free: 9.48 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.0007078/0.1502, allocations: 423.1 kB / 339 MB, free: 9.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1503, allocations: 12.03 kB / 339 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004737/0.1508, allocations: 32.81 kB / 339.1 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1511, allocations: 192.3 kB / 339.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1511, allocations: 8.375 kB / 339.3 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1511, allocations: 4.375 kB / 339.3 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.1515, allocations: 145.1 kB / 339.4 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1515, allocations: 0 / 339.4 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1515, allocations: 4 kB / 339.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.1516, allocations: 4 kB / 339.4 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.1518, allocations: 103.9 kB / 339.5 MB, free: 8.469 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.00107/0.1529, allocations: 0.6684 MB / 340.2 MB, free: 7.727 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.1531, allocations: 98.48 kB / 340.3 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/0.1532, allocations: 32.84 kB / 340.3 MB, free: 7.586 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009751/0.1542, allocations: 0.8076 MB / 341.1 MB, free: 6.594 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.1542, allocations: 34.56 kB / 341.2 MB, free: 6.551 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.1542, allocations: 0 / 341.2 MB, free: 6.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000376/0.1546, allocations: 134 kB / 341.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.1547, allocations: 55.34 kB / 341.3 MB, free: 6.348 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1548, allocations: 121.7 kB / 341.5 MB, free: 6.219 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1549, allocations: 29.7 kB / 341.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.155, allocations: 99.88 kB / 341.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.155, allocations: 47.3 kB / 341.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.1551, allocations: 45.61 kB / 341.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1553, allocations: 318.8 kB / 342 MB, free: 5.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.1553, allocations: 23.98 kB / 342 MB, free: 5.641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/0.1555, allocations: 65.14 kB / 342.1 MB, free: 5.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.1556, allocations: 105.1 kB / 342.2 MB, free: 5.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1556, allocations: 0 / 342.2 MB, free: 5.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002736/0.1559, allocations: 141.4 kB / 342.3 MB, free: 5.293 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.156, allocations: 11.12 kB / 342.3 MB, free: 5.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.156, allocations: 8.141 kB / 342.3 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.156, allocations: 3.938 kB / 342.3 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1562, allocations: 35.92 kB / 342.4 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.1562, allocations: 3.938 kB / 342.4 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.793e-05/0.1563, allocations: 15.84 kB / 342.4 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.1563, allocations: 8 kB / 342.4 MB, free: 5.211 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.1565, allocations: 125.8 kB / 342.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.1565, allocations: 4 kB / 342.5 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.1569, allocations: 143 kB / 342.7 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1569, allocations: 0 / 342.7 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.1569, allocations: 7.875 kB / 342.7 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.157, allocations: 4 kB / 342.7 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007118/0.1577, allocations: 394.5 kB / 343.1 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1577, allocations: 0 / 343.1 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.1578, allocations: 23.98 kB / 343.1 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1578, allocations: 11.94 kB / 343.1 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1578, allocations: 0 / 343.1 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.1578, allocations: 3.938 kB / 343.1 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1579, allocations: 0 / 343.1 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1581, allocations: 195.5 kB / 343.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.1582, allocations: 96.94 kB / 343.4 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1582, allocations: 7.984 kB / 343.4 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1584, allocations: 4 kB / 343.4 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.1584, allocations: 8 kB / 343.4 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1584, allocations: 11.98 kB / 343.4 MB, free: 4.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.265e-05/0.1585, allocations: 87.28 kB / 343.5 MB, free: 4.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1585, allocations: 0 / 343.5 MB, free: 4.004 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003983/0.1589, allocations: 67.92 kB / 343.6 MB, free: 3.938 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 (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.0004711/0.1594, allocations: 175 kB / 343.7 MB, free: 3.754 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.1596, allocations: 87.91 kB / 343.8 MB, free: 3.668 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1596, allocations: 0 / 343.8 MB, free: 3.668 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.1597, allocations: 39.92 kB / 343.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.1603, allocations: 36.25 kB / 343.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.161, allocations: 295.2 kB / 344.2 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1614, allocations: 0.7047 MB / 344.9 MB, free: 2.543 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.1615, allocations: 19.44 kB / 344.9 MB, free: 2.523 MB / 286.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1615, allocations: 0 / 344.9 MB, free: 2.523 MB / 286.1 MB Notification: Performance of Templates: time 0.005887/0.1674, allocations: 2.232 MB / 347.1 MB, free: 296 kB / 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++ -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 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