Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.938e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3812, allocations: 48.7 MB / 324.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.05849/0.4397, allocations: 33.96 MB / 358.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03282/0.4726, allocations: 16.14 MB / 375 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.4739, allocations: 31.75 kB / 375 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.4757, allocations: 386.1 kB / 375.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01613/0.4919, allocations: 3.591 MB / 379 MB, free: 9.371 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.5028, allocations: 2.582 MB / 381.5 MB, free: 6.789 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002447/0.5052, allocations: 0.8221 MB / 382.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007519/0.506, allocations: 303.4 kB / 382.7 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.5079, allocations: 0.5726 MB / 383.2 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01651/0.5244, allocations: 6.41 MB / 389.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02048/0.545, allocations: 6.953 MB / 396.6 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002953/0.548, allocations: 420 kB / 397 MB, free: 7.305 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.5484, allocations: 139.5 kB / 397.1 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.5488, allocations: 84 kB / 397.2 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009335/0.5581, allocations: 3.317 MB / 400.5 MB, free: 3.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5582, allocations: 4 kB / 400.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5582, allocations: 0 / 400.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.5582, allocations: 0 / 400.5 MB, free: 3.758 MB / 330.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.005176/0.5634, allocations: 1.443 MB / 402 MB, free: 2.266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5635, allocations: 8.031 kB / 402 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.5669, allocations: 298.8 kB / 402.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.5683, allocations: 0.5238 MB / 402.8 MB, free: 1.398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.972e-05/0.5684, allocations: 45.31 kB / 402.9 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.5686, allocations: 63.89 kB / 402.9 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00392/0.5725, allocations: 0.9865 MB / 403.9 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.5726, allocations: 0 / 403.9 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.5727, allocations: 27.94 kB / 403.9 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/0.5728, allocations: 25.31 kB / 404 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.5772, allocations: 0.9104 MB / 404.9 MB, free: 15.28 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.007468/0.5847, allocations: 4.356 MB / 409.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/0.5885, allocations: 0.746 MB / 410 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5806/1.169, allocations: 80.01 MB / 490 MB, free: 130.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/1.169, allocations: 41.09 kB / 490 MB, free: 130.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 3.486e-06/1.169, allocations: 1.531 kB / 490 MB, free: 130.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.01132/1.181, allocations: 2.291 MB / 492.3 MB, free: 129.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/1.181, allocations: 119.9 kB / 492.4 MB, free: 129.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/1.182, allocations: 430.4 kB / 492.9 MB, free: 129.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/1.182, allocations: 37.23 kB / 492.9 MB, free: 129.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/1.182, allocations: 380.7 kB / 493.3 MB, free: 129.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/1.182, allocations: 174.6 kB / 493.4 MB, free: 129.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/1.182, allocations: 10.44 kB / 493.4 MB, free: 129.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/1.182, allocations: 336.2 kB / 493.8 MB, free: 128.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/1.184, allocations: 258.6 kB / 494 MB, free: 128.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/1.185, allocations: 474.2 kB / 494.5 MB, free: 128.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.186, allocations: 310 kB / 494.8 MB, free: 128.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.186, allocations: 1.25 kB / 494.8 MB, free: 128.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003625/1.19, allocations: 0.9411 MB / 495.7 MB, free: 127.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005526/1.19, allocations: 2.358 MB / 498.1 MB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/1.19, allocations: 6.781 kB / 498.1 MB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003352/1.194, allocations: 431.8 kB / 498.5 MB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.195, allocations: 141.5 kB / 498.7 MB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/1.197, allocations: 0.9321 MB / 499.6 MB, free: 124.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.198, allocations: 97.27 kB / 499.7 MB, free: 124.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.198, allocations: 38.28 kB / 499.7 MB, free: 124.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.198, allocations: 3.75 kB / 499.7 MB, free: 124.6 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004016/1.202, allocations: 0.9231 MB / 0.4889 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/1.202, allocations: 6 kB / 0.4889 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/1.204, allocations: 305.8 kB / 0.4892 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.205, allocations: 155.2 kB / 0.4894 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/1.207, allocations: 0.8699 MB / 0.4902 GB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009451/1.208, allocations: 84.81 kB / 0.4903 GB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.827e-05/1.208, allocations: 32.66 kB / 0.4903 GB, free: 123.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (60): * Single equations (assignments): 59 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005458/1.209, allocations: 214.3 kB / 0.4905 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/1.209, allocations: 65.5 kB / 0.4906 GB, free: 123.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/1.215, allocations: 2.74 MB / 0.4933 GB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.172e-05/1.215, allocations: 39.98 kB / 0.4933 GB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.215, allocations: 0 / 0.4933 GB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/1.215, allocations: 3.984 kB / 0.4933 GB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007367/1.222, allocations: 3.751 MB / 0.497 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/1.222, allocations: 0 / 0.497 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.223, allocations: 147.3 kB / 0.4971 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006603/1.224, allocations: 102.5 kB / 0.4972 GB, free: 119.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/1.224, allocations: 16.33 kB / 0.4972 GB, free: 119.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000911/1.225, allocations: 1.127 MB / 0.4983 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.225, allocations: 0 / 0.4983 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/1.23, allocations: 2.273 MB / 0.5005 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007231/1.231, allocations: 350.8 kB / 0.5009 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/1.231, allocations: 12 kB / 0.5009 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/1.232, allocations: 71.56 kB / 0.501 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.232, allocations: 52.48 kB / 0.501 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/1.232, allocations: 16 kB / 0.501 GB, free: 115.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008043/1.233, allocations: 459 kB / 0.5015 GB, free: 115.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.233, allocations: 0 / 0.5015 GB, free: 115.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004692/1.238, allocations: 1.275 MB / 0.5027 GB, free: 114 MB / 410.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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007051/1.245, allocations: 1.368 MB / 0.504 GB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004549/1.25, allocations: 1.415 MB / 0.5054 GB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.25, allocations: 4.125 kB / 0.5054 GB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/1.252, allocations: 0.7542 MB / 0.5062 GB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.254, allocations: 280.3 kB / 0.5064 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/1.26, allocations: 3.21 MB / 0.5096 GB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/1.261, allocations: 1.146 MB / 0.5107 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/1.261, allocations: 71.42 kB / 0.5107 GB, free: 106 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/1.261, allocations: 0 / 0.5107 GB, free: 106 MB / 410.7 MB Notification: Performance of Templates: time 0.07067/1.332, allocations: 38.38 MB / 0.5482 GB, free: 67.6 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValveCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValveCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValveCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValveFunctions.cpp:6287:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp391, tmp392); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestWaterPumpCheckValveCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValveCalcHelperMain.o] Error 1