Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.08e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.482/0.6158, allocations: 65.07 MB / 476 MB, free: 4.402 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0432/0.659, allocations: 19.11 MB / 495.1 MB, free: 3.449 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/0.6628, allocations: 111.1 kB / 495.2 MB, free: 3.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00415/0.667, allocations: 0.8822 MB / 496.1 MB, free: 2.453 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.6772, allocations: 2.348 MB / 498.4 MB, free: 100 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01812/0.6953, allocations: 4.833 MB / 0.4915 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008201/0.7036, allocations: 3.166 MB / 0.4946 GB, free: 8.086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002891/0.7065, allocations: 1.279 MB / 0.4958 GB, free: 6.805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.6924/1.399, allocations: 123 MB / 0.616 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1172/1.516, allocations: 53.2 MB / 0.6679 GB, free: 83.86 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01929/1.536, allocations: 7.994 MB / 0.6757 GB, free: 76.85 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00208/1.538, allocations: 204 kB / 0.6759 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001718/1.539, allocations: 0.854 MB / 0.6768 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/1.541, allocations: 284 kB / 0.677 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008372/1.549, allocations: 3.838 MB / 0.6808 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.549, allocations: 0 / 0.6808 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.966e-06/1.549, allocations: 0 / 0.6808 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000114/1.549, allocations: 0 / 0.6808 GB, free: 72.49 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01031/1.56, allocations: 2.751 MB / 0.6835 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.56, allocations: 12.03 kB / 0.6835 GB, free: 69.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/1.561, allocations: 306.2 kB / 0.6838 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/1.566, allocations: 1.52 MB / 0.6852 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/1.566, allocations: 220.3 kB / 0.6855 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005362/1.566, allocations: 191.5 kB / 0.6856 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007925/1.574, allocations: 3.267 MB / 0.6888 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.842e-05/1.575, allocations: 16.39 kB / 0.6888 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/1.575, allocations: 87.56 kB / 0.6889 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004547/1.575, allocations: 249.6 kB / 0.6892 GB, free: 65.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008439/1.584, allocations: 3.092 MB / 0.6922 GB, free: 63.43 MB / 0.5105 GB 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.02826/1.612, allocations: 13.97 MB / 0.7058 GB, free: 51.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006632/1.619, allocations: 2.279 MB / 0.7081 GB, free: 49.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/1.634, allocations: 6.004 MB / 0.7139 GB, free: 44.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/1.634, allocations: 59.05 kB / 0.714 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001266/1.636, allocations: 185.5 kB / 0.7142 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=172): time 5.631e-06/1.636, allocations: 0 / 0.7142 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=198): time 0.05137/1.687, allocations: 10.81 MB / 0.7247 GB, free: 35.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/1.687, allocations: 77.34 kB / 0.7248 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/1.69, allocations: 1.609 MB / 0.7264 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005001/1.691, allocations: 60.33 kB / 0.7264 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007647/1.691, allocations: 0.9812 MB / 0.7274 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00085/1.692, allocations: 0.678 MB / 0.728 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/1.692, allocations: 45.12 kB / 0.7281 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.693, allocations: 415.6 kB / 0.7285 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/1.696, allocations: 1.202 MB / 0.7296 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/1.699, allocations: 1.769 MB / 0.7314 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/1.703, allocations: 1.465 MB / 0.7328 GB, free: 29.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/1.703, allocations: 8 kB / 0.7328 GB, free: 29.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01126/1.714, allocations: 3.827 MB / 0.7365 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001342/1.716, allocations: 6.703 MB / 0.7431 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-05/1.716, allocations: 19.98 kB / 0.7431 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006856/1.723, allocations: 1.191 MB / 0.7443 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003758/1.726, allocations: 486.7 kB / 0.7447 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.739, allocations: 10.63 MB / 0.7551 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/1.743, allocations: 195.8 kB / 0.7553 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005541/1.744, allocations: 113.8 kB / 0.7554 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.744, allocations: 4 kB / 0.7554 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01064/1.754, allocations: 3.571 MB / 0.7589 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.466e-05/1.754, allocations: 20 kB / 0.7589 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003699/1.758, allocations: 0.8524 MB / 0.7598 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004236/1.762, allocations: 0.4916 MB / 0.7602 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/1.775, allocations: 10.34 MB / 0.7703 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/1.779, allocations: 187.7 kB / 0.7705 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004213/1.779, allocations: 112 kB / 0.7706 GB, free: 9.102 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 245 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 15,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001969/1.781, allocations: 0.6393 MB / 0.7712 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007529/1.782, allocations: 233.1 kB / 0.7715 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/1.795, allocations: 4.017 MB / 0.7754 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.944e-05/1.795, allocations: 23.98 kB / 0.7754 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.795, allocations: 4 kB / 0.7754 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01035/1.805, allocations: 3.409 MB / 0.7787 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/1.824, allocations: 6.379 MB / 0.785 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.824, allocations: 0 / 0.785 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/1.827, allocations: 322.4 kB / 0.7853 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007442/1.835, allocations: 1.237 MB / 0.7865 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005176/1.835, allocations: 71.95 kB / 0.7866 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/1.85, allocations: 10.55 MB / 0.7969 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.85, allocations: 0 / 0.7969 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/1.865, allocations: 5.241 MB / 0.802 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/1.867, allocations: 0.6189 MB / 0.8026 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007523/1.868, allocations: 55.98 kB / 0.8026 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/1.871, allocations: 151.6 kB / 0.8028 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/1.872, allocations: 177.7 kB / 0.803 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003186/1.872, allocations: 79.95 kB / 0.803 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002734/1.875, allocations: 1.214 MB / 0.8042 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.91e-07/1.875, allocations: 0 / 0.8042 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00757/1.882, allocations: 1.777 MB / 0.806 GB, free: 4.09 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 168 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003494/1.886, allocations: 0.9768 MB / 0.8069 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0189/1.905, allocations: 6.126 MB / 0.8129 GB, free: 13.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.905, allocations: 0 / 0.8129 GB, free: 13.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007153/1.912, allocations: 2.244 MB / 0.8151 GB, free: 10.79 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007797/1.92, allocations: 0.9266 MB / 0.816 GB, free: 9.867 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/1.936, allocations: 6.684 MB / 0.8225 GB, free: 3.195 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/1.939, allocations: 1.911 MB / 0.8244 GB, free: 1.246 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/1.94, allocations: 230.4 kB / 0.8246 GB, free: 1.023 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/1.94, allocations: 0 / 0.8246 GB, free: 1.023 MB / 0.573 GB Notification: Performance of Templates: time 0.5025/2.443, allocations: 118.3 MB / 0.9401 GB, free: 137.4 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitialCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitialCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitialCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitialFunctions.cpp:1879:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp474, tmp475); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestExamplesVariants.HeatingSystem_FixedInitialCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitialCalcHelperMain.o] Error 1