Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.765e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.0925, allocations: 50.41 MB / 342.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4545, allocations: 83.36 MB / 425.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4547, allocations: 74.09 kB / 426 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03898/0.4937, allocations: 9.489 MB / 435.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.769e-06/0.4938, allocations: 0 / 435.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.172e-05/0.4938, allocations: 12 kB / 435.5 MB, free: 2.809 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001018/0.4948, allocations: 0.5745 MB / 436.1 MB, free: 2.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4949, allocations: 8.031 kB / 436.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.495, allocations: 43.44 kB / 436.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.4956, allocations: 313.9 kB / 436.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.4957, allocations: 15.53 kB / 436.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.4957, allocations: 25.5 kB / 436.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.4964, allocations: 284 kB / 436.7 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4964, allocations: 3.062 kB / 436.7 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.4965, allocations: 10.25 kB / 436.7 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.4965, allocations: 8 kB / 436.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.4969, allocations: 168.6 kB / 436.9 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.4987, allocations: 0.857 MB / 437.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.4994, allocations: 253.2 kB / 438 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.4996, allocations: 98.86 kB / 438.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.4997, allocations: 4.281 kB / 438.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.5, allocations: 150.5 kB / 438.3 MB, free: 356 kB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 5.896e-06/0.5001, allocations: 7.984 kB / 438.3 MB, free: 348 kB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002706/0.5028, allocations: 1.149 MB / 439.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.503, allocations: 183.9 kB / 439.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.5035, allocations: 296 kB / 439.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.5035, allocations: 36.83 kB / 439.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.5037, allocations: 226 kB / 440.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.5039, allocations: 144.3 kB / 440.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.5039, allocations: 6.312 kB / 440.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5041, allocations: 329.9 kB / 440.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.5043, allocations: 85 kB / 440.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.5047, allocations: 174.8 kB / 440.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.5049, allocations: 108.8 kB / 441 MB, free: 13.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.505, allocations: 0 / 441 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008064/0.5058, allocations: 337.2 kB / 441.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.5058, allocations: 4 kB / 441.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5059, allocations: 3.953 kB / 441.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.506, allocations: 24.41 kB / 441.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.5065, allocations: 87.09 kB / 441.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.5079, allocations: 1.283 MB / 442.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.5083, allocations: 15.61 kB / 442.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.5083, allocations: 15.12 kB / 442.7 MB, free: 12.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.5085, allocations: 131.3 kB / 442.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.5086, allocations: 35.62 kB / 442.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.5094, allocations: 345.6 kB / 443.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.417e-06/0.5094, allocations: 7.938 kB / 443.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5095, allocations: 0 / 443.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008318/0.5103, allocations: 0.6551 MB / 443.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.512, allocations: 0.8536 MB / 444.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.565e-06/0.5121, allocations: 0 / 444.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.5125, allocations: 79.14 kB / 444.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.03e-06/0.5126, allocations: 4 kB / 444.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.462e-05/0.5126, allocations: 11.56 kB / 444.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.781e-06/0.5126, allocations: 8.062 kB / 444.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.12e-06/0.5127, allocations: 4 kB / 444.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.5137, allocations: 0.5904 MB / 445.4 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.514, allocations: 141.5 kB / 445.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.5141, allocations: 14.58 kB / 445.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.5144, allocations: 11.94 kB / 445.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.5145, allocations: 35.69 kB / 445.6 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.5146, allocations: 14.94 kB / 445.7 MB, free: 9.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003941/0.515, allocations: 235.2 kB / 445.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.57e-07/0.515, allocations: 0 / 445.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006315/0.5156, allocations: 111.6 kB / 446 MB, free: 9.156 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/0.5171, allocations: 417.9 kB / 446.4 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.518, allocations: 355.7 kB / 446.8 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.5181, allocations: 4 kB / 446.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.5184, allocations: 133.2 kB / 446.9 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.519, allocations: 82.48 kB / 447 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.521, allocations: 0.8299 MB / 447.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.5217, allocations: 0.8076 MB / 448.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.5218, allocations: 35.44 kB / 448.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of SimCode: time 1.743e-06/0.5219, allocations: 0 / 448.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of Templates: time 0.01176/0.5336, allocations: 5.581 MB / 454.2 MB, free: 1.219 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderFunctions.cpp:204:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.o] Error 1