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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 234.9 MB / 250.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.001e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3725, allocations: 54.85 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.03047/0.403, allocations: 17.61 MB / 380.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.4193, allocations: 6.973 MB / 387.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.4207, allocations: 39.69 kB / 387.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.4223, allocations: 358.2 kB / 387.8 MB, free: 4.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.4259, allocations: 0.8565 MB / 388.7 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007815/0.4338, allocations: 1.725 MB / 390.4 MB, free: 2.234 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.4363, allocations: 0.8057 MB / 391.2 MB, free: 1.426 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.4374, allocations: 448.7 kB / 391.7 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.4388, allocations: 0.5416 MB / 392.2 MB, free: 456 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.4412, allocations: 0.9279 MB / 393.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.4433, allocations: 0.5657 MB / 393.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003292/0.4437, allocations: 56 kB / 393.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.444, allocations: 171.4 kB / 393.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.4444, allocations: 84 kB / 394 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.4465, allocations: 1.001 MB / 395 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4465, allocations: 0 / 395 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4466, allocations: 4 kB / 395 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.4466, allocations: 0 / 395 MB, free: 13.64 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003464/0.4501, allocations: 0.9748 MB / 396 MB, free: 12.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.4501, allocations: 12.03 kB / 396 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000549/0.4507, allocations: 103 kB / 396.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.4521, allocations: 0.5493 MB / 396.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.644e-05/0.4521, allocations: 45.25 kB / 396.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4523, allocations: 55.91 kB / 396.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.4546, allocations: 0.8078 MB / 397.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.4547, allocations: 4 kB / 397.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.4548, allocations: 27.95 kB / 397.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/0.4549, allocations: 21 kB / 397.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.4576, allocations: 0.7884 MB / 398.4 MB, free: 10.11 MB / 330.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.007968/0.4656, allocations: 3.653 MB / 402 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.4676, allocations: 483.1 kB / 402.5 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/0.4681, allocations: 0.5704 MB / 403.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.4682, allocations: 46.86 kB / 403.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001317/0.4695, allocations: 115.5 kB / 403.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 5.4e-06/0.4696, allocations: 0 / 403.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=69): time 0.1128/0.5824, allocations: 7.738 MB / 411 MB, free: 12.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.5825, allocations: 111.4 kB / 411.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/0.5835, allocations: 0.4954 MB / 411.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.5836, allocations: 33.7 kB / 411.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.584, allocations: 410.1 kB / 412 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.5844, allocations: 244.5 kB / 412.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.5845, allocations: 12 kB / 412.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5846, allocations: 354.7 kB / 412.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/0.5872, allocations: 0.5054 MB / 413.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002762/0.59, allocations: 0.7472 MB / 413.9 MB, free: 9.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.5928, allocations: 0.5653 MB / 414.4 MB, free: 9.371 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.5928, allocations: 3.984 kB / 414.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.006441/0.5993, allocations: 1.458 MB / 415.9 MB, free: 7.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001254/0.6006, allocations: 2.965 MB / 418.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.6006, allocations: 11.94 kB / 418.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01652/0.6171, allocations: 1.128 MB / 420 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/0.6201, allocations: 319.5 kB / 420.3 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.6219, allocations: 0.8175 MB / 421.1 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.6245, allocations: 139.8 kB / 421.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.6248, allocations: 63.94 kB / 421.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.6248, allocations: 5.094 kB / 421.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006918/0.6317, allocations: 1.39 MB / 422.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.6318, allocations: 8 kB / 422.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.6325, allocations: 113.6 kB / 422.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/0.6355, allocations: 331.5 kB / 423.2 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.6388, allocations: 1.92 MB / 425.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.6411, allocations: 139.8 kB / 425.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.6414, allocations: 63.92 kB / 425.3 MB, free: 14.09 MB / 362.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.0006286/0.642, allocations: 221.6 kB / 425.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.6423, allocations: 75.06 kB / 425.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007761/0.6501, allocations: 1.75 MB / 427.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.6501, allocations: 8 kB / 427.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6502, allocations: 0 / 427.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.6502, allocations: 7.969 kB / 427.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.6625, allocations: 2.771 MB / 430.1 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.6626, allocations: 3.938 kB / 430.1 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/0.6659, allocations: 231.7 kB / 430.3 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01455/0.6805, allocations: 0.9773 MB / 431.3 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/0.6808, allocations: 27.97 kB / 431.3 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.6828, allocations: 0.8411 MB / 432.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6829, allocations: 0 / 432.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/0.6951, allocations: 2.083 MB / 434.3 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009038/0.6961, allocations: 263.9 kB / 434.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.6964, allocations: 19.95 kB / 434.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/0.6989, allocations: 127.8 kB / 434.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.6992, allocations: 64.91 kB / 434.7 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/0.6994, allocations: 31.97 kB / 434.8 MB, free: 4.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009101/0.7003, allocations: 387.1 kB / 435.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7003, allocations: 0 / 435.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003589/0.7039, allocations: 0.5701 MB / 435.7 MB, free: 3.488 MB / 362.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.002734/0.7067, allocations: 375.8 kB / 436.1 MB, free: 3.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01653/0.7232, allocations: 2.12 MB / 438.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.7233, allocations: 0 / 438.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004123/0.7274, allocations: 0.6725 MB / 438.9 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/0.7316, allocations: 302.4 kB / 439.2 MB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007861/0.7395, allocations: 2.024 MB / 441.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.7405, allocations: 0.996 MB / 442.2 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.7416, allocations: 115.3 kB / 442.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7416, allocations: 0 / 442.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of Templates: time 0.06651/0.8081, allocations: 19.96 MB / 462.3 MB, free: 8.879 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculationCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculationCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculationCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculationFunctions.cpp:1158:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp350, tmp351); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpRecirculationCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculationCalcHelperMain.o] Error 1