Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003544, allocations: 8 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08078/0.08116, allocations: 44.5 MB / 308.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007079/0.08828, allocations: 4.359 MB / 312.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.08936, allocations: 0.5301 MB / 313.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.08942, allocations: 3.938 kB / 313.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.08964, allocations: 23.89 kB / 313.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.0912, allocations: 0.491 MB / 313.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.09157, allocations: 87.83 kB / 313.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.09179, allocations: 119.7 kB / 314 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.09186, allocations: 4 kB / 314 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.09332, allocations: 0.6242 MB / 314.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.09343, allocations: 43.84 kB / 314.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.09347, allocations: 8 kB / 314.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.09549, allocations: 0.8544 MB / 315.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.09557, allocations: 19.91 kB / 315.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.09564, allocations: 41.7 kB / 315.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.09607, allocations: 171.9 kB / 315.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.09609, allocations: 3.938 kB / 315.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.957e-06/0.0961, allocations: 0 / 315.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.314e-06/0.09612, allocations: 4 kB / 315.7 MB, free: 9.621 MB / 266.7 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.0005234/0.09665, allocations: 387.2 kB / 316.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.0967, allocations: 11.97 kB / 316.1 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.09711, allocations: 31.84 kB / 316.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.09735, allocations: 187 kB / 316.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.09739, allocations: 8 kB / 316.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.09742, allocations: 16 kB / 316.3 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.09772, allocations: 129 kB / 316.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.09775, allocations: 4 kB / 316.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.09778, allocations: 4 kB / 316.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.0978, allocations: 7.984 kB / 316.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.09804, allocations: 111.8 kB / 316.6 MB, free: 8.637 MB / 266.7 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.0009305/0.09899, allocations: 0.6723 MB / 317.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.09921, allocations: 90.48 kB / 317.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000879/0.1001, allocations: 0.8076 MB / 318.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.1002, allocations: 42.56 kB / 318.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.27e-06/0.1002, allocations: 0 / 318.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003762/0.1006, allocations: 125.7 kB / 318.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1006, allocations: 51.41 kB / 318.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1008, allocations: 118 kB / 318.5 MB, free: 6.434 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1008, allocations: 25.7 kB / 318.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1009, allocations: 174.2 kB / 318.7 MB, free: 6.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.101, allocations: 43.36 kB / 318.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.101, allocations: 8.375 kB / 318.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1012, allocations: 318.8 kB / 319.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.1013, allocations: 23.98 kB / 319.1 MB, free: 5.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1014, allocations: 70.06 kB / 319.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.514e-05/0.1015, allocations: 40.19 kB / 319.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-06/0.1015, allocations: 3.938 kB / 319.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003135/0.1018, allocations: 137.4 kB / 319.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1019, allocations: 4 kB / 319.3 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.946e-06/0.1019, allocations: 0 / 319.3 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1019, allocations: 4 kB / 319.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1021, allocations: 27.98 kB / 319.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1021, allocations: 12.14 kB / 319.4 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.1022, allocations: 11.94 kB / 319.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.1022, allocations: 8 kB / 319.4 MB, free: 5.5 MB / 266.7 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.0001335/0.1024, allocations: 125.7 kB / 319.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.1024, allocations: 7.906 kB / 319.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.1029, allocations: 142.1 kB / 319.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-06/0.1029, allocations: 4 kB / 319.7 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.925e-06/0.1029, allocations: 0 / 319.7 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.498e-06/0.1029, allocations: 3.984 kB / 319.7 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.1036, allocations: 391.1 kB / 320 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1036, allocations: 0 / 320 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.1038, allocations: 27.92 kB / 320.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.1038, allocations: 0 / 320.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1038, allocations: 11.92 kB / 320.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.795e-06/0.1038, allocations: 11.94 kB / 320.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.462e-06/0.1038, allocations: 4 kB / 320.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.1041, allocations: 207.5 kB / 320.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1043, allocations: 93 kB / 320.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.1043, allocations: 11.98 kB / 320.4 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1044, allocations: 3.938 kB / 320.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.1045, allocations: 7.984 kB / 320.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.1045, allocations: 12 kB / 320.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.212e-05/0.1046, allocations: 91.27 kB / 320.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.98e-06/0.1046, allocations: 0 / 320.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004676/0.1051, allocations: 55.94 kB / 320.6 MB, free: 4.211 MB / 266.7 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.0003897/0.1055, allocations: 167.2 kB / 320.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1057, allocations: 80.09 kB / 320.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.11e-06/0.1058, allocations: 0 / 320.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.1058, allocations: 39.92 kB / 320.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1063, allocations: 50.94 kB / 320.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.1069, allocations: 324.4 kB / 321.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1073, allocations: 0.7009 MB / 321.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-05/0.1074, allocations: 23.42 kB / 321.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of SimCode: time 1.354e-06/0.1074, allocations: 0 / 321.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of Templates: time 0.006132/0.1135, allocations: 2.287 MB / 324.2 MB, free: 0.4961 MB / 266.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.makefile b'clang++ -fopenmp=libomp -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:19: error: expected \')\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:10: note: to match this \'(\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:16: error: use of undeclared identifier \'X\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:19: error: expected \')\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:10: note: to match this \'(\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:16: error: use of undeclared identifier \'X\'\n if (!(size(X) not implemented > 0))\n ^\n4 errors generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1\n'