Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadModel(ModelicaTest): time 2.585/2.585, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.82e-05, allocations: 0 / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1338, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV): time 0.3883/0.5222, allocations: 34.02 MB / 444.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03596/0.5582, allocations: 13.16 MB / 458.1 MB, free: 2.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.5597, allocations: 24.28 kB / 458.1 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.5617, allocations: 341.5 kB / 458.5 MB, free: 1.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01926/0.581, allocations: 3.44 MB / 461.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009074/0.5901, allocations: 1.672 MB / 463.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.5931, allocations: 0.7675 MB / 464.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.5943, allocations: 273.9 kB / 464.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.5975, allocations: 0.5611 MB / 465.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01159/0.6092, allocations: 3.052 MB / 468.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05265/0.6619, allocations: 6.916 MB / 475.1 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008302/0.6702, allocations: 424 kB / 475.6 MB, free: 6.969 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006253/0.6709, allocations: 139.5 kB / 475.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007092/0.6717, allocations: 84 kB / 475.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.686, allocations: 3.262 MB / 479 MB, free: 3.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.686, allocations: 0 / 479 MB, free: 3.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.686, allocations: 0 / 479 MB, free: 3.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.6861, allocations: 0 / 479 MB, free: 3.48 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005124/0.6912, allocations: 1.404 MB / 480.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.6913, allocations: 8.031 kB / 480.4 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.6946, allocations: 294.9 kB / 480.7 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.6958, allocations: 0.4966 MB / 481.2 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/0.6959, allocations: 45.31 kB / 481.3 MB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.696, allocations: 48 kB / 481.3 MB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003678/0.6997, allocations: 0.9633 MB / 482.3 MB, free: 80 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.6998, allocations: 0 / 482.3 MB, free: 80 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.6999, allocations: 27.98 kB / 482.3 MB, free: 52 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/0.7, allocations: 28.98 kB / 482.3 MB, free: 24 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003969/0.7039, allocations: 0.8779 MB / 483.2 MB, free: 15.14 MB / 394.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.008155/0.7121, allocations: 4.68 MB / 487.9 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004209/0.7164, allocations: 0.8268 MB / 488.7 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08587/0.8023, allocations: 24.42 MB / 0.5011 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/0.8024, allocations: 43.28 kB / 0.5012 GB, free: 13.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.236e-06/0.8024, allocations: 0 / 0.5012 GB, free: 13.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.0107/0.8131, allocations: 1.716 MB / 0.5028 GB, free: 12.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.8132, allocations: 110.8 kB / 0.5029 GB, free: 12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007778/0.814, allocations: 413 kB / 0.5033 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.374e-05/0.8141, allocations: 33.7 kB / 0.5034 GB, free: 11.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.8144, allocations: 362.6 kB / 0.5037 GB, free: 11.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.8146, allocations: 141.9 kB / 0.5038 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.8147, allocations: 12 kB / 0.5039 GB, free: 11.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8149, allocations: 330.8 kB / 0.5042 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.8159, allocations: 256.9 kB / 0.5044 GB, free: 10.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.8172, allocations: 425.9 kB / 0.5048 GB, free: 9.973 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.8184, allocations: 285.3 kB / 0.5051 GB, free: 9.695 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8184, allocations: 0 / 0.5051 GB, free: 9.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003362/0.8218, allocations: 0.8216 MB / 0.5059 GB, free: 8.863 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008728/0.8227, allocations: 1.92 MB / 0.5078 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.8227, allocations: 11.98 kB / 0.5078 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.8243, allocations: 228.5 kB / 0.508 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/0.8251, allocations: 119.8 kB / 0.5081 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.8269, allocations: 0.8177 MB / 0.5089 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.828, allocations: 107.4 kB / 0.509 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.8281, allocations: 31.98 kB / 0.509 GB, free: 5.457 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.8281, allocations: 4 kB / 0.5091 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003372/0.8315, allocations: 0.7781 MB / 0.5098 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8316, allocations: 8.062 kB / 0.5098 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.833, allocations: 192.7 kB / 0.51 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/0.8339, allocations: 123.8 kB / 0.5101 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.8359, allocations: 0.7942 MB / 0.5109 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/0.8368, allocations: 83.7 kB / 0.511 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/0.8369, allocations: 27.98 kB / 0.511 GB, free: 3.422 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004911/0.8374, allocations: 205.7 kB / 0.5112 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.8376, allocations: 55.34 kB / 0.5113 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0066/0.8442, allocations: 3.018 MB / 0.5142 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.875e-05/0.8443, allocations: 43.89 kB / 0.5142 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8443, allocations: 0 / 0.5142 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.8443, allocations: 3.984 kB / 0.5142 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.8467, allocations: 1.473 MB / 0.5157 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.8467, allocations: 0 / 0.5157 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/0.8474, allocations: 87.88 kB / 0.5158 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.8495, allocations: 0.6779 MB / 0.5164 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.8496, allocations: 12 kB / 0.5164 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.8519, allocations: 1.253 MB / 0.5177 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8519, allocations: 0 / 0.5177 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/0.8566, allocations: 1.949 MB / 0.5196 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006583/0.8573, allocations: 322.8 kB / 0.5199 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.8575, allocations: 12 kB / 0.5199 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/0.8584, allocations: 75.84 kB / 0.52 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.8586, allocations: 48.48 kB / 0.52 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/0.8587, allocations: 19.98 kB / 0.52 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007759/0.8594, allocations: 427.1 kB / 0.5204 GB, free: 9.617 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.8595, allocations: 0 / 0.5204 GB, free: 9.617 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004417/0.8639, allocations: 1.257 MB / 0.5217 GB, free: 8.359 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * 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: 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.006734/0.8707, allocations: 1.325 MB / 0.523 GB, free: 7.031 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005475/0.8762, allocations: 1.394 MB / 0.5243 GB, free: 5.641 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8762, allocations: 4 kB / 0.5243 GB, free: 5.637 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.8781, allocations: 0.8045 MB / 0.5251 GB, free: 4.832 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/0.8809, allocations: 315.8 kB / 0.5254 GB, free: 4.523 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005582/0.8865, allocations: 2.905 MB / 0.5282 GB, free: 1.582 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008814/0.8875, allocations: 1.146 MB / 0.5294 GB, free: 416 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.8878, allocations: 63.36 kB / 0.5294 GB, free: 352 kB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8878, allocations: 0 / 0.5294 GB, free: 352 kB / 442.7 MB Notification: Performance of Templates: time 0.08436/0.9722, allocations: 35.01 MB / 0.5636 GB, free: 13.34 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVFunctions.cpp:6032:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp361, tmp362); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLVCalcHelperMain.o] Error 1