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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.173e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4383, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.07292/0.5113, allocations: 38.26 MB / 401.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03768/0.549, allocations: 17.52 MB / 418.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.5512, allocations: 55.75 kB / 418.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.5542, allocations: 0.5789 MB / 419.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01639/0.5706, allocations: 3.961 MB / 423.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.5816, allocations: 2.71 MB / 425.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004178/0.5858, allocations: 1.399 MB / 427.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.5874, allocations: 0.7244 MB / 428.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.5898, allocations: 0.8413 MB / 428.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01572/0.6056, allocations: 6.542 MB / 435.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02095/0.6266, allocations: 7.195 MB / 442.6 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003267/0.6299, allocations: 460 kB / 443.1 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007199/0.6307, allocations: 258.9 kB / 443.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006734/0.6314, allocations: 168 kB / 443.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.6427, allocations: 4.361 MB / 447.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.6427, allocations: 0 / 447.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.6428, allocations: 0 / 447.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.117e-05/0.6428, allocations: 0 / 447.9 MB, free: 8.652 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007327/0.6502, allocations: 2.048 MB / 449.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6502, allocations: 8.031 kB / 449.9 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/0.6542, allocations: 413.6 kB / 450.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.657, allocations: 0.9105 MB / 451.2 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.6572, allocations: 114.6 kB / 451.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.6575, allocations: 131.9 kB / 451.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006276/0.6638, allocations: 1.669 MB / 453.2 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.307e-05/0.664, allocations: 7.938 kB / 453.2 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.6643, allocations: 52 kB / 453.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.6644, allocations: 50.36 kB / 453.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008141/0.6726, allocations: 1.371 MB / 454.6 MB, free: 1.684 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.0195/0.6922, allocations: 7.581 MB / 462.2 MB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/0.6979, allocations: 0.8888 MB / 463.1 MB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07682/0.7748, allocations: 18.62 MB / 481.7 MB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.7749, allocations: 43.22 kB / 481.8 MB, free: 3.711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 3.867e-06/0.7749, allocations: 0 / 481.8 MB, free: 3.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.0534/0.8283, allocations: 5.61 MB / 487.4 MB, free: 13.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6023/1.431, allocations: 48.39 MB / 0.5232 GB, free: 99.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/1.433, allocations: 0.7799 MB / 0.524 GB, free: 99.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002482/1.433, allocations: 41.7 kB / 0.524 GB, free: 99.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/1.434, allocations: 0.7096 MB / 0.5247 GB, free: 98.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/1.434, allocations: 336.4 kB / 0.525 GB, free: 98.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/1.435, allocations: 24 kB / 0.525 GB, free: 98.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/1.435, allocations: 365.5 kB / 0.5254 GB, free: 97.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/1.437, allocations: 475.8 kB / 0.5259 GB, free: 97.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/1.44, allocations: 0.9698 MB / 0.5268 GB, free: 96.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/1.442, allocations: 0.5963 MB / 0.5274 GB, free: 95.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/1.443, allocations: 4 kB / 0.5274 GB, free: 95.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.007287/1.45, allocations: 1.619 MB / 0.529 GB, free: 93.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001727/1.452, allocations: 6.274 MB / 0.5351 GB, free: 87.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.95e-05/1.452, allocations: 16 kB / 0.5351 GB, free: 87.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009393/1.461, allocations: 0.6998 MB / 0.5358 GB, free: 86.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/1.464, allocations: 331.4 kB / 0.5361 GB, free: 86.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/1.467, allocations: 1.37 MB / 0.5374 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/1.47, allocations: 128.8 kB / 0.5376 GB, free: 84.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/1.471, allocations: 83.95 kB / 0.5376 GB, free: 84.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.471, allocations: 4 kB / 0.5377 GB, free: 84.43 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00998/1.481, allocations: 1.775 MB / 0.5394 GB, free: 82.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/1.481, allocations: 16 kB / 0.5394 GB, free: 82.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/1.484, allocations: 393 kB / 0.5398 GB, free: 82.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.487, allocations: 339.4 kB / 0.5401 GB, free: 81.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/1.488, allocations: 1.327 MB / 0.5414 GB, free: 80.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.49, allocations: 131.9 kB / 0.5415 GB, free: 80.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/1.491, allocations: 79.97 kB / 0.5416 GB, free: 80.33 MB / 426.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.0009078/1.491, allocations: 338.4 kB / 0.5419 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003668/1.492, allocations: 122.5 kB / 0.542 GB, free: 79.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007306/1.499, allocations: 3.619 MB / 0.5456 GB, free: 76.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006176/1.505, allocations: 3.09 MB / 0.5486 GB, free: 73.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.505, allocations: 3.953 kB / 0.5486 GB, free: 73.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/1.506, allocations: 11.92 kB / 0.5486 GB, free: 73.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/1.517, allocations: 5.837 MB / 0.5543 GB, free: 67.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.517, allocations: 0 / 0.5543 GB, free: 67.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.519, allocations: 203.8 kB / 0.5545 GB, free: 67.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005368/1.524, allocations: 1.293 MB / 0.5558 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/1.525, allocations: 31.98 kB / 0.5558 GB, free: 65.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/1.528, allocations: 2.156 MB / 0.5579 GB, free: 63.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08827/1.616, allocations: 24.79 MB / 0.5821 GB, free: 38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00804/1.624, allocations: 3.819 MB / 0.5858 GB, free: 34.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009795/1.625, allocations: 386.4 kB / 0.5862 GB, free: 33.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.625, allocations: 24 kB / 0.5862 GB, free: 33.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.627, allocations: 95.81 kB / 0.5863 GB, free: 33.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/1.627, allocations: 80.83 kB / 0.5864 GB, free: 33.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.627, allocations: 39.97 kB / 0.5864 GB, free: 33.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001263/1.629, allocations: 0.6353 MB / 0.5871 GB, free: 32.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.629, allocations: 0 / 0.5871 GB, free: 32.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0158/1.644, allocations: 3.99 MB / 0.591 GB, free: 29.08 MB / 426.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.03061/1.675, allocations: 2.853 MB / 0.5937 GB, free: 26.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007604/1.683, allocations: 2.45 MB / 0.5961 GB, free: 24.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/1.683, allocations: 0 / 0.5961 GB, free: 24.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002935/1.686, allocations: 1.158 MB / 0.5973 GB, free: 22.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/1.689, allocations: 382.1 kB / 0.5976 GB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009878/1.699, allocations: 5.188 MB / 0.6027 GB, free: 17.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.7, allocations: 1.435 MB / 0.6041 GB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008346/1.701, allocations: 135.4 kB / 0.6042 GB, free: 15.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/1.701, allocations: 0 / 0.6042 GB, free: 15.74 MB / 426.7 MB Notification: Performance of Templates: time 0.6437/2.345, allocations: 124.6 MB / 0.7259 GB, free: 98.93 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferFunctions.cpp:15820:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp1373, tmp1374); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpDCMotorHeatTransferCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransferCalcHelperMain.o] Error 1