Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.755/1.755, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003511, allocations: 12 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06873/0.0691, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007026/0.07619, allocations: 4.319 MB / 276.2 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.07727, allocations: 0.5379 MB / 276.8 MB, free: 7.312 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.07735, allocations: 0 / 276.8 MB, free: 7.312 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.07756, allocations: 23.89 kB / 276.8 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.07907, allocations: 494.8 kB / 277.3 MB, free: 6.805 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.07943, allocations: 91.75 kB / 277.4 MB, free: 6.715 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.07966, allocations: 111.8 kB / 277.5 MB, free: 6.605 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.07973, allocations: 15.91 kB / 277.5 MB, free: 6.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.08115, allocations: 0.5851 MB / 278.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.08127, allocations: 39.84 kB / 278.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.0813, allocations: 4 kB / 278.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.08323, allocations: 0.8076 MB / 278.9 MB, free: 5.152 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.08331, allocations: 19.91 kB / 279 MB, free: 5.133 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.08338, allocations: 41.7 kB / 279 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.08381, allocations: 171.9 kB / 279.2 MB, free: 4.918 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.741e-06/0.08383, allocations: 0 / 279.2 MB, free: 4.918 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.971e-06/0.08384, allocations: 0 / 279.2 MB, free: 4.918 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.707e-06/0.08386, allocations: 0 / 279.2 MB, free: 4.918 MB / 234.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.0005489/0.08441, allocations: 399 kB / 279.6 MB, free: 4.48 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.08447, allocations: 11.97 kB / 279.6 MB, free: 4.469 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.08489, allocations: 27.89 kB / 279.6 MB, free: 4.441 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.08516, allocations: 190.9 kB / 279.8 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.08519, allocations: 8 kB / 279.8 MB, free: 4.207 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.08523, allocations: 16 kB / 279.8 MB, free: 4.191 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.08553, allocations: 130.7 kB / 279.9 MB, free: 4.047 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.836e-06/0.08556, allocations: 0 / 279.9 MB, free: 4.047 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.0856, allocations: 8 kB / 279.9 MB, free: 4.039 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-06/0.08562, allocations: 3.953 kB / 279.9 MB, free: 4.035 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.08586, allocations: 107.9 kB / 280 MB, free: 3.93 MB / 234.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.0009279/0.0868, allocations: 0.6723 MB / 280.7 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.08701, allocations: 94.44 kB / 280.8 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008612/0.08789, allocations: 0.8076 MB / 281.6 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.08795, allocations: 46.55 kB / 281.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.438e-06/0.08796, allocations: 0 / 281.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003567/0.08833, allocations: 117.7 kB / 281.8 MB, free: 1.914 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.08839, allocations: 55.34 kB / 281.8 MB, free: 1.848 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.08853, allocations: 118 kB / 281.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.08857, allocations: 29.7 kB / 282 MB, free: 1.688 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.08869, allocations: 166.3 kB / 282.1 MB, free: 1.523 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.08876, allocations: 43.36 kB / 282.2 MB, free: 1.48 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.08879, allocations: 8 kB / 282.2 MB, free: 1.473 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.08897, allocations: 318.8 kB / 282.5 MB, free: 1.152 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.08905, allocations: 23.98 kB / 282.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.08917, allocations: 65.14 kB / 282.6 MB, free: 1.047 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.08928, allocations: 36.23 kB / 282.6 MB, free: 1.012 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.383e-06/0.08929, allocations: 4 kB / 282.6 MB, free: 1.008 MB / 234.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003003/0.0896, allocations: 133.4 kB / 282.8 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.08964, allocations: 8 kB / 282.8 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.515e-06/0.08966, allocations: 4 kB / 282.8 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.08969, allocations: 7.984 kB / 282.8 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.08985, allocations: 32.08 kB / 282.8 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.08988, allocations: 8 kB / 282.8 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.08998, allocations: 19.78 kB / 282.8 MB, free: 0.793 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.09002, allocations: 4 kB / 282.8 MB, free: 0.7891 MB / 234.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.0001276/0.09016, allocations: 125.8 kB / 283 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.09022, allocations: 15.84 kB / 283 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.09063, allocations: 146.5 kB / 283.1 MB, free: 496 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.09066, allocations: 4 kB / 283.1 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.09067, allocations: 0 / 283.1 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.173e-06/0.09068, allocations: 0 / 283.1 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.0913, allocations: 391.1 kB / 283.5 MB, free: 44 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-06/0.09133, allocations: 0 / 283.5 MB, free: 44 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.09145, allocations: 23.98 kB / 283.5 MB, free: 20 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.161e-06/0.09147, allocations: 3.938 kB / 283.5 MB, free: 16 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.09149, allocations: 8 kB / 283.5 MB, free: 8 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.093e-06/0.0915, allocations: 3.984 kB / 283.5 MB, free: 4 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-06/0.09152, allocations: 4 kB / 283.6 MB, free: 0 / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.09182, allocations: 199.6 kB / 283.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.09194, allocations: 100.9 kB / 283.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.09198, allocations: 4 kB / 283.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.09212, allocations: 4 kB / 283.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.09216, allocations: 7.984 kB / 283.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.09219, allocations: 12 kB / 283.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.757e-05/0.09228, allocations: 91.27 kB / 284 MB, free: 15.55 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.09229, allocations: 0 / 284 MB, free: 15.55 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004746/0.09278, allocations: 55.94 kB / 284 MB, free: 15.5 MB / 250.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.0003865/0.09318, allocations: 183.3 kB / 284.2 MB, free: 15.31 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.09342, allocations: 83.97 kB / 284.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.283e-06/0.09344, allocations: 0 / 284.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.09353, allocations: 39.92 kB / 284.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.09397, allocations: 39.95 kB / 284.4 MB, free: 15.15 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.09455, allocations: 320.5 kB / 284.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.09496, allocations: 0.7086 MB / 285.4 MB, free: 14.07 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.09505, allocations: 15.44 kB / 285.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of SimCode: time 1.358e-06/0.09507, allocations: 0 / 285.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of Templates: time 0.00537/0.1004, allocations: 2.289 MB / 287.7 MB, free: 11.78 MB / 250.7 MB make -j1 -f Modelica_3.2.1_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.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:19: error: expected \')\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.1_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.1_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.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:19: error: expected \')\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.1_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.1_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.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1\n'