Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadModel(ModelicaTest): time 2.396/2.396, allocations: 269 MB / 284.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.762e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 61.9 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.4106/0.541, allocations: 34.36 MB / 445.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.034/0.575, allocations: 16.3 MB / 461.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.5765, allocations: 30.44 kB / 461.6 MB, free: 15.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.5783, allocations: 395.1 kB / 462 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01596/0.5943, allocations: 3.637 MB / 465.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01204/0.6064, allocations: 2.614 MB / 468.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.609, allocations: 0.83 MB / 469.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007985/0.6099, allocations: 317.1 kB / 469.4 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.6122, allocations: 0.5871 MB / 470 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01454/0.6268, allocations: 5.814 MB / 475.8 MB, free: 6.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02174/0.6486, allocations: 7.18 MB / 483 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003171/0.6518, allocations: 432 kB / 483.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004477/0.6523, allocations: 147.5 kB / 483.6 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.6528, allocations: 84 kB / 483.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009955/0.6628, allocations: 3.403 MB / 487 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6628, allocations: 0 / 487 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6628, allocations: 4 kB / 487 MB, free: 11.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.6629, allocations: 3.938 kB / 487.1 MB, free: 11.47 MB / 394.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.005554/0.6684, allocations: 1.462 MB / 488.5 MB, free: 9.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6685, allocations: 8.031 kB / 488.5 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.6718, allocations: 322.7 kB / 488.8 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.6731, allocations: 0.5123 MB / 489.3 MB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.589e-05/0.6732, allocations: 49.31 kB / 489.4 MB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.6734, allocations: 59.89 kB / 489.5 MB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/0.6773, allocations: 0.9945 MB / 490.4 MB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.6774, allocations: 0 / 490.4 MB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.6775, allocations: 28 kB / 490.5 MB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.349e-05/0.6776, allocations: 28.98 kB / 490.5 MB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004222/0.6818, allocations: 0.9169 MB / 491.4 MB, free: 6.945 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.008504/0.6903, allocations: 4.569 MB / 496 MB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/0.6947, allocations: 0.8273 MB / 496.8 MB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1982/0.8929, allocations: 56.32 MB / 0.5402 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.893, allocations: 42.98 kB / 0.5402 GB, free: 2.113 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 5.1e-06/0.893, allocations: 0 / 0.5402 GB, free: 2.113 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.0113/0.9043, allocations: 2.315 MB / 0.5425 GB, free: 15.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.9044, allocations: 111.2 kB / 0.5426 GB, free: 15.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/0.9054, allocations: 458 kB / 0.543 GB, free: 15.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.9055, allocations: 33.7 kB / 0.5431 GB, free: 15.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.9058, allocations: 362.6 kB / 0.5434 GB, free: 14.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.9061, allocations: 181.4 kB / 0.5436 GB, free: 14.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.9061, allocations: 12 kB / 0.5436 GB, free: 14.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9063, allocations: 338.8 kB / 0.5439 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.9075, allocations: 281.1 kB / 0.5442 GB, free: 13.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.9088, allocations: 450.1 kB / 0.5446 GB, free: 13.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.9101, allocations: 322 kB / 0.5449 GB, free: 13.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9102, allocations: 0 / 0.5449 GB, free: 13.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004026/0.9142, allocations: 0.9563 MB / 0.5458 GB, free: 12.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007506/0.915, allocations: 1.74 MB / 0.5475 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.915, allocations: 4 kB / 0.5475 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003445/0.9185, allocations: 423.2 kB / 0.548 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009921/0.9195, allocations: 139.8 kB / 0.5481 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.9219, allocations: 0.9191 MB / 0.549 GB, free: 8.801 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.9232, allocations: 87.91 kB / 0.5491 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.9233, allocations: 39.98 kB / 0.5491 GB, free: 8.676 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.9234, allocations: 4 kB / 0.5491 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004567/0.9279, allocations: 0.9466 MB / 0.55 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.928, allocations: 7.984 kB / 0.55 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/0.9305, allocations: 331.3 kB / 0.5504 GB, free: 7.387 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009766/0.9315, allocations: 135.8 kB / 0.5505 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.9337, allocations: 0.8879 MB / 0.5514 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.9347, allocations: 99.84 kB / 0.5514 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.66e-05/0.9348, allocations: 32.09 kB / 0.5515 GB, free: 6.211 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (56): * Single equations (assignments): 55 * 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 18} Notification: Performance of prepare postOptimizeDAE: time 0.0005352/0.9354, allocations: 209.7 kB / 0.5517 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.9356, allocations: 67.2 kB / 0.5517 GB, free: 5.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006432/0.9421, allocations: 2.94 MB / 0.5546 GB, free: 2.969 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.847e-05/0.9422, allocations: 43.92 kB / 0.5547 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.9422, allocations: 0 / 0.5547 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.9422, allocations: 3.984 kB / 0.5547 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008249/0.9505, allocations: 4.121 MB / 0.5587 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.9505, allocations: 0 / 0.5587 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.9519, allocations: 167.8 kB / 0.5588 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004746/0.9524, allocations: 68.7 kB / 0.5589 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/0.9525, allocations: 23.98 kB / 0.5589 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008954/0.9534, allocations: 1.173 MB / 0.5601 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9535, allocations: 0 / 0.5601 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/0.9595, allocations: 2.621 MB / 0.5626 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.9602, allocations: 334.8 kB / 0.563 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.9604, allocations: 12 kB / 0.563 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009465/0.9614, allocations: 79.91 kB / 0.563 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.9616, allocations: 56.47 kB / 0.5631 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/0.9617, allocations: 27.98 kB / 0.5631 GB, free: 10.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009049/0.9626, allocations: 459 kB / 0.5636 GB, free: 9.652 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.9626, allocations: 0 / 0.5636 GB, free: 9.652 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004759/0.9674, allocations: 1.296 MB / 0.5648 GB, free: 8.355 MB / 490.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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$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 (68): * Single equations (assignments): 53 * 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.007379/0.9748, allocations: 1.407 MB / 0.5662 GB, free: 6.949 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006125/0.9809, allocations: 1.526 MB / 0.5677 GB, free: 5.426 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.981, allocations: 4 kB / 0.5677 GB, free: 5.422 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.9836, allocations: 0.8794 MB / 0.5686 GB, free: 4.543 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.9866, allocations: 322.9 kB / 0.5689 GB, free: 4.234 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.9931, allocations: 3.176 MB / 0.572 GB, free: 1.023 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000978/0.9941, allocations: 1.162 MB / 0.5731 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.9945, allocations: 75.34 kB / 0.5732 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.163e-06/0.9945, allocations: 0 / 0.5732 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.4212/1.416, allocations: 39.28 MB / 0.6115 GB, free: 175.3 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristicCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicFunctions.cpp:6377:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp406, tmp407); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpPowerCharacteristicCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristicCalcHelperMain.o] Error 1