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_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 2.243/2.243, allocations: 224.7 MB / 241.1 MB, free: 1.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.601e-05, allocations: 0 / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 50.42 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00637/0.116, allocations: 3.39 MB / 348.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1172, allocations: 0.495 MB / 348.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.1172, allocations: 0 / 348.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.1175, allocations: 27.88 kB / 348.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.119, allocations: 458.7 kB / 349.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1194, allocations: 71.88 kB / 349.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.1196, allocations: 87.8 kB / 349.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.1197, allocations: 0 / 349.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.1214, allocations: 0.632 MB / 350.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1216, allocations: 47.83 kB / 350.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.1238, allocations: 0.8506 MB / 351 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.709e-05/0.1239, allocations: 15.98 kB / 351 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.124, allocations: 19.92 kB / 351.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.1241, allocations: 12 kB / 351.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.1246, allocations: 171.9 kB / 351.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1246, allocations: 0 / 351.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1246, allocations: 0 / 351.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1246, allocations: 0 / 351.2 MB, free: 2.629 MB / 282.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.0005832/0.1252, allocations: 407 kB / 351.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1253, allocations: 8.031 kB / 351.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.1258, allocations: 39.88 kB / 351.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1261, allocations: 194.9 kB / 351.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1261, allocations: 11.98 kB / 351.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.1261, allocations: 8 kB / 351.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1265, allocations: 129 kB / 352 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1265, allocations: 0 / 352 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.1265, allocations: 4 kB / 352 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1266, allocations: 8 kB / 352 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.1268, allocations: 107.8 kB / 352.1 MB, free: 1.625 MB / 282.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.0009558/0.1278, allocations: 0.6684 MB / 352.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.128, allocations: 82.55 kB / 352.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008914/0.1289, allocations: 0.8115 MB / 353.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.129, allocations: 34.5 kB / 353.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.404e-06/0.129, allocations: 0 / 353.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004167/0.1294, allocations: 122.3 kB / 353.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1295, allocations: 55.41 kB / 353.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1296, allocations: 113 kB / 354 MB, free: 15.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1296, allocations: 29.7 kB / 354 MB, free: 15.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.1298, allocations: 170.3 kB / 354.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.1298, allocations: 43.39 kB / 354.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.1298, allocations: 4 kB / 354.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.13, allocations: 322.8 kB / 354.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.1301, allocations: 27.89 kB / 354.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1302, allocations: 69.08 kB / 354.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1303, allocations: 44.11 kB / 354.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1303, allocations: 0 / 354.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003329/0.1307, allocations: 129.5 kB / 354.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1307, allocations: 8 kB / 354.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1307, allocations: 4.156 kB / 354.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1308, allocations: 4 kB / 354.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.131, allocations: 31.92 kB / 354.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.131, allocations: 0 / 354.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1311, allocations: 19.78 kB / 354.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.1312, allocations: 8 kB / 354.9 MB, free: 14.51 MB / 298.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.0001195/0.1313, allocations: 121.8 kB / 355 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.1314, allocations: 11.89 kB / 355 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.1318, allocations: 150.5 kB / 355.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1319, allocations: 0 / 355.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1319, allocations: 0 / 355.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1319, allocations: 0 / 355.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006292/0.1325, allocations: 398.3 kB / 355.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1326, allocations: 0 / 355.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.1327, allocations: 27.98 kB / 355.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1328, allocations: 0 / 355.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1328, allocations: 11.98 kB / 355.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1328, allocations: 0 / 355.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1328, allocations: 0 / 355.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1331, allocations: 207.3 kB / 355.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.1332, allocations: 93.08 kB / 355.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1333, allocations: 4 kB / 355.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1334, allocations: 11.84 kB / 355.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.1335, allocations: 11.98 kB / 355.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.1335, allocations: 8 kB / 355.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.1336, allocations: 87.27 kB / 356 MB, free: 13.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1336, allocations: 0 / 356 MB, free: 13.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004519/0.134, allocations: 59.94 kB / 356.1 MB, free: 13.23 MB / 298.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.0004408/0.1345, allocations: 175.1 kB / 356.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.1348, allocations: 84.28 kB / 356.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1348, allocations: 4 kB / 356.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.1349, allocations: 32.23 kB / 356.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.1354, allocations: 44.2 kB / 356.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.1361, allocations: 320.7 kB / 356.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1364, allocations: 0.7009 MB / 357.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1365, allocations: 23.42 kB / 357.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1365, allocations: 0 / 357.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of Templates: time 0.006282/0.1428, allocations: 2.245 MB / 359.7 MB, free: 9.543 MB / 298.7 MB make -j1 -f Modelica_trunk_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_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:179:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:179:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:179:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:309:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:309:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:309:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ 4 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1