Running command: translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/2.998e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.5337/0.6675, allocations: 122.1 MB / 0.5206 GB, free: 14.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.6784, allocations: 5.988 MB / 0.5264 GB, free: 8.422 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.6787, allocations: 7.938 kB / 0.5264 GB, free: 8.414 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.679, allocations: 43.77 kB / 0.5265 GB, free: 8.371 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004846/0.6839, allocations: 1.343 MB / 0.5278 GB, free: 7.023 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.6844, allocations: 127.7 kB / 0.5279 GB, free: 6.898 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.6851, allocations: 243.9 kB / 0.5281 GB, free: 6.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.6851, allocations: 7.984 kB / 0.5281 GB, free: 6.652 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006981/0.6858, allocations: 279.2 kB / 0.5284 GB, free: 6.379 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.6869, allocations: 355.5 kB / 0.5287 GB, free: 6.031 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008291/0.6952, allocations: 2.235 MB / 0.5309 GB, free: 3.793 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006146/0.6959, allocations: 59.98 kB / 0.531 GB, free: 3.734 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.6961, allocations: 147.6 kB / 0.5311 GB, free: 3.59 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.6963, allocations: 52 kB / 0.5312 GB, free: 3.539 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.6996, allocations: 1.128 MB / 0.5323 GB, free: 2.414 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6996, allocations: 0 / 0.5323 GB, free: 2.414 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6996, allocations: 0 / 0.5323 GB, free: 2.414 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.6997, allocations: 4 kB / 0.5323 GB, free: 2.41 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.003122/0.7028, allocations: 0.8854 MB / 0.5331 GB, free: 1.477 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.7029, allocations: 8.031 kB / 0.5331 GB, free: 1.469 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00624/0.7091, allocations: 0.5535 MB / 0.5337 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.7099, allocations: 327 kB / 0.534 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.7101, allocations: 135.4 kB / 0.5341 GB, free: 404 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.7103, allocations: 28 kB / 0.5342 GB, free: 376 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.7129, allocations: 1.101 MB / 0.5352 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.713, allocations: 4 kB / 0.5352 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.7131, allocations: 15.98 kB / 0.5352 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.7133, allocations: 60.91 kB / 0.5353 GB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005565/0.7188, allocations: 2.326 MB / 0.5376 GB, free: 12.83 MB / 458.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.006368/0.7253, allocations: 2.672 MB / 0.5402 GB, free: 9.961 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.7256, allocations: 106.5 kB / 0.5403 GB, free: 9.848 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002824/0.7285, allocations: 1.26 MB / 0.5415 GB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.7285, allocations: 38.56 kB / 0.5416 GB, free: 8.367 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/0.7286, allocations: 0 / 0.5416 GB, free: 8.367 MB / 458.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=16): time 0.00162/0.7302, allocations: 301.2 kB / 0.5418 GB, free: 8.066 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.7303, allocations: 59.34 kB / 0.5419 GB, free: 7.996 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.7308, allocations: 331.2 kB / 0.5422 GB, free: 7.668 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.7308, allocations: 29.7 kB / 0.5422 GB, free: 7.633 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.7312, allocations: 431.6 kB / 0.5427 GB, free: 7.207 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.744e-05/0.7313, allocations: 71.16 kB / 0.5427 GB, free: 7.137 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.7313, allocations: 16 kB / 0.5427 GB, free: 7.121 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7315, allocations: 338.8 kB / 0.5431 GB, free: 6.781 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.7319, allocations: 125.9 kB / 0.5432 GB, free: 6.656 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.7326, allocations: 0.5647 MB / 0.5437 GB, free: 5.867 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.7331, allocations: 227.7 kB / 0.544 GB, free: 5.645 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.7332, allocations: 4 kB / 0.544 GB, free: 5.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002198/0.7354, allocations: 0.743 MB / 0.5447 GB, free: 4.891 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.7354, allocations: 8 kB / 0.5447 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.7355, allocations: 16 kB / 0.5447 GB, free: 4.867 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.476e-05/0.7355, allocations: 24 kB / 0.5447 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.7366, allocations: 188.4 kB / 0.5449 GB, free: 4.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005218/0.7371, allocations: 0.6249 MB / 0.5455 GB, free: 4.012 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007651/0.7379, allocations: 94.97 kB / 0.5456 GB, free: 3.918 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.738, allocations: 56 kB / 0.5457 GB, free: 3.863 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0003104/0.7383, allocations: 197.4 kB / 0.5458 GB, free: 3.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005692/0.7389, allocations: 87.72 kB / 0.5459 GB, free: 3.574 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.7396, allocations: 211.2 kB / 0.5461 GB, free: 3.352 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.7396, allocations: 0 / 0.5461 GB, free: 3.352 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.7396, allocations: 0 / 0.5461 GB, free: 3.352 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7396, allocations: 4 kB / 0.5461 GB, free: 3.348 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.7407, allocations: 0.5422 MB / 0.5467 GB, free: 2.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7407, allocations: 4 kB / 0.5467 GB, free: 2.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.741, allocations: 31.98 kB / 0.5467 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.741, allocations: 0 / 0.5467 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.741, allocations: 4 kB / 0.5467 GB, free: 2.691 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004143/0.7414, allocations: 0.5937 MB / 0.5473 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7415, allocations: 3.953 kB / 0.5473 GB, free: 2.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.7419, allocations: 330.7 kB / 0.5476 GB, free: 1.676 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.7421, allocations: 116.8 kB / 0.5477 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.7423, allocations: 0 / 0.5477 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.7427, allocations: 15.98 kB / 0.5477 GB, free: 1.527 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.7428, allocations: 15.94 kB / 0.5477 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.7428, allocations: 15.94 kB / 0.5478 GB, free: 1.496 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003951/0.7432, allocations: 239.2 kB / 0.548 GB, free: 1.262 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7432, allocations: 0 / 0.548 GB, free: 1.262 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001542/0.7448, allocations: 331.7 kB / 0.5483 GB, free: 0.9375 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 12 * 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.002049/0.7469, allocations: 490.3 kB / 0.5488 GB, free: 464 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.748, allocations: 327.5 kB / 0.5491 GB, free: 140 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.748, allocations: 4 kB / 0.5491 GB, free: 136 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.7482, allocations: 51.92 kB / 0.5491 GB, free: 84 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.7488, allocations: 47.81 kB / 0.5492 GB, free: 40 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.7504, allocations: 0.8083 MB / 0.55 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.7509, allocations: 0.7921 MB / 0.5507 GB, free: 14.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.7512, allocations: 67.41 kB / 0.5508 GB, free: 14.29 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7512, allocations: 0 / 0.5508 GB, free: 14.29 MB / 474.7 MB Notification: Performance of Templates: time 0.02245/0.7737, allocations: 9.462 MB / 0.5601 GB, free: 4.84 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.FlueGasSixComponentsCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsCalcHelperMain.cpp:24: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsInitialize.h:228:66: error: too many arguments to function call, expected 5, have 7 _functions->f__nonlinear(u, h, X, exclEnthForm, refChoice, h_off, output); ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsFunctions.h:16:3: note: 'f__nonlinear' declared here void /*f__nonlinearRetType*/ f__nonlinear(double u_, double p_, double s_, BaseArray& X_, f__nonlinearRetType& output); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsCalcHelperMain.cpp:24: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsInitialize.h:250:66: error: too many arguments to function call, expected 5, have 7 _functions->f__nonlinear(u, h, X, exclEnthForm, refChoice, h_off, output); ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsFunctions.h:16:3: note: 'f__nonlinear' declared here void /*f__nonlinearRetType*/ f__nonlinear(double u_, double p_, double s_, BaseArray& X_, f__nonlinearRetType& output); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsCalcHelperMain.cpp:24: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsInitialize.h:290:66: error: too many arguments to function call, expected 5, have 7 _functions->f__nonlinear(u, h, X, exclEnthForm, refChoice, h_off, output); ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsFunctions.h:16:3: note: 'f__nonlinear' declared here void /*f__nonlinearRetType*/ f__nonlinear(double u_, double p_, double s_, BaseArray& X_, f__nonlinearRetType& output); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsCalcHelperMain.cpp:24: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsInitialize.h:330:66: error: too many arguments to function call, expected 5, have 7 _functions->f__nonlinear(u, h, X, exclEnthForm, refChoice, h_off, output); ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsFunctions.h:16:3: note: 'f__nonlinear' declared here void /*f__nonlinearRetType*/ f__nonlinear(double u_, double p_, double s_, BaseArray& X_, f__nonlinearRetType& output); ^ 4 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponentsCalcHelperMain.o] Error 1