Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadModel(ModelicaTest): time 2.004/2.004, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.184e-05/5.2e-05, allocations: 7.984 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3849, allocations: 48.69 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.05646/0.4414, allocations: 33.96 MB / 358.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03218/0.4737, allocations: 16.15 MB / 375 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.4748, allocations: 35.75 kB / 375 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.4762, allocations: 386.1 kB / 375.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01493/0.4912, allocations: 3.583 MB / 379 MB, free: 9.387 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.5015, allocations: 2.586 MB / 381.5 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.5037, allocations: 0.7983 MB / 382.3 MB, free: 6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.5043, allocations: 307.4 kB / 382.6 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.5058, allocations: 0.5726 MB / 383.2 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01507/0.5209, allocations: 6.184 MB / 389.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02011/0.541, allocations: 7.039 MB / 396.4 MB, free: 7.887 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002905/0.544, allocations: 424 kB / 396.8 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.5443, allocations: 139.5 kB / 397 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.5447, allocations: 80 kB / 397.1 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009528/0.5543, allocations: 3.34 MB / 400.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5543, allocations: 0 / 400.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5543, allocations: 0 / 400.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.5544, allocations: 0 / 400.4 MB, free: 3.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005068/0.5594, allocations: 1.447 MB / 401.8 MB, free: 2.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5595, allocations: 12.03 kB / 401.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/0.5627, allocations: 294.8 kB / 402.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.5639, allocations: 0.5161 MB / 402.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.564, allocations: 53.25 kB / 402.7 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.5641, allocations: 63.95 kB / 402.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/0.5678, allocations: 0.9867 MB / 403.8 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.5679, allocations: 3.938 kB / 403.8 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.568, allocations: 28 kB / 403.8 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.5681, allocations: 24.94 kB / 403.8 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004104/0.5722, allocations: 0.9131 MB / 404.7 MB, free: 15.43 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.006952/0.5792, allocations: 4.491 MB / 409.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.5832, allocations: 0.7928 MB / 410 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6383/1.221, allocations: 83.84 MB / 493.9 MB, free: 128.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/1.222, allocations: 38.22 kB / 493.9 MB, free: 128.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.755e-06/1.222, allocations: 1.25 kB / 493.9 MB, free: 128.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.01042/1.232, allocations: 2.289 MB / 496.2 MB, free: 127.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/1.232, allocations: 108.4 kB / 496.3 MB, free: 127 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/1.233, allocations: 433.3 kB / 496.7 MB, free: 126.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/1.233, allocations: 35.95 kB / 496.7 MB, free: 126.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/1.233, allocations: 373.3 kB / 497.1 MB, free: 126.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/1.233, allocations: 176.6 kB / 497.3 MB, free: 126.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/1.233, allocations: 16.62 kB / 497.3 MB, free: 126.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.08e-05/1.234, allocations: 344.5 kB / 497.6 MB, free: 125.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/1.235, allocations: 277.9 kB / 497.9 MB, free: 125.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1.236, allocations: 474.2 kB / 498.4 MB, free: 125.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.237, allocations: 324.9 kB / 498.7 MB, free: 125.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.237, allocations: 1.344 kB / 498.7 MB, free: 125.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003884/1.241, allocations: 0.9792 MB / 499.7 MB, free: 124.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004418/1.242, allocations: 2.179 MB / 0.4901 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.242, allocations: 5.625 kB / 0.4901 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003251/1.245, allocations: 419.4 kB / 0.4905 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/1.246, allocations: 149.7 kB / 0.4906 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/1.248, allocations: 0.9127 MB / 0.4915 GB, free: 121.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/1.249, allocations: 89.06 kB / 0.4916 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.249, allocations: 43.42 kB / 0.4917 GB, free: 121.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.249, allocations: 4.781 kB / 0.4917 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004274/1.254, allocations: 0.9626 MB / 0.4926 GB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.254, allocations: 5.25 kB / 0.4926 GB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/1.256, allocations: 330.1 kB / 0.4929 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.257, allocations: 143 kB / 0.4931 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/1.259, allocations: 0.8765 MB / 0.4939 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.26, allocations: 87.02 kB / 0.494 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/1.26, allocations: 39.45 kB / 0.494 GB, free: 120 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0004949/1.26, allocations: 215.4 kB / 0.4942 GB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/1.261, allocations: 62.59 kB / 0.4943 GB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005283/1.266, allocations: 2.929 MB / 0.4972 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/1.266, allocations: 43.09 kB / 0.4972 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.266, allocations: 0 / 0.4972 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.266, allocations: 3.984 kB / 0.4972 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00653/1.273, allocations: 4.078 MB / 0.5012 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.273, allocations: 0 / 0.5012 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.274, allocations: 167.8 kB / 0.5013 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/1.275, allocations: 72.64 kB / 0.5014 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/1.275, allocations: 19.98 kB / 0.5014 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006381/1.275, allocations: 1.174 MB / 0.5026 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.275, allocations: 3.938 kB / 0.5026 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004915/1.28, allocations: 2.605 MB / 0.5051 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/1.281, allocations: 318.8 kB / 0.5054 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/1.281, allocations: 19.67 kB / 0.5054 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008566/1.282, allocations: 71.95 kB / 0.5055 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.282, allocations: 56.47 kB / 0.5056 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/1.282, allocations: 20 kB / 0.5056 GB, free: 109.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006352/1.283, allocations: 399 kB / 0.506 GB, free: 109.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.283, allocations: 0 / 0.506 GB, free: 109.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004372/1.287, allocations: 1.272 MB / 0.5072 GB, free: 108 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007128/1.294, allocations: 1.388 MB / 0.5086 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004932/1.299, allocations: 1.528 MB / 0.5101 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.018e-05/1.299, allocations: 0 / 0.5101 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00211/1.302, allocations: 0.8873 MB / 0.5109 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.304, allocations: 298.5 kB / 0.5112 GB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/1.31, allocations: 3.274 MB / 0.5144 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/1.311, allocations: 1.166 MB / 0.5155 GB, free: 99.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/1.311, allocations: 67.42 kB / 0.5156 GB, free: 99.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/1.311, allocations: 0 / 0.5156 GB, free: 99.64 MB / 410.7 MB Notification: Performance of Templates: time 0.07145/1.382, allocations: 38.76 MB / 0.5535 GB, free: 60.86 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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 OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicFunctions.cpp:6307:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp397, tmp398); ^~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/ArrayOperations.h:91:6: note: candidate function not viable: no known conversion from 'double' to 'const BaseArray' for 1st argument void add_array_scalar(const BaseArray& inputArray, T b, BaseArray& outputArray); ^ 1 error generated. : recipe for target 'OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicCalcHelperMain.o] Error 1