Running command: translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 2.725/2.725, allocations: 270 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.025e-05/5.052e-05, allocations: 4 kB / 348.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3538, allocations: 61.87 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.5513, allocations: 90.13 MB / 0.4887 GB, free: 476 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.5517, allocations: 63.97 kB / 0.4887 GB, free: 412 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1538/0.7055, allocations: 29.61 MB / 0.5177 GB, free: 2.738 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.7056, allocations: 0 / 0.5177 GB, free: 2.738 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.7057, allocations: 20 kB / 0.5177 GB, free: 2.719 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002131/0.7078, allocations: 1.08 MB / 0.5187 GB, free: 1.555 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7079, allocations: 8.031 kB / 0.5187 GB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.7082, allocations: 98.78 kB / 0.5188 GB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.7103, allocations: 0.7222 MB / 0.5195 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.7104, allocations: 28.55 kB / 0.5196 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.7105, allocations: 27.95 kB / 0.5196 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000838/0.7113, allocations: 401.3 kB / 0.52 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.7113, allocations: 0 / 0.52 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.7114, allocations: 15.98 kB / 0.52 GB, free: 160 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.7114, allocations: 4 kB / 0.52 GB, free: 156 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3729/1.084, allocations: 196.7 kB / 0.5202 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003178/1.088, allocations: 1.619 MB / 0.5218 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/1.089, allocations: 485.2 kB / 0.5222 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/1.089, allocations: 194.2 kB / 0.5224 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/1.089, allocations: 7.531 kB / 0.5224 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007961/1.09, allocations: 375.1 kB / 0.5228 GB, free: 103.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 5.496e-06/1.09, allocations: 3.531 kB / 0.5228 GB, free: 103.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001745/1.092, allocations: 0.5216 MB / 0.5233 GB, free: 103.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.092, allocations: 455.6 kB / 0.5237 GB, free: 102.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/1.094, allocations: 0.9498 MB / 0.5246 GB, free: 102.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/1.094, allocations: 42.39 kB / 0.5247 GB, free: 102.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/1.095, allocations: 376.3 kB / 0.525 GB, free: 102.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/1.095, allocations: 131.4 kB / 0.5252 GB, free: 102.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/1.095, allocations: 9.781 kB / 0.5252 GB, free: 102.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.504e-05/1.095, allocations: 329.1 kB / 0.5255 GB, free: 102 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/1.095, allocations: 137.2 kB / 0.5256 GB, free: 102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/1.096, allocations: 361.8 kB / 0.526 GB, free: 101.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/1.096, allocations: 169.1 kB / 0.5261 GB, free: 101.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/1.096, allocations: 2.203 kB / 0.5261 GB, free: 101.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001429/1.098, allocations: 0.5071 MB / 0.5266 GB, free: 101.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.098, allocations: 8.5 kB / 0.5266 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.098, allocations: 4.062 kB / 0.5266 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/1.098, allocations: 10.3 kB / 0.5267 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/1.098, allocations: 100.8 kB / 0.5267 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/1.099, allocations: 12.31 kB / 0.5268 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/1.099, allocations: 73.98 kB / 0.5268 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/1.099, allocations: 21.59 kB / 0.5269 GB, free: 101.7 MB / 442.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: 48 ($whenCondition8,$PRE.booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.y,booleanTable1.combiTimeTable.nextTimeEvent,$PRE.booleanTable1.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEventScaled,$whenCondition7,$PRE.booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.y,booleanTable2a.combiTimeTable.nextTimeEvent,$PRE.booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEventScaled,$whenCondition6,$PRE.booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.y,booleanTable2b.combiTimeTable.nextTimeEvent,$PRE.booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEventScaled,$whenCondition5,$PRE.booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.y,booleanTable3a.combiTimeTable.nextTimeEvent,$PRE.booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEventScaled,$whenCondition4,$PRE.booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.y,booleanTable3b.combiTimeTable.nextTimeEvent,$PRE.booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.y,booleanTable3c.combiTimeTable.nextTimeEvent,$PRE.booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.y,booleanTable4a.combiTimeTable.nextTimeEvent,$PRE.booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.y,booleanTable4b.combiTimeTable.nextTimeEvent,$PRE.booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4b.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0002112/1.1, allocations: 174.8 kB / 0.527 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/1.1, allocations: 100.8 kB / 0.5271 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/1.101, allocations: 0.5987 MB / 0.5277 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.101, allocations: 7.875 kB / 0.5277 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.635e-06/1.101, allocations: 8.562 kB / 0.5277 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.101, allocations: 10.03 kB / 0.5277 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009645/1.102, allocations: 0.6732 MB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.781e-06/1.102, allocations: 1.406 kB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/1.103, allocations: 50.83 kB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.103, allocations: 3.938 kB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/1.103, allocations: 15.34 kB / 0.5284 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.916e-06/1.103, allocations: 11 kB / 0.5285 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.665e-06/1.103, allocations: 0 / 0.5285 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/1.104, allocations: 0.7165 MB / 0.5292 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/1.104, allocations: 228 kB / 0.5294 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/1.105, allocations: 24.06 kB / 0.5294 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/1.105, allocations: 57.06 kB / 0.5295 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.105, allocations: 47.66 kB / 0.5295 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/1.105, allocations: 31.19 kB / 0.5295 GB, free: 100.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001301/1.107, allocations: 0.7412 MB / 0.5303 GB, free: 100.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.99e-07/1.107, allocations: 0 / 0.5303 GB, free: 100.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009893/1.108, allocations: 183.4 kB / 0.5304 GB, free: 100.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,booleanTable1.y,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled,$whenCondition7,booleanTable2a.y,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,$whenCondition6,booleanTable2b.y,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,$whenCondition5,booleanTable3a.y,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,$whenCondition4,booleanTable3b.y,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,$whenCondition3,booleanTable3c.y,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,$whenCondition2,booleanTable4a.y,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,$whenCondition1,booleanTable4b.y,booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 16 (booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.001544/1.109, allocations: 485.8 kB / 0.5309 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/1.11, allocations: 410.8 kB / 0.5313 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.492e-06/1.11, allocations: 0 / 0.5313 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005795/1.111, allocations: 268.6 kB / 0.5315 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.112, allocations: 244.4 kB / 0.5318 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/1.115, allocations: 1.108 MB / 0.5329 GB, free: 99.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/1.115, allocations: 1.005 MB / 0.5338 GB, free: 99.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008153/1.116, allocations: 205.4 kB / 0.534 GB, free: 99.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/1.116, allocations: 104.6 kB / 0.5341 GB, free: 99.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.596e-06/1.116, allocations: 0 / 0.5341 GB, free: 99.06 MB / 442.7 MB [CodegenCFunctions.tpl:3768:14-3768:14:writable] Error: Template error: literalExpConst failed: {}. Notification: Performance of Templates: time 0.02823/1.145, allocations: 11.98 MB / 0.5458 GB, free: 94.53 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Blocks_BooleanTable -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.o ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.c In file included from ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable_model.h:91: ./ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable_literals.h:24:2: error: "[CodegenCFunctions.tpl:3768:14-3768:14] literalExpConst failed: {}" #error "[CodegenCFunctions.tpl:3768:14-3768:14] literalExpConst failed: {}" ^ 1 error generated. : recipe for target 'ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.o' failed make: *** [ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.o] Error 1