Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,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.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.59e-05/6.618e-05, allocations: 4.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3814, allocations: 54.86 MB / 362.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.06891/0.4504, allocations: 34.21 MB / 397.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.08622/0.5367, allocations: 16.23 MB / 413.3 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.5379, allocations: 31.75 kB / 413.3 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.5395, allocations: 394 kB / 413.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01492/0.5544, allocations: 3.622 MB / 417.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01222/0.5667, allocations: 2.605 MB / 419.9 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003467/0.5702, allocations: 0.8338 MB / 420.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.5713, allocations: 311.4 kB / 421.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.5743, allocations: 0.5842 MB / 421.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01982/0.5942, allocations: 6.496 MB / 428.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02082/0.6151, allocations: 7.074 MB / 435.2 MB, free: 5.336 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003086/0.6183, allocations: 432 kB / 435.6 MB, free: 4.914 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.6187, allocations: 143.5 kB / 435.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.6191, allocations: 80 kB / 435.9 MB, free: 4.695 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009618/0.6287, allocations: 3.376 MB / 439.2 MB, free: 1.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6288, allocations: 3.938 kB / 439.2 MB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6288, allocations: 0 / 439.2 MB, free: 1.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.6289, allocations: 0 / 439.2 MB, free: 1.309 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.005528/0.6344, allocations: 1.466 MB / 440.7 MB, free: 15.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.6345, allocations: 12.03 kB / 440.7 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.6379, allocations: 306.8 kB / 441 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.6395, allocations: 0.5278 MB / 441.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.893e-05/0.6396, allocations: 49.31 kB / 441.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.6398, allocations: 59.91 kB / 441.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/0.6437, allocations: 0.9749 MB / 442.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.6438, allocations: 3.938 kB / 442.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.644, allocations: 31.98 kB / 442.7 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.644, allocations: 21.31 kB / 442.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004289/0.6483, allocations: 0.9144 MB / 443.6 MB, free: 12.8 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.007147/0.6555, allocations: 4.356 MB / 448 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/0.6593, allocations: 0.7499 MB / 448.7 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6754/1.335, allocations: 80.05 MB / 0.5164 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/1.335, allocations: 39 kB / 0.5164 GB, free: 104.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.935e-06/1.335, allocations: 0 / 0.5164 GB, free: 104.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.009954/1.345, allocations: 2.292 MB / 0.5186 GB, free: 101.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/1.345, allocations: 114.5 kB / 0.5188 GB, free: 101.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/1.346, allocations: 429.8 kB / 0.5192 GB, free: 101.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/1.346, allocations: 37.7 kB / 0.5192 GB, free: 101.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/1.346, allocations: 379.5 kB / 0.5196 GB, free: 100.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/1.346, allocations: 178.2 kB / 0.5197 GB, free: 100.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/1.346, allocations: 12 kB / 0.5197 GB, free: 100.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/1.346, allocations: 342.6 kB / 0.5201 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009959/1.347, allocations: 257.2 kB / 0.5203 GB, free: 100.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.348, allocations: 463.7 kB / 0.5208 GB, free: 99.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.349, allocations: 317.5 kB / 0.5211 GB, free: 99.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.349, allocations: 0 / 0.5211 GB, free: 99.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003402/1.353, allocations: 0.9414 MB / 0.522 GB, free: 98.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004786/1.353, allocations: 2.357 MB / 0.5243 GB, free: 95.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.353, allocations: 4 kB / 0.5243 GB, free: 95.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/1.357, allocations: 427.7 kB / 0.5247 GB, free: 95.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009031/1.357, allocations: 143.8 kB / 0.5248 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/1.359, allocations: 0.9323 MB / 0.5257 GB, free: 94.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/1.36, allocations: 91.83 kB / 0.5258 GB, free: 94.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/1.361, allocations: 39.98 kB / 0.5259 GB, free: 94.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.361, allocations: 4 kB / 0.5259 GB, free: 94.19 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003781/1.364, allocations: 0.9297 MB / 0.5268 GB, free: 93.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.364, allocations: 9.969 kB / 0.5268 GB, free: 93.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/1.366, allocations: 303.4 kB / 0.5271 GB, free: 92.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/1.367, allocations: 151.8 kB / 0.5272 GB, free: 92.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/1.369, allocations: 0.8615 MB / 0.5281 GB, free: 91.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/1.37, allocations: 87.91 kB / 0.5281 GB, free: 91.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/1.37, allocations: 39.5 kB / 0.5282 GB, free: 91.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.000458/1.37, allocations: 218.8 kB / 0.5284 GB, free: 91.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/1.371, allocations: 59.25 kB / 0.5284 GB, free: 91.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/1.376, allocations: 2.738 MB / 0.5311 GB, free: 88.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.621e-05/1.376, allocations: 41.44 kB / 0.5312 GB, free: 88.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.376, allocations: 0 / 0.5312 GB, free: 88.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/1.376, allocations: 3.984 kB / 0.5312 GB, free: 88.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006534/1.382, allocations: 3.742 MB / 0.5348 GB, free: 84.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.382, allocations: 0 / 0.5348 GB, free: 84.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.383, allocations: 151.8 kB / 0.535 GB, free: 84.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005873/1.384, allocations: 97.48 kB / 0.5351 GB, free: 84.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/1.384, allocations: 19.98 kB / 0.5351 GB, free: 84.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008647/1.385, allocations: 1.128 MB / 0.5362 GB, free: 83.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.385, allocations: 11.91 kB / 0.5362 GB, free: 83.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004741/1.39, allocations: 2.266 MB / 0.5384 GB, free: 81.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/1.39, allocations: 342.8 kB / 0.5387 GB, free: 80.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/1.391, allocations: 12 kB / 0.5387 GB, free: 80.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008366/1.391, allocations: 67.94 kB / 0.5388 GB, free: 80.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.392, allocations: 60.42 kB / 0.5389 GB, free: 80.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/1.392, allocations: 16 kB / 0.5389 GB, free: 80.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008019/1.392, allocations: 466.9 kB / 0.5393 GB, free: 80.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.392, allocations: 0 / 0.5393 GB, free: 80.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004548/1.397, allocations: 1.285 MB / 0.5406 GB, free: 79.04 MB / 426.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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007431/1.404, allocations: 1.369 MB / 0.5419 GB, free: 77.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004572/1.409, allocations: 1.402 MB / 0.5433 GB, free: 76.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.409, allocations: 0 / 0.5433 GB, free: 76.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/1.411, allocations: 0.7547 MB / 0.544 GB, free: 75.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/1.414, allocations: 292 kB / 0.5443 GB, free: 75.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/1.42, allocations: 3.202 MB / 0.5474 GB, free: 72.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/1.42, allocations: 1.151 MB / 0.5485 GB, free: 71.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/1.421, allocations: 67.36 kB / 0.5486 GB, free: 71.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/1.421, allocations: 4 kB / 0.5486 GB, free: 71.1 MB / 426.7 MB Notification: Performance of Templates: time 0.09258/1.513, allocations: 38.56 MB / 0.5863 GB, free: 32.52 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValveCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValveCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValveCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValveFunctions.cpp:6317:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp389, tmp390); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpCheckValveCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValveCalcHelperMain.o] Error 1