Running command: translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.705e-05, allocations: 4 kB / 292.1 MB, free: 8.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08834, allocations: 50.42 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.443, allocations: 80.68 MB / 423.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4432, allocations: 72.64 kB / 423.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03726/0.4805, allocations: 9.194 MB / 432.5 MB, free: 5.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.858e-06/0.4805, allocations: 0 / 432.5 MB, free: 5.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.4806, allocations: 4 kB / 432.5 MB, free: 5.32 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008647/0.4815, allocations: 0.5661 MB / 433.1 MB, free: 4.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4815, allocations: 12.03 kB / 433.1 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.4816, allocations: 39.47 kB / 433.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.4823, allocations: 342.5 kB / 433.4 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.4824, allocations: 6.938 kB / 433.4 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.4824, allocations: 15.92 kB / 433.5 MB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.4827, allocations: 139.2 kB / 433.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.744e-06/0.4827, allocations: 0 / 433.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.4828, allocations: 3.375 kB / 433.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.723e-06/0.4828, allocations: 7.953 kB / 433.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.483, allocations: 72.97 kB / 433.7 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.4839, allocations: 0.5095 MB / 434.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.4843, allocations: 129.7 kB / 434.3 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.4844, allocations: 46.78 kB / 434.4 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.4844, allocations: 4 kB / 434.4 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.4847, allocations: 112.6 kB / 434.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.928e-06/0.4847, allocations: 0 / 434.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004268/0.4851, allocations: 168.5 kB / 434.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.4852, allocations: 110.8 kB / 434.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.4859, allocations: 389.4 kB / 435.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.4859, allocations: 32.27 kB / 435.2 MB, free: 2.812 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.4861, allocations: 216.8 kB / 435.4 MB, free: 2.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.4861, allocations: 33.42 kB / 435.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.4862, allocations: 3.125 kB / 435.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4863, allocations: 326.1 kB / 435.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.4865, allocations: 39.62 kB / 435.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.4867, allocations: 101.9 kB / 435.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4868, allocations: 42.94 kB / 435.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.013e-06/0.4868, allocations: 4 kB / 435.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003414/0.4872, allocations: 158.9 kB / 436.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4872, allocations: 4 kB / 436.1 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.879e-06/0.4872, allocations: 4 kB / 436.1 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4872, allocations: 0 / 436.1 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.4874, allocations: 31.92 kB / 436.1 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4874, allocations: 0 / 436.1 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.4876, allocations: 15.06 kB / 436.1 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.4876, allocations: 7.438 kB / 436.1 MB, free: 1.949 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEvent,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,And1.u1,And1.u2,And1.y,Or1.u1,$PRE.Pre1.u,Pre1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.4878, allocations: 130.2 kB / 436.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.4878, allocations: 35.56 kB / 436.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.4883, allocations: 184.3 kB / 436.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-06/0.4883, allocations: 4 kB / 436.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-06/0.4883, allocations: 0 / 436.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4884, allocations: 3.984 kB / 436.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.4888, allocations: 325.4 kB / 436.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-06/0.4888, allocations: 0 / 436.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.451e-05/0.4889, allocations: 19.5 kB / 436.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.719e-06/0.4889, allocations: 4 kB / 436.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.4889, allocations: 3.984 kB / 436.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.4889, allocations: 4 kB / 436.8 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-06/0.4889, allocations: 0 / 436.8 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.4894, allocations: 205.7 kB / 437 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.4895, allocations: 124.2 kB / 437.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.4896, allocations: 6.5 kB / 437.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4898, allocations: 18.98 kB / 437.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.4898, allocations: 11.42 kB / 437.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.4899, allocations: 4 kB / 437.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004692/0.4903, allocations: 315.3 kB / 437.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.4904, allocations: 0 / 437.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.4908, allocations: 62.56 kB / 437.6 MB, free: 0.6445 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,And1.u1,And1.u2,And1.y,Or1.u1,Pre1.u) * Number of discrete states: 5 (Pre1.u,table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001473/0.4923, allocations: 438.6 kB / 438 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.4926, allocations: 122.2 kB / 438.1 MB, free: 252 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.77e-06/0.4926, allocations: 0 / 438.1 MB, free: 252 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4928, allocations: 66.61 kB / 438.2 MB, free: 204 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.4932, allocations: 64.69 kB / 438.2 MB, free: 156 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008978/0.4941, allocations: 422.7 kB / 438.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.4947, allocations: 0.785 MB / 439.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.4948, allocations: 30.23 kB / 439.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.386e-06/0.4948, allocations: 4 kB / 439.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Templates: time 0.008673/0.5035, allocations: 4.251 MB / 443.7 MB, free: 10.75 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1.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.LogicalNetwork1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1Functions.cpp:291:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp26.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.LogicalNetwork1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.o] Error 1