Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008184/0.0008185, allocations: 88.75 kB / 17.58 MB, free: 6.219 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.0008234/0.0008236, allocations: 187.6 kB / 18.48 MB, free: 5.379 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.697/1.697, 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.0005032/0.0005032, allocations: 8 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1166, allocations: 47.59 MB / 329 MB, free: 4.043 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02606/0.1427, allocations: 22.54 MB / 351.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.1459, allocations: 2.353 MB / 353.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.1462, allocations: 0 / 353.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.1467, allocations: 119.3 kB / 354 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006368/0.1474, allocations: 306.4 kB / 354.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.1497, allocations: 0.8108 MB / 355.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.1509, allocations: 1.121 MB / 356.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1511, allocations: 76.67 kB / 356.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005146/0.1563, allocations: 2.82 MB / 359.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.1569, allocations: 266.9 kB / 359.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.1569, allocations: 16 kB / 359.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007174/0.1577, allocations: 207.6 kB / 359.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1578, allocations: 83.7 kB / 359.7 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1579, allocations: 89.58 kB / 359.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.1586, allocations: 450.8 kB / 360.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1586, allocations: 0 / 360.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.1586, allocations: 4 kB / 360.2 MB, free: 4.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1586, allocations: 0 / 360.2 MB, free: 4.711 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008219/0.1594, allocations: 0.5456 MB / 360.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1595, allocations: 8.031 kB / 360.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.1598, allocations: 51.59 kB / 360.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.1602, allocations: 290.4 kB / 361.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.1602, allocations: 24.52 kB / 361.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.1603, allocations: 27.91 kB / 361.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.1608, allocations: 330.2 kB / 361.5 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1608, allocations: 0 / 361.5 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.1609, allocations: 12 kB / 361.5 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.1609, allocations: 8 kB / 361.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.1612, allocations: 193.5 kB / 361.7 MB, free: 3.113 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.002101/0.1633, allocations: 2.115 MB / 363.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.1636, allocations: 190.1 kB / 364 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.1638, allocations: 84.83 kB / 364.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.164, allocations: 255.5 kB / 364.3 MB, free: 196 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.164, allocations: 34.56 kB / 364.4 MB, free: 152 kB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.164, allocations: 0 / 364.4 MB, free: 152 kB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002433/0.1664, allocations: 1.011 MB / 365.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1665, allocations: 51.41 kB / 365.4 MB, free: 15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.1668, allocations: 270.5 kB / 365.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.1668, allocations: 33.64 kB / 365.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.167, allocations: 188.1 kB / 365.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.1671, allocations: 98.56 kB / 366 MB, free: 14.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.1671, allocations: 4 kB / 366 MB, free: 14.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1672, allocations: 342.8 kB / 366.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1674, allocations: 88.7 kB / 366.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.1676, allocations: 170.8 kB / 366.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.1678, allocations: 104 kB / 366.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1678, allocations: 4 kB / 366.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005989/0.1684, allocations: 381.4 kB / 367.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1684, allocations: 4 kB / 367.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1685, allocations: 4 kB / 367.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.1688, allocations: 101 kB / 367.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.1691, allocations: 67.91 kB / 367.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006545/0.1698, allocations: 0.6538 MB / 367.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.17, allocations: 19.95 kB / 367.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.17, allocations: 24 kB / 367.9 MB, free: 12.38 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.000234/0.1703, allocations: 153.7 kB / 368.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.1704, allocations: 31.72 kB / 368.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.171, allocations: 372.9 kB / 368.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.171, allocations: 3.953 kB / 368.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.171, allocations: 4 kB / 368.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006052/0.1717, allocations: 0.5591 MB / 369.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1728, allocations: 0.7393 MB / 369.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1728, allocations: 0 / 369.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.173, allocations: 40.03 kB / 369.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.1734, allocations: 104.7 kB / 369.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1735, allocations: 8 kB / 369.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005025/0.174, allocations: 0.642 MB / 370.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.174, allocations: 4.062 kB / 370.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.1747, allocations: 477.5 kB / 371.1 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.1748, allocations: 108.8 kB / 371.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.1749, allocations: 8 kB / 371.2 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1751, allocations: 19.95 kB / 371.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.1752, allocations: 15.98 kB / 371.2 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.1752, allocations: 23.92 kB / 371.2 MB, free: 8.828 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.1754, allocations: 194 kB / 371.4 MB, free: 8.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1754, allocations: 0 / 371.4 MB, free: 8.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004699/0.1759, allocations: 119.9 kB / 371.5 MB, free: 8.523 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002657/0.1762, allocations: 139.2 kB / 371.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005163/0.1767, allocations: 239.7 kB / 371.9 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1767, allocations: 4 kB / 371.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.177, allocations: 128.4 kB / 372 MB, free: 8.016 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.1779, allocations: 152.8 kB / 372.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1792, allocations: 0.7884 MB / 373 MB, free: 7.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1796, allocations: 0.7689 MB / 373.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1797, allocations: 35.42 kB / 373.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1797, allocations: 0 / 373.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of Templates: time 0.2107/0.3904, allocations: 6.314 MB / 380.1 MB, free: 55.8 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Examples.Tests.MediaTestModels.Incompressible.Glycol47CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47CalcHelperMain.o] Error 1