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.243/2.243, allocations: 194.9 MB / 211.2 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.023e-05, allocations: 7.906 kB / 258.8 MB, free: 8.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.321, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008113/0.3292, allocations: 4.192 MB / 307.5 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3304, allocations: 0.5026 MB / 308 MB, free: 8.949 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.3305, allocations: 0 / 308 MB, free: 8.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.3308, allocations: 23.89 kB / 308 MB, free: 8.926 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.3324, allocations: 450.8 kB / 308.4 MB, free: 8.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.3328, allocations: 83.8 kB / 308.5 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.333, allocations: 83.81 kB / 308.6 MB, free: 8.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.3331, allocations: 0 / 308.6 MB, free: 8.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.3349, allocations: 0.632 MB / 309.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3351, allocations: 39.91 kB / 309.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.3374, allocations: 0.8467 MB / 310.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.74e-05/0.3375, allocations: 8 kB / 310.1 MB, free: 6.793 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.3376, allocations: 23.91 kB / 310.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.3377, allocations: 12 kB / 310.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.3382, allocations: 165.5 kB / 310.3 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3382, allocations: 0 / 310.3 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3382, allocations: 0 / 310.3 MB, free: 6.598 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3383, allocations: 0 / 310.3 MB, free: 6.598 MB / 250.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.0005761/0.3388, allocations: 390.1 kB / 310.7 MB, free: 6.172 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3389, allocations: 12.02 kB / 310.7 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.3394, allocations: 35.78 kB / 310.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.3396, allocations: 194.9 kB / 310.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3397, allocations: 4 kB / 311 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.3397, allocations: 8 kB / 311 MB, free: 5.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.34, allocations: 141 kB / 311.1 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3401, allocations: 3.938 kB / 311.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.3401, allocations: 0 / 311.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3401, allocations: 4 kB / 311.1 MB, free: 5.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.3404, allocations: 115.8 kB / 311.2 MB, free: 5.605 MB / 250.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.0009957/0.3414, allocations: 0.6684 MB / 311.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.3416, allocations: 82.55 kB / 312 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008969/0.3426, allocations: 0.8193 MB / 312.8 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3426, allocations: 30.56 kB / 312.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.936e-06/0.3426, allocations: 0 / 312.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004446/0.3431, allocations: 126 kB / 312.9 MB, free: 3.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3431, allocations: 55.41 kB / 313 MB, free: 3.535 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.3433, allocations: 105.2 kB / 313.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.3433, allocations: 29.7 kB / 313.1 MB, free: 3.391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3434, allocations: 176.1 kB / 313.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.3435, allocations: 39.38 kB / 313.3 MB, free: 3.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.3435, allocations: 4 kB / 313.3 MB, free: 3.176 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3437, allocations: 322.8 kB / 313.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.587e-05/0.3437, allocations: 27.92 kB / 313.7 MB, free: 2.824 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3439, allocations: 71.16 kB / 313.8 MB, free: 2.738 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.344, allocations: 32.5 kB / 313.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.344, allocations: 384 / 313.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003356/0.3444, allocations: 137.4 kB / 313.9 MB, free: 2.566 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3444, allocations: 8 kB / 313.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3444, allocations: 3.984 kB / 313.9 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3444, allocations: 12.09 kB / 313.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.3447, allocations: 31.92 kB / 314 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.3447, allocations: 4 kB / 314 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3448, allocations: 15.84 kB / 314 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.3449, allocations: 4 kB / 314 MB, free: 2.488 MB / 250.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 () * 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.0001324/0.345, allocations: 133.7 kB / 314.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.3451, allocations: 11.91 kB / 314.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.3455, allocations: 142.1 kB / 314.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3456, allocations: 0 / 314.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3456, allocations: 0 / 314.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3456, allocations: 4 kB / 314.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006625/0.3463, allocations: 394.4 kB / 314.7 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3463, allocations: 0 / 314.7 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.3464, allocations: 23.98 kB / 314.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3465, allocations: 8 kB / 314.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3465, allocations: 4 kB / 314.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3465, allocations: 0 / 314.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3465, allocations: 0 / 314.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.3468, allocations: 203.3 kB / 314.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-05/0.3469, allocations: 100.9 kB / 315 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.347, allocations: 4 kB / 315 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3472, allocations: 7.938 kB / 315 MB, free: 1.367 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.3472, allocations: 11.98 kB / 315 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.3472, allocations: 8 kB / 315 MB, free: 1.348 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.622e-05/0.3473, allocations: 91.27 kB / 315.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.3473, allocations: 0 / 315.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000464/0.3478, allocations: 59.98 kB / 315.2 MB, free: 1.199 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 () * 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.0004375/0.3483, allocations: 163.1 kB / 315.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.3485, allocations: 91.83 kB / 315.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3486, allocations: 0 / 315.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.542e-05/0.3487, allocations: 47.86 kB / 315.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.3492, allocations: 39.91 kB / 315.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.3499, allocations: 313.7 kB / 315.8 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3502, allocations: 0.7048 MB / 316.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3504, allocations: 19.44 kB / 316.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3504, allocations: 0 / 316.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of Templates: time 0.006482/0.3569, allocations: 2.292 MB / 318.8 MB, free: 13.49 MB / 266.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.makefile 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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 In file included from OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ 4 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1