Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 2.203/2.203, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.065e-05, allocations: 4 kB / 294.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.41 MB / 345 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001655/0.1095, allocations: 1.045 MB / 346 MB, free: 7.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006259/0.1158, allocations: 3.265 MB / 349.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.1159, allocations: 4 kB / 349.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.1159, allocations: 0 / 349.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009777/0.1169, allocations: 199.3 kB / 349.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1181, allocations: 319 kB / 349.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.297e-05/0.1182, allocations: 23.95 kB / 349.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.1183, allocations: 4 kB / 349.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1184, allocations: 31.91 kB / 349.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1195, allocations: 375.5 kB / 350.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.1208, allocations: 403.4 kB / 350.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.006e-05/0.1209, allocations: 16 kB / 350.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.121, allocations: 7.938 kB / 350.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.121, allocations: 4 kB / 350.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008571/0.1219, allocations: 247.8 kB / 350.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1219, allocations: 0 / 350.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1219, allocations: 0 / 350.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1219, allocations: 0 / 350.9 MB, free: 3.035 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005833/0.1225, allocations: 427 kB / 351.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1226, allocations: 12.03 kB / 351.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.1226, allocations: 0 / 351.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.1229, allocations: 186.9 kB / 351.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.123, allocations: 7.984 kB / 351.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.123, allocations: 0 / 351.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1232, allocations: 67.39 kB / 351.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1232, allocations: 3.938 kB / 351.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1232, allocations: 0 / 351.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1233, allocations: 3.953 kB / 351.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1234, allocations: 19.98 kB / 351.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.1236, allocations: 170.6 kB / 351.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.124, allocations: 85.22 kB / 351.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.1253, allocations: 1.532 MB / 353.4 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/0.1254, allocations: 30.56 kB / 353.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.1254, allocations: 0 / 353.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004497/0.1259, allocations: 81.59 kB / 353.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.126, allocations: 81.11 kB / 353.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1261, allocations: 112.9 kB / 353.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1261, allocations: 25.7 kB / 353.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.1262, allocations: 150.6 kB / 353.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.1262, allocations: 27.64 kB / 353.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.1263, allocations: 7.938 kB / 353.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1264, allocations: 310.8 kB / 354.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.1265, allocations: 11.98 kB / 354.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1266, allocations: 43.42 kB / 354.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.1267, allocations: 15.94 kB / 354.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1267, allocations: 0 / 354.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000297/0.127, allocations: 89.5 kB / 354.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1271, allocations: 8.062 kB / 354.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1271, allocations: 0 / 354.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1271, allocations: 8.406 kB / 354.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1273, allocations: 15.94 kB / 354.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1273, allocations: 3.984 kB / 354.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.1274, allocations: 4 kB / 354.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1274, allocations: 7.953 kB / 354.4 MB, free: 14.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.416e-05/0.1275, allocations: 109.8 kB / 354.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1275, allocations: 4 kB / 354.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.128, allocations: 133.2 kB / 354.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.128, allocations: 4 kB / 354.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1281, allocations: 0 / 354.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1281, allocations: 3.984 kB / 354.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1283, allocations: 169.6 kB / 354.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1283, allocations: 0 / 354.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1284, allocations: 19.98 kB / 354.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1284, allocations: 4 kB / 354.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1285, allocations: 0 / 354.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1285, allocations: 0 / 354.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1285, allocations: 0 / 354.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.1289, allocations: 163.4 kB / 355 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.232e-05/0.129, allocations: 93.03 kB / 355.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1291, allocations: 0 / 355.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.1292, allocations: 15.98 kB / 355.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1292, allocations: 4 kB / 355.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1292, allocations: 0 / 355.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.741e-05/0.1293, allocations: 91.27 kB / 355.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1293, allocations: 0 / 355.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006021/0.1299, allocations: 135.8 kB / 355.3 MB, free: 13.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008543/0.1308, allocations: 294.5 kB / 355.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.1311, allocations: 47.91 kB / 355.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1311, allocations: 0 / 355.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1313, allocations: 31.91 kB / 355.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1315, allocations: 8.781 kB / 355.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.1323, allocations: 371.6 kB / 356 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1326, allocations: 0.6887 MB / 356.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.1327, allocations: 31.36 kB / 356.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1327, allocations: 3.938 kB / 356.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of Templates: time 0.0096/0.1423, allocations: 2.942 MB / 359.7 MB, free: 9.422 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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 OMCppModelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TFunctions.h:161:44: error: too few arguments to function call, expected 4, have 3 _functions->f__nonlinear(u, s, output); ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TFunctions.h:16:3: note: 'f__nonlinear' declared here void /*f__nonlinearRetType*/ f__nonlinear(double u_, double p_, double h_, f__nonlinearRetType& output); ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.o] Error 1