Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 2.574/2.574, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.767e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4059, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.06042/0.4664, allocations: 34.2 MB / 397.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03348/0.4999, allocations: 16.22 MB / 413.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.5012, allocations: 31.75 kB / 413.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.5028, allocations: 398 kB / 413.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01465/0.5174, allocations: 3.63 MB / 417.3 MB, free: 7.254 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.5278, allocations: 2.586 MB / 419.9 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.5301, allocations: 0.8217 MB / 420.7 MB, free: 3.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.5308, allocations: 302.4 kB / 421 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.5324, allocations: 0.5686 MB / 421.6 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01837/0.5508, allocations: 6.266 MB / 427.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02816/0.579, allocations: 7.067 MB / 434.9 MB, free: 5.625 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003648/0.5827, allocations: 439.9 kB / 435.4 MB, free: 5.195 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.5833, allocations: 147.4 kB / 435.5 MB, free: 5.051 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004636/0.5838, allocations: 80 kB / 435.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.5964, allocations: 3.36 MB / 438.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5964, allocations: 0 / 438.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.5965, allocations: 0 / 438.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.666e-05/0.5965, allocations: 0 / 438.9 MB, free: 1.605 MB / 362.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.007981/0.6045, allocations: 1.47 MB / 440.4 MB, free: 84 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.6046, allocations: 8.031 kB / 440.4 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005748/0.6104, allocations: 318.8 kB / 440.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.6124, allocations: 0.5161 MB / 441.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.6125, allocations: 45.31 kB / 441.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.6128, allocations: 52 kB / 441.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005632/0.6184, allocations: 0.9866 MB / 442.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/0.6185, allocations: 7.938 kB / 442.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.6187, allocations: 20 kB / 442.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/0.6188, allocations: 24.94 kB / 442.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006473/0.6253, allocations: 0.9053 MB / 443.3 MB, free: 13.11 MB / 378.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.0119/0.6372, allocations: 4.816 MB / 448.1 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005314/0.6426, allocations: 0.7127 MB / 448.8 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08093/0.7235, allocations: 21.64 MB / 470.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.7237, allocations: 38.5 kB / 470.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.306e-06/0.7237, allocations: 0 / 470.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.04676/0.7705, allocations: 4.054 MB / 474.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.7706, allocations: 107.4 kB / 474.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.7715, allocations: 434 kB / 475.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.7717, allocations: 41.7 kB / 475.1 MB, free: 10 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.772, allocations: 386 kB / 475.5 MB, free: 9.621 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.7723, allocations: 205 kB / 475.7 MB, free: 9.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.7724, allocations: 16 kB / 475.7 MB, free: 9.402 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7726, allocations: 338.8 kB / 476 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.7743, allocations: 393.8 kB / 476.4 MB, free: 8.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.7762, allocations: 0.5898 MB / 477 MB, free: 7.996 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.7782, allocations: 446 kB / 477.5 MB, free: 7.559 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.7783, allocations: 3.938 kB / 477.5 MB, free: 7.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00521/0.7835, allocations: 1.238 MB / 478.7 MB, free: 6.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001086/0.7846, allocations: 2.436 MB / 481.1 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.7847, allocations: 4 kB / 481.1 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00662/0.7913, allocations: 0.8522 MB / 482 MB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.7925, allocations: 167.8 kB / 482.1 MB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/0.7963, allocations: 1.678 MB / 483.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.7979, allocations: 99.92 kB / 483.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.7981, allocations: 47.98 kB / 484 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.7981, allocations: 5.719 kB / 484 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005241/0.8034, allocations: 1.206 MB / 485.2 MB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.8034, allocations: 8 kB / 485.2 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003466/0.8069, allocations: 0.5558 MB / 485.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.8081, allocations: 167.8 kB / 485.9 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/0.8117, allocations: 1.62 MB / 487.5 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.813, allocations: 99.94 kB / 487.6 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.8131, allocations: 43.97 kB / 487.7 MB, free: 13.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006351/0.8138, allocations: 217.6 kB / 487.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.814, allocations: 67.16 kB / 487.9 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00959/0.8237, allocations: 3.821 MB / 491.8 MB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.957e-05/0.8238, allocations: 43.92 kB / 491.8 MB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.8238, allocations: 0 / 491.8 MB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.8239, allocations: 7.984 kB / 491.8 MB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.8359, allocations: 5.131 MB / 497 MB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.836, allocations: 3.984 kB / 497 MB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007792/0.8368, allocations: 111.9 kB / 497.1 MB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007245/0.844, allocations: 1.586 MB / 498.7 MB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.8442, allocations: 27.98 kB / 498.7 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3116/1.156, allocations: 2.37 MB / 0.4893 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.156, allocations: 2.656 kB / 0.4893 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00787/1.164, allocations: 2.639 MB / 0.4919 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.165, allocations: 344.5 kB / 0.4922 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/1.165, allocations: 13.12 kB / 0.4922 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.167, allocations: 98.52 kB / 0.4923 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/1.168, allocations: 65.12 kB / 0.4924 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.168, allocations: 26.41 kB / 0.4924 GB, free: 125.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001221/1.169, allocations: 431.1 kB / 0.4928 GB, free: 125.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.169, allocations: 2.469 kB / 0.4928 GB, free: 125.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009013/1.178, allocations: 1.385 MB / 0.4942 GB, free: 125.4 MB / 426.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: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/1.19, allocations: 1.432 MB / 0.4956 GB, free: 125.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01016/1.2, allocations: 2.021 MB / 0.4975 GB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.2, allocations: 0 / 0.4975 GB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004118/1.204, allocations: 1.117 MB / 0.4986 GB, free: 124.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/1.208, allocations: 304.6 kB / 0.4989 GB, free: 124 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/1.215, allocations: 3.36 MB / 0.5022 GB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/1.216, allocations: 1.18 MB / 0.5034 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/1.216, allocations: 62.72 kB / 0.5034 GB, free: 121.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/1.216, allocations: 3.609 kB / 0.5034 GB, free: 121.4 MB / 426.7 MB Notification: Performance of Templates: time 0.07785/1.294, allocations: 43.46 MB / 0.5459 GB, free: 78.18 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultFunctions.cpp:6731:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp442, tmp443); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCalcHelperMain.o] Error 1