Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadModel(ModelicaTest): time 2.716/2.716, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.22e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4195, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV): time 0.05725/0.4768, allocations: 33.83 MB / 396.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02539/0.5023, allocations: 13.11 MB / 409.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009934/0.5033, allocations: 27.75 kB / 409.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.5045, allocations: 334.3 kB / 410.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01326/0.5178, allocations: 3.439 MB / 413.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006253/0.5241, allocations: 1.647 MB / 415.2 MB, free: 9.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.526, allocations: 0.755 MB / 416 MB, free: 8.574 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006176/0.5267, allocations: 283.5 kB / 416.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.5283, allocations: 0.5491 MB / 416.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008557/0.5369, allocations: 3.517 MB / 420.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01977/0.5567, allocations: 6.907 MB / 427.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002856/0.5596, allocations: 423.9 kB / 427.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.56, allocations: 135.5 kB / 427.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.5603, allocations: 80 kB / 427.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008934/0.5692, allocations: 3.243 MB / 431.1 MB, free: 9.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5693, allocations: 0 / 431.1 MB, free: 9.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5693, allocations: 0 / 431.1 MB, free: 9.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.5694, allocations: 4 kB / 431.1 MB, free: 9.434 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.004943/0.5743, allocations: 1.4 MB / 432.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5744, allocations: 8.031 kB / 432.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.5776, allocations: 298.8 kB / 432.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.5789, allocations: 0.5005 MB / 433.3 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.579, allocations: 49.31 kB / 433.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.5791, allocations: 48 kB / 433.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/0.5827, allocations: 0.9555 MB / 434.4 MB, free: 6.031 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.5828, allocations: 4 kB / 434.4 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.79e-05/0.5829, allocations: 20 kB / 434.4 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/0.583, allocations: 25 kB / 434.4 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003962/0.5869, allocations: 0.8741 MB / 435.3 MB, free: 5.105 MB / 362.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.007349/0.5943, allocations: 4.658 MB / 440 MB, free: 20 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.5983, allocations: 0.7657 MB / 440.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07179/0.6701, allocations: 21.65 MB / 462.4 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.6702, allocations: 38.56 kB / 462.4 MB, free: 6.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.286e-06/0.6702, allocations: 4 kB / 462.4 MB, free: 6.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.01678/0.687, allocations: 2.973 MB / 465.4 MB, free: 3.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.6872, allocations: 111.4 kB / 465.5 MB, free: 3.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/0.6879, allocations: 376.9 kB / 465.9 MB, free: 3.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-05/0.688, allocations: 37.7 kB / 465.9 MB, free: 3.277 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.6883, allocations: 370.3 kB / 466.3 MB, free: 2.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.6886, allocations: 205.1 kB / 466.5 MB, free: 2.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.6887, allocations: 12 kB / 466.5 MB, free: 2.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.6889, allocations: 338.8 kB / 466.8 MB, free: 2.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.6904, allocations: 313.8 kB / 467.1 MB, free: 2.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.692, allocations: 0.5148 MB / 467.6 MB, free: 1.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.6935, allocations: 374 kB / 468 MB, free: 1.082 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.6936, allocations: 0 / 468 MB, free: 1.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004989/0.6986, allocations: 1.105 MB / 469.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0012/0.6998, allocations: 2.357 MB / 471.5 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.6999, allocations: 11.94 kB / 471.5 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003195/0.7031, allocations: 417.3 kB / 471.9 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7042, allocations: 143.8 kB / 472 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.7073, allocations: 1.514 MB / 473.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.7085, allocations: 83.91 kB / 473.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.7087, allocations: 35.98 kB / 473.6 MB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7087, allocations: 4 kB / 473.6 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004354/0.713, allocations: 1.003 MB / 474.7 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.7131, allocations: 12.03 kB / 474.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002626/0.7158, allocations: 377.3 kB / 475 MB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.7168, allocations: 147.8 kB / 475.2 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.7198, allocations: 1.472 MB / 476.6 MB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.7209, allocations: 87.84 kB / 476.7 MB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.721, allocations: 39.92 kB / 476.8 MB, free: 7.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (64): * Single equations (assignments): 62 * 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 8,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005705/0.7216, allocations: 213.6 kB / 477 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.7218, allocations: 55.34 kB / 477 MB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008253/0.73, allocations: 3.443 MB / 480.5 MB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.139e-05/0.7302, allocations: 43.92 kB / 480.5 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.7302, allocations: 0 / 480.5 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.7302, allocations: 7.984 kB / 480.5 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.7416, allocations: 4.724 MB / 485.3 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.7417, allocations: 0 / 485.3 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007659/0.7425, allocations: 107.9 kB / 485.4 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/0.7461, allocations: 0.8788 MB / 486.2 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.7463, allocations: 15.98 kB / 486.3 MB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/0.7497, allocations: 1.949 MB / 488.2 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7498, allocations: 0 / 488.2 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006024/0.7558, allocations: 2.266 MB / 490.5 MB, free: 10 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/0.7566, allocations: 318.9 kB / 490.8 MB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.7568, allocations: 16 kB / 490.8 MB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009961/0.7578, allocations: 83.88 kB / 490.9 MB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.758, allocations: 72.33 kB / 490.9 MB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/0.7581, allocations: 20 kB / 491 MB, free: 9.484 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007068/0.7589, allocations: 395.1 kB / 491.4 MB, free: 9.098 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7589, allocations: 0 / 491.4 MB, free: 9.098 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004845/0.7637, allocations: 1.246 MB / 492.6 MB, free: 7.852 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 (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 7,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.007769/0.7715, allocations: 1.334 MB / 493.9 MB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006785/0.7784, allocations: 1.765 MB / 495.7 MB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.7784, allocations: 4.125 kB / 495.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002719/0.7812, allocations: 0.9843 MB / 496.7 MB, free: 3.766 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.7838, allocations: 282.4 kB / 497 MB, free: 3.496 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/0.7904, allocations: 3.178 MB / 0.4884 GB, free: 284 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3328/1.123, allocations: 1.153 MB / 0.4895 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/1.124, allocations: 61.62 kB / 0.4896 GB, free: 125.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.374e-06/1.124, allocations: 0 / 0.4896 GB, free: 125.5 MB / 426.7 MB Notification: Performance of Templates: time 0.08546/1.209, allocations: 40.11 MB / 0.5288 GB, free: 94.94 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLVCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVFunctions.cpp:6076:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp368, tmp369); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpDefaultLVCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVCalcHelperMain.o] Error 1