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.771/1.771, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.538e-05, allocations: 10.17 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08614/0.0862, allocations: 38.76 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007877/0.09413, allocations: 4.175 MB / 271.1 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.09538, allocations: 0.5028 MB / 271.6 MB, free: 12.44 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.09549, allocations: 0 / 271.6 MB, free: 12.44 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.09573, allocations: 23.88 kB / 271.6 MB, free: 12.42 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.09726, allocations: 442.8 kB / 272 MB, free: 11.98 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.09767, allocations: 83.81 kB / 272.1 MB, free: 11.9 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.09789, allocations: 79.86 kB / 272.2 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.09795, allocations: 4 kB / 272.2 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.09954, allocations: 0.5813 MB / 272.8 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.09971, allocations: 43.89 kB / 272.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.1022, allocations: 0.8076 MB / 273.6 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.438e-05/0.1024, allocations: 8 kB / 273.6 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.1025, allocations: 15.97 kB / 273.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.1026, allocations: 12 kB / 273.6 MB, free: 10.35 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.1031, allocations: 160 kB / 273.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1031, allocations: 4 kB / 273.8 MB, free: 10.19 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.1032, allocations: 4 kB / 273.8 MB, free: 10.19 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1032, allocations: 0 / 273.8 MB, free: 10.19 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.0005998/0.1038, allocations: 395 kB / 274.2 MB, free: 9.754 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1039, allocations: 12.02 kB / 274.2 MB, free: 9.742 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004288/0.1043, allocations: 27.89 kB / 274.2 MB, free: 9.715 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1046, allocations: 190.9 kB / 274.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1046, allocations: 4 kB / 274.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1046, allocations: 12 kB / 274.4 MB, free: 9.473 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.105, allocations: 137 kB / 274.6 MB, free: 9.32 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.105, allocations: 0 / 274.6 MB, free: 9.32 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.105, allocations: 4 kB / 274.6 MB, free: 9.316 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1051, allocations: 3.953 kB / 274.6 MB, free: 9.312 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.1053, allocations: 111.8 kB / 274.7 MB, free: 9.203 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.001184/0.1065, allocations: 0.6684 MB / 275.4 MB, free: 8.461 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.1068, allocations: 94.44 kB / 275.5 MB, free: 8.359 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008866/0.1077, allocations: 0.8115 MB / 276.3 MB, free: 7.363 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.1078, allocations: 34.56 kB / 276.3 MB, free: 7.32 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.806e-06/0.1078, allocations: 0 / 276.3 MB, free: 7.32 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004412/0.1082, allocations: 121.7 kB / 276.4 MB, free: 7.195 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1083, allocations: 59.34 kB / 276.5 MB, free: 7.125 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1084, allocations: 113.1 kB / 276.6 MB, free: 7.008 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1085, allocations: 25.7 kB / 276.6 MB, free: 6.977 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1086, allocations: 174.3 kB / 276.8 MB, free: 6.805 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.1086, allocations: 39.31 kB / 276.8 MB, free: 6.766 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.1087, allocations: 8 kB / 276.8 MB, free: 6.758 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1088, allocations: 318.8 kB / 277.1 MB, free: 6.438 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.1089, allocations: 23.98 kB / 277.2 MB, free: 6.414 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.109, allocations: 69.12 kB / 277.2 MB, free: 6.328 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1092, allocations: 40.75 kB / 277.3 MB, free: 6.289 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1092, allocations: 0 / 277.3 MB, free: 6.289 MB / 234.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003678/0.1096, allocations: 141.4 kB / 277.4 MB, free: 6.145 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1096, allocations: 4 kB / 277.4 MB, free: 6.141 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.1096, allocations: 7.875 kB / 277.4 MB, free: 6.133 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1097, allocations: 4 kB / 277.4 MB, free: 6.129 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.1099, allocations: 28.36 kB / 277.4 MB, free: 6.102 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1099, allocations: 4.156 kB / 277.5 MB, free: 6.098 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1101, allocations: 19.84 kB / 277.5 MB, free: 6.078 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.1101, allocations: 8 kB / 277.5 MB, free: 6.07 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 () * 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.0001342/0.1102, allocations: 129.7 kB / 277.6 MB, free: 5.934 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.1103, allocations: 7.953 kB / 277.6 MB, free: 5.926 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.1108, allocations: 142.2 kB / 277.8 MB, free: 5.773 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1108, allocations: 4 kB / 277.8 MB, free: 5.77 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1108, allocations: 0 / 277.8 MB, free: 5.77 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1109, allocations: 3.938 kB / 277.8 MB, free: 5.766 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.1116, allocations: 394.3 kB / 278.1 MB, free: 5.324 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1116, allocations: 0 / 278.1 MB, free: 5.324 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.1118, allocations: 27.92 kB / 278.2 MB, free: 5.297 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1118, allocations: 0 / 278.2 MB, free: 5.297 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1118, allocations: 0 / 278.2 MB, free: 5.297 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.1118, allocations: 8 kB / 278.2 MB, free: 5.289 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1119, allocations: 4 kB / 278.2 MB, free: 5.285 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.1122, allocations: 199.4 kB / 278.4 MB, free: 5.074 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1123, allocations: 100.9 kB / 278.5 MB, free: 4.957 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.1123, allocations: 8 kB / 278.5 MB, free: 4.949 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1125, allocations: 0 / 278.5 MB, free: 4.949 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.1126, allocations: 7.984 kB / 278.5 MB, free: 4.941 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1126, allocations: 8 kB / 278.5 MB, free: 4.934 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.1127, allocations: 99.2 kB / 278.6 MB, free: 4.836 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1127, allocations: 0 / 278.6 MB, free: 4.836 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004788/0.1132, allocations: 59.92 kB / 278.7 MB, free: 4.777 MB / 234.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.0004451/0.1136, allocations: 171.1 kB / 278.8 MB, free: 4.602 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.114, allocations: 84.2 kB / 278.9 MB, free: 4.52 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.114, allocations: 4 kB / 278.9 MB, free: 4.516 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.1141, allocations: 40.67 kB / 278.9 MB, free: 4.477 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.1147, allocations: 38.02 kB / 279 MB, free: 4.441 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009551/0.1157, allocations: 320.5 kB / 279.3 MB, free: 4.094 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1161, allocations: 0.697 MB / 280 MB, free: 3.371 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1162, allocations: 23.44 kB / 280 MB, free: 3.348 MB / 234.7 MB Notification: Performance of SimCode: time 1.432e-06/0.1162, allocations: 0 / 280 MB, free: 3.348 MB / 234.7 MB Notification: Performance of Templates: time 0.006909/0.1231, allocations: 2.293 MB / 282.3 MB, free: 1.066 MB / 234.7 MB make -j1 -f Modelica_3.2.1_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.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp In file included from OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp:29: ./OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3.2.1_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.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1