Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,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.Essotherm650") Notification: Performance of loadModel(ModelicaTest): time 2.383/2.383, allocations: 269 MB / 284.1 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.076e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1326, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.006678/0.1394, allocations: 3.697 MB / 414.6 MB, free: 9.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004972/0.1444, allocations: 2.619 MB / 417.2 MB, free: 6.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1446, allocations: 3.938 kB / 417.2 MB, free: 6.488 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.1448, allocations: 27.81 kB / 417.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.1478, allocations: 0.8063 MB / 418.1 MB, free: 5.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.1484, allocations: 131.7 kB / 418.2 MB, free: 5.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.1489, allocations: 147.4 kB / 418.4 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.149, allocations: 4 kB / 418.4 MB, free: 5.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.1511, allocations: 0.7529 MB / 419.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.1516, allocations: 135.7 kB / 419.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.1552, allocations: 1.198 MB / 420.4 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.1554, allocations: 27.94 kB / 420.5 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.1555, allocations: 31.89 kB / 420.5 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.781e-05/0.1557, allocations: 20 kB / 420.5 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.157, allocations: 359.6 kB / 420.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1571, allocations: 3.938 kB / 420.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1571, allocations: 3.938 kB / 420.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1571, allocations: 0 / 420.9 MB, free: 2.852 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.001315/0.1584, allocations: 0.5107 MB / 421.4 MB, free: 2.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1585, allocations: 15.97 kB / 421.4 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.1592, allocations: 43.78 kB / 421.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1596, allocations: 206.8 kB / 421.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.1596, allocations: 12 kB / 421.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.1596, allocations: 23.95 kB / 421.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.1603, allocations: 236.7 kB / 421.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1603, allocations: 0 / 421.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.1604, allocations: 11.98 kB / 421.9 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1604, allocations: 4 kB / 421.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.161, allocations: 236.5 kB / 422.2 MB, free: 1.445 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.3305/0.4915, allocations: 1.373 MB / 423.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.4919, allocations: 85.52 kB / 423.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00181/0.4938, allocations: 2.052 MB / 425.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.4942, allocations: 164 kB / 425.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.625e-06/0.4942, allocations: 0.9062 kB / 425.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.001417/0.4956, allocations: 354.6 kB / 426.2 MB, free: 11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.4957, allocations: 271.8 kB / 426.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.4959, allocations: 143.3 kB / 426.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.496, allocations: 30.89 kB / 426.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.4961, allocations: 211.8 kB / 426.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.4962, allocations: 65.78 kB / 426.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.4962, allocations: 9.391 kB / 426.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.4963, allocations: 322.1 kB / 427.2 MB, free: 10 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.4964, allocations: 40.97 kB / 427.2 MB, free: 10 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.4966, allocations: 186 kB / 427.4 MB, free: 9.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.4969, allocations: 70.98 kB / 427.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4969, allocations: 1.656 kB / 427.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006889/0.4976, allocations: 253 kB / 427.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4976, allocations: 7.156 kB / 427.8 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4977, allocations: 8.062 kB / 427.8 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/0.4977, allocations: 12.12 kB / 427.8 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/0.4986, allocations: 95.44 kB / 427.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003272/0.499, allocations: 0.5982 MB / 428.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.4992, allocations: 17.94 kB / 428.5 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.4993, allocations: 21.39 kB / 428.5 MB, free: 9.156 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.0001701/0.4995, allocations: 135.8 kB / 428.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.4996, allocations: 15.48 kB / 428.7 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007929/0.5004, allocations: 231.7 kB / 428.9 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.5004, allocations: 2.625 kB / 428.9 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5004, allocations: 4.688 kB / 428.9 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5004, allocations: 5.469 kB / 428.9 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.5011, allocations: 454.5 kB / 429.3 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5011, allocations: 6.016 kB / 429.3 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.5017, allocations: 51.89 kB / 429.4 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.5017, allocations: 2.062 kB / 429.4 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.5018, allocations: 5.047 kB / 429.4 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003077/0.5021, allocations: 0.5914 MB / 430 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5021, allocations: 4.953 kB / 430 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.5025, allocations: 178 kB / 430.2 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.5027, allocations: 119.4 kB / 430.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.5027, allocations: 7.453 kB / 430.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.503, allocations: 5.781 kB / 430.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.503, allocations: 8.25 kB / 430.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.5031, allocations: 11.88 kB / 430.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.5032, allocations: 126.6 kB / 430.4 MB, free: 7.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5033, allocations: 0 / 430.4 MB, free: 7.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007904/0.5041, allocations: 136.7 kB / 430.6 MB, free: 7.59 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.0008869/0.505, allocations: 263 kB / 430.8 MB, free: 7.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007934/0.5058, allocations: 159.8 kB / 431 MB, free: 7.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5058, allocations: 0 / 431 MB, free: 7.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.5061, allocations: 48.52 kB / 431 MB, free: 7.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.5065, allocations: 35.94 kB / 431.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.5075, allocations: 436.8 kB / 431.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.5077, allocations: 0.7238 MB / 432.2 MB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.5079, allocations: 38.02 kB / 432.3 MB, free: 6.477 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5079, allocations: 0 / 432.3 MB, free: 6.477 MB / 346.7 MB Notification: Performance of Templates: time 0.01409/0.522, allocations: 4.828 MB / 437.1 MB, free: 5.93 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650CalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650Functions.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.Essotherm650CalcHelperMain.cpp:24: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650Initialize.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.Essotherm650Functions.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.Essotherm650CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650Functions.cpp:513:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650Functions.cpp:513:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650Functions.cpp:513:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650Functions.cpp:768:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650Functions.cpp:768:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650Functions.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.Essotherm650CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650CalcHelperMain.o] Error 1