Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadModel(ModelicaTest): time 2.488/2.488, allocations: 234.9 MB / 250.1 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.462e-05/4.473e-05, allocations: 11.98 kB / 308 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3758, allocations: 54.85 MB / 362.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.06001/0.4359, allocations: 34.21 MB / 397.1 MB, free: 9.387 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03461/0.4705, allocations: 16.23 MB / 413.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.4719, allocations: 27.75 kB / 413.3 MB, free: 9.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.4736, allocations: 402 kB / 413.7 MB, free: 8.699 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0149/0.4885, allocations: 3.622 MB / 417.3 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.4991, allocations: 2.594 MB / 419.9 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00251/0.5017, allocations: 0.8295 MB / 420.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000888/0.5026, allocations: 295.5 kB / 421 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.5046, allocations: 0.5764 MB / 421.6 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01629/0.5209, allocations: 6.266 MB / 427.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0203/0.5412, allocations: 7.078 MB / 435 MB, free: 3.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002837/0.5441, allocations: 432 kB / 435.4 MB, free: 2.988 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004116/0.5446, allocations: 143.5 kB / 435.5 MB, free: 2.848 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.5449, allocations: 84 kB / 435.6 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009176/0.5541, allocations: 3.364 MB / 439 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5542, allocations: 0 / 439 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5542, allocations: 0 / 439 MB, free: 15.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.5542, allocations: 0 / 439 MB, free: 15.39 MB / 378.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.0053/0.5595, allocations: 1.467 MB / 440.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5596, allocations: 8.031 kB / 440.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.563, allocations: 318.7 kB / 440.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.5644, allocations: 0.52 MB / 441.3 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-05/0.5646, allocations: 45.31 kB / 441.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.5647, allocations: 55.91 kB / 441.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/0.5687, allocations: 0.9906 MB / 442.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.5688, allocations: 0 / 442.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.5689, allocations: 24 kB / 442.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.569, allocations: 25 kB / 442.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004355/0.5733, allocations: 0.9092 MB / 443.3 MB, free: 10.89 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.007704/0.5811, allocations: 4.479 MB / 447.8 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/0.5851, allocations: 0.7922 MB / 448.6 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.745/1.33, allocations: 83.92 MB / 0.52 GB, free: 65.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.33, allocations: 39 kB / 0.5201 GB, free: 65.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 4.799e-06/1.33, allocations: 4 kB / 0.5201 GB, free: 65.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.01005/1.34, allocations: 2.271 MB / 0.5223 GB, free: 63.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/1.341, allocations: 107.8 kB / 0.5224 GB, free: 63.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007293/1.341, allocations: 433.8 kB / 0.5228 GB, free: 62.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.514e-05/1.341, allocations: 33.7 kB / 0.5228 GB, free: 62.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/1.342, allocations: 381.2 kB / 0.5232 GB, free: 62.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/1.342, allocations: 176.8 kB / 0.5234 GB, free: 62.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/1.342, allocations: 20 kB / 0.5234 GB, free: 62.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.106e-05/1.342, allocations: 338.6 kB / 0.5237 GB, free: 61.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/1.343, allocations: 273.1 kB / 0.524 GB, free: 61.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/1.344, allocations: 474 kB / 0.5244 GB, free: 60.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.345, allocations: 325.8 kB / 0.5247 GB, free: 60.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.345, allocations: 4 kB / 0.5247 GB, free: 60.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003697/1.349, allocations: 0.9764 MB / 0.5257 GB, free: 59.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004932/1.35, allocations: 2.177 MB / 0.5278 GB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/1.35, allocations: 8 kB / 0.5278 GB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00313/1.353, allocations: 402.7 kB / 0.5282 GB, free: 56.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/1.354, allocations: 151.7 kB / 0.5284 GB, free: 56.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/1.356, allocations: 0.9268 MB / 0.5293 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.357, allocations: 91.92 kB / 0.5294 GB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/1.357, allocations: 36 kB / 0.5294 GB, free: 55.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.357, allocations: 4.938 kB / 0.5294 GB, free: 55.69 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003868/1.361, allocations: 0.9467 MB / 0.5303 GB, free: 54.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.361, allocations: 4 kB / 0.5303 GB, free: 54.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/1.363, allocations: 320 kB / 0.5306 GB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009686/1.364, allocations: 139.8 kB / 0.5308 GB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/1.366, allocations: 0.8768 MB / 0.5316 GB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/1.367, allocations: 91.84 kB / 0.5317 GB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/1.367, allocations: 31.98 kB / 0.5317 GB, free: 53.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004923/1.367, allocations: 207.2 kB / 0.5319 GB, free: 53.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/1.368, allocations: 63.3 kB / 0.532 GB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005298/1.373, allocations: 2.92 MB / 0.5348 GB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.638e-05/1.373, allocations: 51.62 kB / 0.5349 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.373, allocations: 0 / 0.5349 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.373, allocations: 3.984 kB / 0.5349 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006848/1.38, allocations: 4.056 MB / 0.5389 GB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.38, allocations: 0 / 0.5389 GB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/1.381, allocations: 163.8 kB / 0.539 GB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/1.382, allocations: 72.69 kB / 0.5391 GB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/1.382, allocations: 20 kB / 0.5391 GB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000656/1.383, allocations: 1.174 MB / 0.5402 GB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.383, allocations: 3.984 kB / 0.5402 GB, free: 44.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/1.388, allocations: 2.582 MB / 0.5428 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/1.388, allocations: 318.8 kB / 0.5431 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.388, allocations: 19.92 kB / 0.5431 GB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/1.389, allocations: 67.92 kB / 0.5432 GB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.389, allocations: 60.47 kB / 0.5432 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/1.389, allocations: 27.75 kB / 0.5432 GB, free: 41.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006497/1.39, allocations: 395 kB / 0.5436 GB, free: 40.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.39, allocations: 0 / 0.5436 GB, free: 40.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004432/1.395, allocations: 1.283 MB / 0.5449 GB, free: 39.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007167/1.402, allocations: 1.375 MB / 0.5462 GB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004763/1.407, allocations: 1.515 MB / 0.5477 GB, free: 37.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.407, allocations: 0 / 0.5477 GB, free: 37.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.409, allocations: 0.8601 MB / 0.5485 GB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.411, allocations: 303.1 kB / 0.5488 GB, free: 35.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005612/1.417, allocations: 3.254 MB / 0.552 GB, free: 32.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/1.418, allocations: 1.171 MB / 0.5531 GB, free: 31.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/1.418, allocations: 67.42 kB / 0.5532 GB, free: 31.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/1.418, allocations: 4 kB / 0.5532 GB, free: 31.43 MB / 410.7 MB Notification: Performance of Templates: time 0.07433/1.492, allocations: 38.72 MB / 0.591 GB, free: 8.684 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorageCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorageCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorageCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorageFunctions.cpp:6351:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp395, tmp396); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpStorageCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorageCalcHelperMain.o] Error 1