Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.513e-05, allocations: 0 / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 61.88 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007051/0.1461, allocations: 3.705 MB / 414.6 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.1514, allocations: 2.619 MB / 417.2 MB, free: 6.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.1516, allocations: 4 kB / 417.2 MB, free: 6.496 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1519, allocations: 23.88 kB / 417.3 MB, free: 6.473 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.155, allocations: 0.7789 MB / 418.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.1556, allocations: 131.8 kB / 418.2 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.156, allocations: 147.4 kB / 418.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.1561, allocations: 8 kB / 418.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.158, allocations: 0.6671 MB / 419 MB, free: 4.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.1584, allocations: 131.7 kB / 419.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.1616, allocations: 1.1 MB / 420.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.1618, allocations: 24 kB / 420.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.162, allocations: 35.83 kB / 420.3 MB, free: 3.453 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.1621, allocations: 20 kB / 420.3 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.1633, allocations: 355.6 kB / 420.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1633, allocations: 0 / 420.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1633, allocations: 7.938 kB / 420.7 MB, free: 3.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1633, allocations: 0 / 420.7 MB, free: 3.078 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001258/0.1646, allocations: 0.5106 MB / 421.2 MB, free: 2.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1647, allocations: 12.03 kB / 421.2 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006251/0.1653, allocations: 43.78 kB / 421.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.1656, allocations: 214.8 kB / 421.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.1657, allocations: 16 kB / 421.5 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.1657, allocations: 19.95 kB / 421.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.1663, allocations: 236.7 kB / 421.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1664, allocations: 0 / 421.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.1664, allocations: 4 kB / 421.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1664, allocations: 12 kB / 421.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.167, allocations: 232.5 kB / 421.9 MB, free: 1.672 MB / 346.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.001906/0.1689, allocations: 1.376 MB / 423.3 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.1693, allocations: 86.55 kB / 423.4 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3457/0.515, allocations: 2.043 MB / 425.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.5154, allocations: 164.8 kB / 425.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.394e-06/0.5154, allocations: 0.7812 kB / 425.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.001439/0.5169, allocations: 355.9 kB / 426 MB, free: 11.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.517, allocations: 271 kB / 426.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.5172, allocations: 144.4 kB / 426.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.5173, allocations: 30.52 kB / 426.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.5174, allocations: 211.5 kB / 426.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.5175, allocations: 68.61 kB / 426.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.5175, allocations: 5.656 kB / 426.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.5176, allocations: 327.8 kB / 427 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.5178, allocations: 39.81 kB / 427 MB, free: 10.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.518, allocations: 180.8 kB / 427.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.5182, allocations: 74.02 kB / 427.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5183, allocations: 6.344 kB / 427.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007242/0.519, allocations: 250 kB / 427.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.519, allocations: 6.609 kB / 427.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.5191, allocations: 6.031 kB / 427.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/0.5191, allocations: 7.234 kB / 427.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.52, allocations: 102.2 kB / 427.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003405/0.5204, allocations: 0.5929 MB / 428.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.5207, allocations: 19.56 kB / 428.3 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.5207, allocations: 21.25 kB / 428.3 MB, free: 9.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.5209, allocations: 134.2 kB / 428.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/0.521, allocations: 15.23 kB / 428.4 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008361/0.5219, allocations: 244.7 kB / 428.7 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.5219, allocations: 5.656 kB / 428.7 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5219, allocations: 0.8438 kB / 428.7 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.5219, allocations: 2.391 kB / 428.7 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.5226, allocations: 454.6 kB / 429.1 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5226, allocations: 1.062 kB / 429.1 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.5232, allocations: 53.53 kB / 429.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.5232, allocations: 1.156 kB / 429.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.5233, allocations: 10.19 kB / 429.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002648/0.5235, allocations: 0.5794 MB / 429.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.5236, allocations: 8.297 kB / 429.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.5239, allocations: 171.2 kB / 429.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.5241, allocations: 124.9 kB / 430.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.5241, allocations: 2.797 kB / 430.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.5244, allocations: 7.531 kB / 430.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.5245, allocations: 9.562 kB / 430.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.5245, allocations: 9.109 kB / 430.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.5247, allocations: 121.3 kB / 430.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.252e-06/0.5247, allocations: 0.625 kB / 430.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000845/0.5255, allocations: 137.9 kB / 430.3 MB, free: 7.938 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008959/0.5265, allocations: 275 kB / 430.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008564/0.5273, allocations: 149.7 kB / 430.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5274, allocations: 0.875 kB / 430.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.5277, allocations: 51.8 kB / 430.8 MB, free: 7.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.5281, allocations: 33.36 kB / 430.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009895/0.5291, allocations: 441.4 kB / 431.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.5294, allocations: 0.7171 MB / 432 MB, free: 6.832 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5296, allocations: 38.12 kB / 432 MB, free: 6.824 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5296, allocations: 4 kB / 432 MB, free: 6.82 MB / 346.7 MB Notification: Performance of Templates: time 0.01433/0.5439, allocations: 4.822 MB / 436.9 MB, free: 6.277 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.h:317:46: error: too few arguments to function call, expected 4, have 3 _functions->f__nonlinear(u, s, output); ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.h:16:3: note: 'f__nonlinear' declared here void /*f__nonlinearRetType*/ f__nonlinear(double u_, double p_, double h_, f__nonlinearRetType& output); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.cpp:24: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Initialize.h:127:44: error: too few arguments to function call, expected 4, have 3 _functions->f__nonlinear(u, s, output); ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.h:16:3: note: 'f__nonlinear' declared here void /*f__nonlinearRetType*/ f__nonlinear(double u_, double p_, double h_, f__nonlinearRetType& output); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.cpp:513:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.cpp:513:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.cpp:513:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.cpp:768:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.cpp:768:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.cpp:768:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ 6 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.o] Error 1