Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|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|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.012e-05, allocations: 11.98 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3479, allocations: 48.69 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.03662/0.3846, allocations: 17.6 MB / 342.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02124/0.4059, allocations: 6.974 MB / 349.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.4075, allocations: 38.97 kB / 349.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.4095, allocations: 361.9 kB / 349.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.4142, allocations: 0.8606 MB / 350.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01/0.4243, allocations: 1.731 MB / 352.4 MB, free: 52 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.4274, allocations: 0.8128 MB / 353.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.4286, allocations: 457.5 kB / 353.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.4305, allocations: 0.5444 MB / 354.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.4335, allocations: 0.9033 MB / 355.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.4359, allocations: 0.5589 MB / 355.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.4363, allocations: 55.5 kB / 355.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.4366, allocations: 176 kB / 355.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.4372, allocations: 81.34 kB / 356 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.4394, allocations: 1.004 MB / 357 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4395, allocations: 0 / 357 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4395, allocations: 0 / 357 MB, free: 13.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.4395, allocations: 0 / 357 MB, free: 13.43 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003524/0.443, allocations: 0.9764 MB / 358 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4431, allocations: 9.156 kB / 358 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.4437, allocations: 106.8 kB / 358.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.4452, allocations: 0.5525 MB / 358.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.4453, allocations: 42.41 kB / 358.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.4454, allocations: 54.05 kB / 358.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.4478, allocations: 0.8131 MB / 359.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.4479, allocations: 0 / 359.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.448, allocations: 23.03 kB / 359.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/0.4481, allocations: 23.53 kB / 359.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.4508, allocations: 0.7879 MB / 360.4 MB, free: 11.16 MB / 298.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.008096/0.4589, allocations: 3.66 MB / 364 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.4609, allocations: 479.1 kB / 364.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006273/0.4616, allocations: 0.5704 MB / 365.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.4616, allocations: 42.88 kB / 365.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001206/0.4628, allocations: 123.5 kB / 365.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 3.477e-06/0.4629, allocations: 0 / 365.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=69): time 0.09655/0.5594, allocations: 7.738 MB / 373 MB, free: 14.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/0.5595, allocations: 111.4 kB / 373.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.5606, allocations: 495.4 kB / 373.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.5609, allocations: 41.7 kB / 373.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.5613, allocations: 409.9 kB / 374 MB, free: 13.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004207/0.5618, allocations: 236.6 kB / 374.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.5619, allocations: 23.94 kB / 374.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.5621, allocations: 342.8 kB / 374.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/0.5648, allocations: 0.5055 MB / 375.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/0.5678, allocations: 0.7472 MB / 375.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.5707, allocations: 0.5614 MB / 376.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.5708, allocations: 4 kB / 376.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.006776/0.5775, allocations: 1.462 MB / 377.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001458/0.579, allocations: 2.965 MB / 380.8 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/0.5791, allocations: 8 kB / 380.8 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/0.5961, allocations: 1.136 MB / 382 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.5992, allocations: 319.5 kB / 382.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.6012, allocations: 0.8136 MB / 383.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.604, allocations: 135.9 kB / 383.2 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.6044, allocations: 67.92 kB / 383.3 MB, free: 3.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.6044, allocations: 4 kB / 383.3 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007093/0.6115, allocations: 1.383 MB / 384.7 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.6116, allocations: 8 kB / 384.7 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007234/0.6123, allocations: 112.8 kB / 384.8 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/0.6155, allocations: 343.3 kB / 385.1 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.6189, allocations: 1.92 MB / 387.1 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.6214, allocations: 139.8 kB / 387.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.6216, allocations: 63.94 kB / 387.3 MB, free: 15.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006763/0.6223, allocations: 225.1 kB / 387.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.6226, allocations: 79.06 kB / 387.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008085/0.6307, allocations: 1.744 MB / 389.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.6308, allocations: 8 kB / 389.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6308, allocations: 0 / 389.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.6309, allocations: 3.984 kB / 389.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.6421, allocations: 2.782 MB / 392.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.6422, allocations: 0 / 392.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/0.6445, allocations: 231.7 kB / 392.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01148/0.656, allocations: 0.9536 MB / 393.3 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002682/0.6563, allocations: 27.97 kB / 393.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.6582, allocations: 0.849 MB / 394.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6583, allocations: 0 / 394.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.6711, allocations: 2.091 MB / 396.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.6722, allocations: 259.9 kB / 396.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000335/0.6726, allocations: 16 kB / 396.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/0.6751, allocations: 131.8 kB / 396.6 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.6754, allocations: 56.91 kB / 396.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/0.6756, allocations: 39.97 kB / 396.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009352/0.6766, allocations: 383.1 kB / 397.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6766, allocations: 0 / 397.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004041/0.6807, allocations: 0.5702 MB / 397.7 MB, free: 5.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.00214/0.6829, allocations: 373.1 kB / 398 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01328/0.6962, allocations: 2.12 MB / 400.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.6962, allocations: 0 / 400.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004244/0.7005, allocations: 0.6764 MB / 400.8 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/0.7043, allocations: 310.5 kB / 401.1 MB, free: 1.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007096/0.7114, allocations: 2.024 MB / 403.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00098/0.7124, allocations: 0.9925 MB / 404.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.7136, allocations: 119.2 kB / 404.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7136, allocations: 0 / 404.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of Templates: time 0.05126/0.7649, allocations: 19.94 MB / 424.2 MB, free: 10.68 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestWaterPumpRecirculationCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculationCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculationCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculationFunctions.cpp:1160:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp352, tmp353); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpRecirculationCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculationCalcHelperMain.o] Error 1