Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.641e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4295, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.06424/0.4938, allocations: 38.18 MB / 401 MB, free: 7.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03665/0.5305, allocations: 17.51 MB / 418.5 MB, free: 6.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.5327, allocations: 55.69 kB / 418.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.5354, allocations: 0.5712 MB / 419.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.5512, allocations: 3.968 MB / 423.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.5623, allocations: 2.699 MB / 425.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00439/0.5667, allocations: 1.388 MB / 427.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.5685, allocations: 0.6995 MB / 427.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.5711, allocations: 0.8257 MB / 428.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01691/0.588, allocations: 6.534 MB / 435.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02273/0.6108, allocations: 7.106 MB / 442.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005472/0.6163, allocations: 456 kB / 442.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000892/0.6173, allocations: 254.9 kB / 443.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.6184, allocations: 163.9 kB / 443.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.6305, allocations: 4.322 MB / 447.6 MB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6305, allocations: 4 kB / 447.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6306, allocations: 3.938 kB / 447.6 MB, free: 8.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.764e-05/0.6306, allocations: 0 / 447.6 MB, free: 8.953 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007207/0.6378, allocations: 2.029 MB / 449.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6379, allocations: 12.03 kB / 449.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.6417, allocations: 405.7 kB / 450 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.6444, allocations: 0.9105 MB / 450.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.6446, allocations: 98.61 kB / 451 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.645, allocations: 132 kB / 451.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006182/0.6512, allocations: 1.652 MB / 452.8 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.186e-05/0.6513, allocations: 3.906 kB / 452.8 MB, free: 3.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.6515, allocations: 60 kB / 452.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.844e-05/0.6516, allocations: 50.3 kB / 452.9 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005765/0.6574, allocations: 1.344 MB / 454.3 MB, free: 2.062 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.01449/0.6719, allocations: 7.614 MB / 461.9 MB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/0.6761, allocations: 0.9185 MB / 462.8 MB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06342/0.7396, allocations: 18.62 MB / 481.4 MB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.7397, allocations: 39.12 kB / 481.4 MB, free: 4.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=68): time 3.937e-06/0.7397, allocations: 0 / 481.4 MB, free: 4.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.05586/0.7956, allocations: 5.958 MB / 487.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6114/1.407, allocations: 48.86 MB / 0.5237 GB, free: 99.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/1.409, allocations: 0.7728 MB / 0.5245 GB, free: 98.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.409, allocations: 41.7 kB / 0.5245 GB, free: 98.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/1.409, allocations: 0.7144 MB / 0.5252 GB, free: 98.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/1.41, allocations: 318.8 kB / 0.5255 GB, free: 97.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/1.41, allocations: 31.94 kB / 0.5255 GB, free: 97.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/1.41, allocations: 366.8 kB / 0.5259 GB, free: 97.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/1.412, allocations: 467.7 kB / 0.5263 GB, free: 96.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/1.414, allocations: 0.9515 MB / 0.5272 GB, free: 95.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/1.416, allocations: 0.5924 MB / 0.5278 GB, free: 95.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/1.416, allocations: 4 kB / 0.5278 GB, free: 95.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005542/1.421, allocations: 1.678 MB / 0.5295 GB, free: 93.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001278/1.423, allocations: 6.367 MB / 0.5357 GB, free: 86.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.194e-05/1.423, allocations: 16 kB / 0.5357 GB, free: 86.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007632/1.43, allocations: 0.9787 MB / 0.5367 GB, free: 85.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/1.432, allocations: 311.5 kB / 0.537 GB, free: 85.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/1.436, allocations: 1.681 MB / 0.5386 GB, free: 83.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.438, allocations: 115.8 kB / 0.5387 GB, free: 83.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/1.438, allocations: 75.97 kB / 0.5388 GB, free: 83.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.438, allocations: 8 kB / 0.5388 GB, free: 83.35 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006758/1.445, allocations: 1.774 MB / 0.5405 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/1.445, allocations: 24 kB / 0.5405 GB, free: 81.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003881/1.449, allocations: 0.6394 MB / 0.5412 GB, free: 80.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.451, allocations: 311.5 kB / 0.5415 GB, free: 80.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/1.454, allocations: 1.63 MB / 0.5431 GB, free: 78.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.456, allocations: 111.8 kB / 0.5432 GB, free: 78.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/1.456, allocations: 79.94 kB / 0.5432 GB, free: 78.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (145): * Single equations (assignments): 143 * 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: 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 9,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008985/1.457, allocations: 335.1 kB / 0.5436 GB, free: 78.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/1.457, allocations: 114.6 kB / 0.5437 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.469, allocations: 3.739 MB / 0.5473 GB, free: 74.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.785e-05/1.469, allocations: 39.94 kB / 0.5474 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.469, allocations: 0 / 0.5474 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.721e-05/1.469, allocations: 7.922 kB / 0.5474 GB, free: 74.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/1.487, allocations: 5.864 MB / 0.5531 GB, free: 68.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/1.487, allocations: 4 kB / 0.5531 GB, free: 68.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.489, allocations: 159.9 kB / 0.5532 GB, free: 68.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00942/1.498, allocations: 1.592 MB / 0.5548 GB, free: 66.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/1.499, allocations: 31.92 kB / 0.5548 GB, free: 66.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00595/1.505, allocations: 2.412 MB / 0.5572 GB, free: 64.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1266/1.631, allocations: 25.28 MB / 0.5819 GB, free: 38.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/1.645, allocations: 3.859 MB / 0.5856 GB, free: 34.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.646, allocations: 386.4 kB / 0.586 GB, free: 34.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/1.647, allocations: 24 kB / 0.586 GB, free: 34.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.649, allocations: 87.92 kB / 0.5861 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/1.649, allocations: 72.84 kB / 0.5862 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.649, allocations: 35.98 kB / 0.5862 GB, free: 33.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001812/1.651, allocations: 0.6743 MB / 0.5869 GB, free: 33.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.651, allocations: 0 / 0.5869 GB, free: 33.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0227/1.674, allocations: 3.943 MB / 0.5907 GB, free: 29.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (75): * Single equations (assignments): 67 * 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 7,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04294/1.717, allocations: 2.845 MB / 0.5935 GB, free: 26.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01109/1.728, allocations: 2.388 MB / 0.5958 GB, free: 24.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/1.728, allocations: 0 / 0.5958 GB, free: 24.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004193/1.732, allocations: 1.111 MB / 0.5969 GB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005122/1.738, allocations: 386.3 kB / 0.5973 GB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.752, allocations: 5.09 MB / 0.6023 GB, free: 17.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002373/1.754, allocations: 1.427 MB / 0.6037 GB, free: 16.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008211/1.755, allocations: 119.3 kB / 0.6038 GB, free: 16.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/1.755, allocations: 0 / 0.6038 GB, free: 16.26 MB / 426.7 MB Notification: Performance of Templates: time 0.6272/2.382, allocations: 123.6 MB / 0.7244 GB, free: 98.87 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotorCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorFunctions.cpp:15801:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp1346, tmp1347); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpDCMotorCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorCalcHelperMain.o] Error 1