Running command: translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.312e-05, allocations: 7.984 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09409, allocations: 50.41 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3525/0.4467, allocations: 82.66 MB / 425.2 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.4469, allocations: 70.66 kB / 425.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1066/0.5536, allocations: 26.57 MB / 451.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.5536, allocations: 0 / 451.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.327e-05/0.5537, allocations: 8 kB / 451.8 MB, free: 5.234 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001662/0.5554, allocations: 0.9881 MB / 452.8 MB, free: 4.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5554, allocations: 12.03 kB / 452.8 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.5556, allocations: 79.06 kB / 452.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.557, allocations: 0.6073 MB / 453.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.5571, allocations: 15.69 kB / 453.5 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.5572, allocations: 30.67 kB / 453.6 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.5579, allocations: 353 kB / 453.9 MB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5579, allocations: 0 / 453.9 MB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.558, allocations: 15.78 kB / 453.9 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.558, allocations: 11.95 kB / 453.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.5585, allocations: 183.6 kB / 454.1 MB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.5607, allocations: 1.425 MB / 455.6 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.5615, allocations: 339.1 kB / 455.9 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.5619, allocations: 185.9 kB / 456.1 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.5619, allocations: 15.98 kB / 456.1 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007508/0.5627, allocations: 463.2 kB / 456.5 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.397e-06/0.5627, allocations: 0 / 456.5 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001443/0.5641, allocations: 0.6184 MB / 457.1 MB, free: 164 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003069/0.5645, allocations: 464.9 kB / 457.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.5661, allocations: 0.8356 MB / 458.4 MB, free: 14.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/0.5662, allocations: 49.62 kB / 458.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.5665, allocations: 303.5 kB / 458.8 MB, free: 14.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.5667, allocations: 114.7 kB / 458.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.5667, allocations: 12 kB / 458.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5669, allocations: 330.8 kB / 459.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.5673, allocations: 157 kB / 459.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.5679, allocations: 358 kB / 459.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.5684, allocations: 279.2 kB / 460 MB, free: 13.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.843e-06/0.5685, allocations: 4 kB / 460 MB, free: 13.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001376/0.5698, allocations: 0.6152 MB / 460.6 MB, free: 12.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/0.57, allocations: 93.09 kB / 460.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.908e-06/0.57, allocations: 4 kB / 460.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.57, allocations: 8 kB / 460.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.5704, allocations: 71.83 kB / 460.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.5704, allocations: 12.23 kB / 460.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.5709, allocations: 43.73 kB / 460.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.5709, allocations: 24 kB / 460.9 MB, free: 12.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition6,$whenCondition7,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003205/0.5713, allocations: 274.2 kB / 461.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.5715, allocations: 87.06 kB / 461.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.5727, allocations: 0.514 MB / 461.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.764e-06/0.5727, allocations: 4 kB / 461.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.595e-06/0.5727, allocations: 4 kB / 461.8 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.35e-06/0.5728, allocations: 7.891 kB / 461.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.5746, allocations: 1.067 MB / 462.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5747, allocations: 4 kB / 462.8 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.5748, allocations: 31.92 kB / 462.9 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.995e-06/0.5749, allocations: 0 / 462.9 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.5749, allocations: 23.98 kB / 462.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.336e-06/0.5749, allocations: 0 / 462.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.514e-06/0.575, allocations: 7.953 kB / 462.9 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.5766, allocations: 0.8555 MB / 463.7 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.5769, allocations: 192.1 kB / 463.9 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.5771, allocations: 23.98 kB / 464 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.5775, allocations: 27.98 kB / 464 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.5777, allocations: 39.95 kB / 464 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/0.5777, allocations: 23.98 kB / 464 MB, free: 8.809 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.579, allocations: 0.6592 MB / 464.7 MB, free: 8.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.579, allocations: 0 / 464.7 MB, free: 8.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000869/0.5799, allocations: 187.9 kB / 464.9 MB, free: 7.961 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.00168/0.5816, allocations: 0.4932 MB / 465.4 MB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.5828, allocations: 0.6197 MB / 466 MB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.755e-06/0.5828, allocations: 4.062 kB / 466 MB, free: 6.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006646/0.5835, allocations: 434.1 kB / 466.4 MB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.5843, allocations: 146.9 kB / 466.6 MB, free: 6.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.5867, allocations: 1.047 MB / 467.6 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.5878, allocations: 0.9452 MB / 468.6 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.588, allocations: 59.42 kB / 468.6 MB, free: 4.184 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.588, allocations: 0 / 468.6 MB, free: 4.184 MB / 378.7 MB Notification: Performance of Templates: time 0.01867/0.6067, allocations: 9.934 MB / 478.6 MB, free: 10.28 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1.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.Blocks.Examples.Interaction1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1CalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1Functions.cpp:542:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp64.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.Blocks.Examples.Interaction1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1CalcHelperMain.o] Error 1