Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.403e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3504, allocations: 48.7 MB / 324.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.06522/0.4156, allocations: 38.01 MB / 362.9 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03702/0.4527, allocations: 17.42 MB / 380.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.455, allocations: 59.69 kB / 380.3 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.4574, allocations: 0.5828 MB / 380.9 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.4747, allocations: 3.93 MB / 384.9 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01093/0.4856, allocations: 2.676 MB / 387.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00442/0.4901, allocations: 1.388 MB / 388.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.4916, allocations: 0.7245 MB / 389.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.4938, allocations: 0.8335 MB / 390.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01586/0.5097, allocations: 6.468 MB / 396.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02157/0.5313, allocations: 7.071 MB / 404 MB, free: 272 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003635/0.535, allocations: 448 kB / 404.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007418/0.5358, allocations: 258.9 kB / 404.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007845/0.5366, allocations: 167.9 kB / 404.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.5482, allocations: 4.318 MB / 409.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5483, allocations: 0 / 409.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5483, allocations: 0 / 409.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.853e-05/0.5483, allocations: 0 / 409.2 MB, free: 11.08 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.006845/0.5552, allocations: 2.017 MB / 411.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.5552, allocations: 12.03 kB / 411.2 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/0.5591, allocations: 389.8 kB / 411.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.562, allocations: 0.9105 MB / 412.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.5622, allocations: 118.5 kB / 412.6 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/0.5626, allocations: 136 kB / 412.8 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006379/0.569, allocations: 1.661 MB / 414.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-05/0.5691, allocations: 11.84 kB / 414.4 MB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.5694, allocations: 56 kB / 414.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.855e-05/0.5695, allocations: 54.34 kB / 414.5 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006404/0.5759, allocations: 1.363 MB / 415.9 MB, free: 4.16 MB / 346.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.01483/0.5908, allocations: 7.585 MB / 423.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004133/0.5949, allocations: 0.896 MB / 424.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06712/0.6621, allocations: 18.58 MB / 443 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.6622, allocations: 35.22 kB / 443 MB, free: 6.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=71): time 3.687e-06/0.6622, allocations: 8 kB / 443 MB, free: 6.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.05212/0.7144, allocations: 5.601 MB / 448.6 MB, free: 488 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6592/1.374, allocations: 48.23 MB / 496.8 MB, free: 118.6 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Electrical/Machines.mo:12803:7-12804:76:writable] Warning: Parameter motor.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=motor.Jr) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/1.376, allocations: 0.7811 MB / 497.6 MB, free: 118.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/1.376, allocations: 40.39 kB / 497.7 MB, free: 118.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/1.377, allocations: 0.7138 MB / 498.4 MB, free: 117.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005399/1.378, allocations: 326.4 kB / 498.7 MB, free: 117.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.378, allocations: 26.67 kB / 498.7 MB, free: 117.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/1.378, allocations: 369.8 kB / 499.1 MB, free: 117.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/1.38, allocations: 478.9 kB / 499.5 MB, free: 117 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/1.383, allocations: 0.965 MB / 0.4888 GB, free: 116.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/1.386, allocations: 0.5941 MB / 0.4894 GB, free: 116 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/1.386, allocations: 7.438 kB / 0.4894 GB, free: 116 MB / 410.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.007045/1.393, allocations: 1.624 MB / 0.491 GB, free: 115.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001638/1.395, allocations: 6.263 MB / 0.4971 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-05/1.395, allocations: 23.12 kB / 0.4971 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009203/1.404, allocations: 0.7021 MB / 0.4978 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/1.407, allocations: 342.3 kB / 0.4981 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/1.41, allocations: 1.356 MB / 0.4994 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.412, allocations: 138.9 kB / 0.4996 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/1.412, allocations: 83.25 kB / 0.4996 GB, free: 107.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.412, allocations: 5.938 kB / 0.4996 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006836/1.419, allocations: 1.776 MB / 0.5014 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/1.419, allocations: 15.25 kB / 0.5014 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/1.422, allocations: 393.9 kB / 0.5018 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.424, allocations: 336.2 kB / 0.5021 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/1.426, allocations: 1.341 MB / 0.5034 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.428, allocations: 119.4 kB / 0.5035 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/1.428, allocations: 79.72 kB / 0.5036 GB, free: 105.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (155): * Single equations (assignments): 151 * Array equations: 2 * 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 2,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009389/1.429, allocations: 341.9 kB / 0.5039 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/1.429, allocations: 126.8 kB / 0.504 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007306/1.437, allocations: 3.622 MB / 0.5076 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006144/1.443, allocations: 3.092 MB / 0.5106 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.443, allocations: 0 / 0.5106 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/1.443, allocations: 3.562 kB / 0.5106 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/1.455, allocations: 5.836 MB / 0.5163 GB, free: 99.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.455, allocations: 7.719 kB / 0.5163 GB, free: 99.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.456, allocations: 196.6 kB / 0.5165 GB, free: 99.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005173/1.462, allocations: 1.303 MB / 0.5178 GB, free: 98.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/1.462, allocations: 35.3 kB / 0.5178 GB, free: 98.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002916/1.465, allocations: 2.147 MB / 0.5199 GB, free: 96.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1076/1.572, allocations: 24.78 MB / 0.5441 GB, free: 71.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00792/1.58, allocations: 3.816 MB / 0.5478 GB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009595/1.581, allocations: 386.4 kB / 0.5482 GB, free: 67.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/1.582, allocations: 20 kB / 0.5482 GB, free: 67.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/1.583, allocations: 103.8 kB / 0.5483 GB, free: 67.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/1.584, allocations: 80.83 kB / 0.5484 GB, free: 67.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.584, allocations: 43.98 kB / 0.5484 GB, free: 66.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001229/1.585, allocations: 0.6392 MB / 0.549 GB, free: 66.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.585, allocations: 0 / 0.549 GB, free: 66.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01537/1.6, allocations: 3.949 MB / 0.5529 GB, free: 62.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.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 (87): * Single equations (assignments): 79 * 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 1,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.03107/1.631, allocations: 2.84 MB / 0.5557 GB, free: 60.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007646/1.639, allocations: 2.449 MB / 0.5581 GB, free: 57.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.639, allocations: 3.938 kB / 0.5581 GB, free: 57.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002841/1.642, allocations: 1.161 MB / 0.5592 GB, free: 56.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/1.646, allocations: 397.3 kB / 0.5596 GB, free: 56.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.656, allocations: 5.175 MB / 0.5646 GB, free: 50.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.657, allocations: 1.435 MB / 0.566 GB, free: 49.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00087/1.658, allocations: 139.4 kB / 0.5662 GB, free: 49.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/1.658, allocations: 3.938 kB / 0.5662 GB, free: 49.26 MB / 410.7 MB Notification: Performance of Templates: time 0.5312/2.19, allocations: 124 MB / 0.6873 GB, free: 82.7 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferFunctions.cpp:15726:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp1375, tmp1376); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferCalcHelperMain.o] Error 1