Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.679e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3969, allocations: 54.85 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.05832/0.4553, allocations: 34.22 MB / 397.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03384/0.4892, allocations: 16.24 MB / 413.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.4904, allocations: 31.75 kB / 413.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.492, allocations: 398 kB / 413.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0147/0.5068, allocations: 3.629 MB / 417.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.5169, allocations: 2.605 MB / 420 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.5193, allocations: 0.8299 MB / 420.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007227/0.52, allocations: 295.4 kB / 421.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.5217, allocations: 0.5726 MB / 421.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01883/0.5405, allocations: 6.274 MB / 427.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02129/0.5619, allocations: 7.071 MB / 435 MB, free: 5.578 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003064/0.565, allocations: 432 kB / 435.4 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.5654, allocations: 139.5 kB / 435.6 MB, free: 5.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.5658, allocations: 87.94 kB / 435.6 MB, free: 4.934 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.5759, allocations: 3.368 MB / 439 MB, free: 1.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5759, allocations: 0 / 439 MB, free: 1.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.788e-06/0.576, allocations: 0 / 439 MB, free: 1.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.476e-05/0.576, allocations: 4 kB / 439 MB, free: 1.555 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.005745/0.5818, allocations: 1.49 MB / 440.5 MB, free: 12 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.5818, allocations: 8.031 kB / 440.5 MB, free: 4 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.5853, allocations: 314.7 kB / 440.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.5868, allocations: 0.5239 MB / 441.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.5869, allocations: 45.31 kB / 441.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.587, allocations: 52 kB / 441.4 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.5911, allocations: 0.9985 MB / 442.4 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.5912, allocations: 3.938 kB / 442.4 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.5913, allocations: 35.97 kB / 442.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/0.5914, allocations: 21 kB / 442.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.5959, allocations: 0.9482 MB / 443.4 MB, free: 12.97 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.008134/0.6041, allocations: 4.651 MB / 448.1 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004155/0.6083, allocations: 0.7966 MB / 448.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06339/0.6717, allocations: 18.61 MB / 467.5 MB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.6718, allocations: 38.94 kB / 467.5 MB, free: 2.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 2.876e-06/0.6718, allocations: 0 / 467.5 MB, free: 2.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.05609/0.7279, allocations: 4.383 MB / 471.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.7281, allocations: 107.4 kB / 472 MB, free: 13.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.7292, allocations: 421.9 kB / 472.4 MB, free: 13.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.7294, allocations: 37.7 kB / 472.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.7299, allocations: 386.2 kB / 472.9 MB, free: 12.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.7303, allocations: 228.7 kB / 473.1 MB, free: 12.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.7304, allocations: 16 kB / 473.1 MB, free: 12.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.7306, allocations: 338.8 kB / 473.4 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002703/0.7334, allocations: 413.7 kB / 473.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.7364, allocations: 0.6266 MB / 474.5 MB, free: 11.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/0.7393, allocations: 469.9 kB / 474.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.7394, allocations: 4 kB / 474.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.007566/0.747, allocations: 1.289 MB / 476.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001685/0.7487, allocations: 2.622 MB / 478.8 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/0.7488, allocations: 8 kB / 478.8 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009261/0.758, allocations: 0.8406 MB / 479.7 MB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.7598, allocations: 191.7 kB / 479.9 MB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/0.7649, allocations: 1.671 MB / 481.5 MB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.7671, allocations: 111.9 kB / 481.6 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.7673, allocations: 47.97 kB / 481.7 MB, free: 3.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.7674, allocations: 4 kB / 481.7 MB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008653/0.776, allocations: 1.26 MB / 483 MB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.7761, allocations: 8 kB / 483 MB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005695/0.7818, allocations: 0.56 MB / 483.5 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.7842, allocations: 187.8 kB / 483.7 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005267/0.7896, allocations: 1.62 MB / 485.3 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.791, allocations: 107.9 kB / 485.4 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.7912, allocations: 47.97 kB / 485.5 MB, free: 15.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (72): * Single equations (assignments): 70 * 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.0006169/0.7918, allocations: 223.2 kB / 485.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.7921, allocations: 71.11 kB / 485.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/0.807, allocations: 3.586 MB / 489.4 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-05/0.8071, allocations: 39.94 kB / 489.4 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.8071, allocations: 0 / 489.4 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.265e-05/0.8072, allocations: 3.984 kB / 489.4 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/0.8252, allocations: 4.886 MB / 494.3 MB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.8252, allocations: 0 / 494.3 MB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.8263, allocations: 143.8 kB / 494.4 MB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007209/0.8336, allocations: 1.594 MB / 496 MB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.8337, allocations: 19.98 kB / 496 MB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007178/0.8409, allocations: 2.338 MB / 498.4 MB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.841, allocations: 3.938 kB / 498.4 MB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00986/0.8508, allocations: 2.473 MB / 0.4891 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3599/1.211, allocations: 312.1 kB / 0.4894 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.211, allocations: 14.19 kB / 0.4894 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.212, allocations: 112.3 kB / 0.4895 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/1.213, allocations: 66.91 kB / 0.4896 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.213, allocations: 28.06 kB / 0.4896 GB, free: 127 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008546/1.214, allocations: 416.5 kB / 0.49 GB, free: 126.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.214, allocations: 0 / 0.49 GB, free: 126.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005637/1.219, allocations: 1.396 MB / 0.4914 GB, free: 126.9 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: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.007675/1.227, allocations: 1.419 MB / 0.4928 GB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007235/1.234, allocations: 2.006 MB / 0.4947 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.234, allocations: 0 / 0.4947 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002577/1.237, allocations: 1.013 MB / 0.4957 GB, free: 126 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/1.239, allocations: 289.5 kB / 0.496 GB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/1.245, allocations: 3.078 MB / 0.499 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/1.245, allocations: 1.135 MB / 0.5001 GB, free: 123.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/1.246, allocations: 65.58 kB / 0.5002 GB, free: 123.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/1.246, allocations: 1 kB / 0.5002 GB, free: 123.6 MB / 426.7 MB Notification: Performance of Templates: time 0.07205/1.318, allocations: 42.53 MB / 0.5417 GB, free: 83.01 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeedCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeedCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeedCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeedFunctions.cpp:6731:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp445, tmp446); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpVariableSpeedCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeedCalcHelperMain.o] Error 1