Running command: translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Logical") Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 270 MB / 282.7 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.38e-05, allocations: 7.938 kB / 347 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4686, allocations: 94.37 MB / 0.4914 GB, free: 12.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.4688, allocations: 67.97 kB / 0.4915 GB, free: 12.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05348/0.5223, allocations: 13.01 MB / 0.5042 GB, free: 15.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5224, allocations: 0 / 0.5042 GB, free: 15.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.142e-05/0.5225, allocations: 19.94 kB / 0.5042 GB, free: 15.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001822/0.5243, allocations: 0.8452 MB / 0.505 GB, free: 14.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5243, allocations: 8.031 kB / 0.505 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.5245, allocations: 67.25 kB / 0.5051 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008973/0.5255, allocations: 418 kB / 0.5055 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.5255, allocations: 36.95 kB / 0.5055 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.5256, allocations: 48 kB / 0.5056 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.5266, allocations: 413.8 kB / 0.506 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5267, allocations: 0 / 0.506 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.5267, allocations: 20 kB / 0.506 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.5268, allocations: 8 kB / 0.506 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.5275, allocations: 262 kB / 0.5062 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.5302, allocations: 1.13 MB / 0.5074 GB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.5316, allocations: 464.3 kB / 0.5078 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.532, allocations: 158.2 kB / 0.5079 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.5321, allocations: 4.438 kB / 0.5079 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006113/0.5327, allocations: 264.4 kB / 0.5082 GB, free: 10.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 4.277e-06/0.5327, allocations: 0 / 0.5082 GB, free: 10.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.00111/0.5338, allocations: 411.5 kB / 0.5086 GB, free: 10.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.534, allocations: 144.9 kB / 0.5087 GB, free: 10.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/0.5348, allocations: 466.8 kB / 0.5092 GB, free: 9.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.424e-05/0.5349, allocations: 53.64 kB / 0.5092 GB, free: 9.781 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.5352, allocations: 275.9 kB / 0.5095 GB, free: 9.512 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.5354, allocations: 134.4 kB / 0.5096 GB, free: 9.379 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.5354, allocations: 12 kB / 0.5096 GB, free: 9.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.5356, allocations: 334.8 kB / 0.51 GB, free: 9.031 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.536, allocations: 141.1 kB / 0.5101 GB, free: 8.895 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.5365, allocations: 231.9 kB / 0.5103 GB, free: 8.648 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.5369, allocations: 127.2 kB / 0.5104 GB, free: 8.523 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.63e-06/0.5369, allocations: 0 / 0.5104 GB, free: 8.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001241/0.5382, allocations: 435.8 kB / 0.5108 GB, free: 8.086 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5382, allocations: 12 kB / 0.5109 GB, free: 8.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.851e-06/0.5382, allocations: 0 / 0.5109 GB, free: 8.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.5384, allocations: 32.84 kB / 0.5109 GB, free: 8.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.5388, allocations: 67.78 kB / 0.511 GB, free: 7.973 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.5406, allocations: 1.428 MB / 0.5123 GB, free: 6.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.5412, allocations: 87.91 kB / 0.5124 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.5412, allocations: 16 kB / 0.5124 GB, free: 6.305 MB / 442.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: 58 ($whenCondition2,$PRE.table2.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,and1.u1,and1.u2,and1.y,nor.u1,nand.u1,$PRE.pre1.u,pre1.u,$PRE.edge1.u,edge1.u,edge1.y,fallingEdge.y,$PRE.fallingEdge.not_u,fallingEdge.not_u,$PRE.change1.u,change1.u,change1.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y,greater.y,greaterEqual.y,less.y,lessEqual.y,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos,logicalSwitch.u1,logicalSwitch.u2,logicalSwitch.y,$PRE.hysteresis.y,hysteresis.y,$PRE.onOffController.y,onOffController.y,triggeredTrapezoid.endValue,triggeredTrapezoid.rate,triggeredTrapezoid.T,$PRE.timer.entryTime,timer.entryTime,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.5415, allocations: 158.1 kB / 0.5126 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.5416, allocations: 51.39 kB / 0.5126 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.5428, allocations: 461.4 kB / 0.5131 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.5428, allocations: 8 kB / 0.5131 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.339e-06/0.5428, allocations: 7.875 kB / 0.5131 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.569e-06/0.5428, allocations: 4 kB / 0.5131 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.5452, allocations: 1.076 MB / 0.5142 GB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5452, allocations: 0 / 0.5142 GB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.5455, allocations: 47.84 kB / 0.5142 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.652e-06/0.5455, allocations: 8 kB / 0.5142 GB, free: 4.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.5456, allocations: 15.98 kB / 0.5142 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.64e-06/0.5456, allocations: 0 / 0.5142 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-06/0.5456, allocations: 0 / 0.5142 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.5467, allocations: 0.5151 MB / 0.5147 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.5469, allocations: 136.4 kB / 0.5149 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.547, allocations: 19.98 kB / 0.5149 GB, free: 3.715 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.5475, allocations: 71.94 kB / 0.5149 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.5478, allocations: 68.33 kB / 0.515 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/0.5478, allocations: 27.92 kB / 0.515 GB, free: 3.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006028/0.5484, allocations: 349.2 kB / 0.5154 GB, free: 3.211 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.5485, allocations: 4 kB / 0.5154 GB, free: 3.207 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007107/0.5492, allocations: 123.9 kB / 0.5155 GB, free: 3.086 MB / 442.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: 43 (and1.u2,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,and1.u1,and1.y,nor.u1,nand.u1,pre1.u,edge1.u,edge1.y,fallingEdge.y,fallingEdge.not_u,change1.u,change1.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y,greater.y,greaterEqual.y,less.y,lessEqual.y,zeroCrossing.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,logicalSwitch.u1,logicalSwitch.u2,logicalSwitch.y,hysteresis.y,onOffController.y,triggeredTrapezoid.endValue,triggeredTrapezoid.rate,triggeredTrapezoid.T,timer.entryTime,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u) * Number of discrete states: 15 (table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEvent,pre1.u,zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable,hysteresis.y,onOffController.y,rSFlipFlop.pre.u,table2.combiTimeTable.nextTimeEventScaled,triggeredTrapezoid.y,table1.combiTimeTable.nextTimeEventScaled,change1.u,fallingEdge.not_u,edge1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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.001573/0.5508, allocations: 452.4 kB / 0.5159 GB, free: 2.773 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.552, allocations: 0.4906 MB / 0.5164 GB, free: 2.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.691e-06/0.552, allocations: 0 / 0.5164 GB, free: 2.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004846/0.5525, allocations: 209.7 kB / 0.5166 GB, free: 2.066 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.5531, allocations: 74.94 kB / 0.5167 GB, free: 1.996 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.5548, allocations: 0.7231 MB / 0.5174 GB, free: 1.242 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.5555, allocations: 0.8842 MB / 0.5182 GB, free: 332 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5558, allocations: 51.42 kB / 0.5183 GB, free: 280 kB / 442.7 MB Notification: Performance of SimCode: time 1.66e-06/0.5558, allocations: 0 / 0.5183 GB, free: 280 kB / 442.7 MB Notification: Performance of Templates: time 0.01588/0.5717, allocations: 8.046 MB / 0.5261 GB, free: 8.238 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Logical.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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.LogicalCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.LogicalCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.LogicalCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.LogicalFunctions.cpp:291:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp54.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 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.LogicalCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.LogicalCalcHelperMain.o] Error 1