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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.484e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3565, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.07109/0.4276, allocations: 33.95 MB / 358.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04029/0.468, allocations: 16.13 MB / 374.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.4693, allocations: 35.69 kB / 375 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.471, allocations: 390.1 kB / 375.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0158/0.4869, allocations: 3.587 MB / 378.9 MB, free: 9.391 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01103/0.4979, allocations: 2.578 MB / 381.5 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.5003, allocations: 0.8061 MB / 382.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006888/0.501, allocations: 291.5 kB / 382.6 MB, free: 5.719 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.5028, allocations: 0.5647 MB / 383.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01649/0.5193, allocations: 6.18 MB / 389.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02102/0.5404, allocations: 6.946 MB / 396.3 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003011/0.5435, allocations: 424 kB / 396.7 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.5439, allocations: 147.5 kB / 396.9 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.5443, allocations: 80 kB / 396.9 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009419/0.5537, allocations: 3.313 MB / 400.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5538, allocations: 0 / 400.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5538, allocations: 0 / 400.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.5538, allocations: 0 / 400.3 MB, free: 4.055 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.005044/0.5589, allocations: 1.447 MB / 401.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.559, allocations: 8.031 kB / 401.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.5622, allocations: 286.8 kB / 402 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.5635, allocations: 0.52 MB / 402.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.5636, allocations: 53.31 kB / 402.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.5637, allocations: 55.95 kB / 402.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/0.5676, allocations: 0.9906 MB / 403.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.5677, allocations: 3.938 kB / 403.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.5678, allocations: 28 kB / 403.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.5679, allocations: 21 kB / 403.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/0.5722, allocations: 0.9053 MB / 404.6 MB, free: 15.59 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.008168/0.5804, allocations: 4.819 MB / 409.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.5841, allocations: 0.705 MB / 410.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0768/0.661, allocations: 21.57 MB / 431.7 MB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/0.6611, allocations: 42.52 kB / 431.7 MB, free: 1.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 4.408e-06/0.6611, allocations: 0 / 431.7 MB, free: 1.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.08026/0.7414, allocations: 4.051 MB / 435.8 MB, free: 13.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.7416, allocations: 111.4 kB / 435.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.7428, allocations: 437.9 kB / 436.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.743, allocations: 37.7 kB / 436.3 MB, free: 12.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005852/0.7488, allocations: 382.1 kB / 436.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.7493, allocations: 209 kB / 436.9 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.7494, allocations: 16 kB / 436.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.7497, allocations: 338.8 kB / 437.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.7519, allocations: 389.8 kB / 437.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.7544, allocations: 0.5937 MB / 438.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009188/0.7637, allocations: 438 kB / 438.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.7637, allocations: 4 kB / 438.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005757/0.7695, allocations: 1.25 MB / 439.9 MB, free: 8.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001145/0.7707, allocations: 2.44 MB / 442.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.7707, allocations: 4 kB / 442.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006555/0.7773, allocations: 0.8405 MB / 443.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.7785, allocations: 159.8 kB / 443.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003823/0.7823, allocations: 1.682 MB / 445 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.7838, allocations: 103.8 kB / 445.1 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.784, allocations: 43.97 kB / 445.2 MB, free: 3.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.784, allocations: 4 kB / 445.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0052/0.7893, allocations: 1.194 MB / 446.4 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.7893, allocations: 8 kB / 446.4 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003425/0.7928, allocations: 0.5641 MB / 446.9 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.7939, allocations: 163.8 kB / 447.1 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.7976, allocations: 1.628 MB / 448.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.7988, allocations: 103.8 kB / 448.8 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.799, allocations: 39.98 kB / 448.9 MB, free: 15.58 MB / 394.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.0005956/0.7996, allocations: 221.5 kB / 449.1 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.7999, allocations: 67.25 kB / 449.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009162/0.809, allocations: 3.817 MB / 453 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.005e-05/0.8092, allocations: 43.92 kB / 453 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.8092, allocations: 4 kB / 453 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.8092, allocations: 3.984 kB / 453 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.8205, allocations: 5.15 MB / 458.2 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.8205, allocations: 64 / 458.2 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.8213, allocations: 107.9 kB / 458.3 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007026/0.8283, allocations: 1.594 MB / 459.9 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.8285, allocations: 19.98 kB / 459.9 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004568/0.8331, allocations: 2.37 MB / 462.3 MB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/0.8331, allocations: 3.938 kB / 462.3 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007434/0.8406, allocations: 2.634 MB / 464.9 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007563/0.8414, allocations: 342.8 kB / 465.2 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.8416, allocations: 16 kB / 465.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.8428, allocations: 95.77 kB / 465.3 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.843, allocations: 72.44 kB / 465.4 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.67e-05/0.8431, allocations: 27.98 kB / 465.4 MB, free: 14.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008357/0.844, allocations: 427 kB / 465.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.844, allocations: 0 / 465.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007041/0.851, allocations: 1.375 MB / 467.2 MB, free: 12.88 MB / 410.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.01081/0.8619, allocations: 1.43 MB / 468.7 MB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0104/0.8724, allocations: 2.023 MB / 470.7 MB, free: 9.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.8724, allocations: 4.547 kB / 470.7 MB, free: 9.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003946/0.8764, allocations: 1.117 MB / 471.8 MB, free: 8.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003946/0.8804, allocations: 294.6 kB / 472.1 MB, free: 7.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/0.8897, allocations: 3.354 MB / 475.4 MB, free: 4.605 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.891, allocations: 1.174 MB / 476.6 MB, free: 3.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.8915, allocations: 67.42 kB / 476.7 MB, free: 3.336 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.8915, allocations: 0 / 476.7 MB, free: 3.336 MB / 410.7 MB Notification: Performance of Templates: time 0.3794/1.271, allocations: 43.28 MB / 0.5078 GB, free: 109.5 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.1_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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultFunctions.cpp:6701:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp444, tmp445); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpDefaultCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCalcHelperMain.o] Error 1