Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000914/0.0009139, allocations: 99.36 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4169/0.4169, allocations: 45.23 MB / 394.6 MB, free: 31.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003185, allocations: 8 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4266, allocations: 63.24 MB / 0.5193 GB, free: 43.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.5657, allocations: 91.61 MB / 0.6087 GB, free: 14.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.566, allocations: 71.94 kB / 0.6088 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09173/0.6577, allocations: 31.53 MB / 0.6396 GB, free: 14.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6578, allocations: 0 / 0.6396 GB, free: 14.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001223/0.6579, allocations: 19.98 kB / 0.6396 GB, free: 14.41 MB / 458.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.002808/0.6607, allocations: 1.372 MB / 0.6409 GB, free: 12.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6608, allocations: 15.97 kB / 0.641 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.6609, allocations: 58.53 kB / 0.641 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.6612, allocations: 106.7 kB / 0.6411 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.6631, allocations: 0.7973 MB / 0.6419 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.6631, allocations: 24.55 kB / 0.6419 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.6632, allocations: 24 kB / 0.6419 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.6639, allocations: 420.3 kB / 0.6423 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.6639, allocations: 7.938 kB / 0.6423 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.664, allocations: 15.94 kB / 0.6424 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.664, allocations: 8 kB / 0.6424 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.6645, allocations: 219.7 kB / 0.6426 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.6666, allocations: 1.631 MB / 0.6442 GB, free: 9.438 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.6676, allocations: 0.5332 MB / 0.6447 GB, free: 8.832 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.6676, allocations: 12.22 kB / 0.6447 GB, free: 8.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006372/0.6683, allocations: 387.6 kB / 0.6451 GB, free: 8.402 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.766e-06/0.6683, allocations: 0 / 0.6451 GB, free: 8.402 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.001555/0.6699, allocations: 0.7127 MB / 0.6458 GB, free: 7.684 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.67, allocations: 456.9 kB / 0.6462 GB, free: 7.133 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.6716, allocations: 1.027 MB / 0.6472 GB, free: 6.086 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.6716, allocations: 45.7 kB / 0.6473 GB, free: 6.035 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.672, allocations: 393.3 kB / 0.6476 GB, free: 5.648 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.6721, allocations: 134.3 kB / 0.6478 GB, free: 5.516 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.6721, allocations: 8 kB / 0.6478 GB, free: 5.508 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6722, allocations: 330 kB / 0.6481 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.6726, allocations: 153 kB / 0.6482 GB, free: 5.031 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.6731, allocations: 378.3 kB / 0.6486 GB, free: 4.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.6735, allocations: 188 kB / 0.6488 GB, free: 4.387 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.6735, allocations: 0 / 0.6488 GB, free: 4.387 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001047/0.6745, allocations: 0.5472 MB / 0.6493 GB, free: 3.832 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.6746, allocations: 16.19 kB / 0.6493 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.6746, allocations: 8 kB / 0.6493 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6746, allocations: 4 kB / 0.6493 GB, free: 3.805 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.675, allocations: 99.81 kB / 0.6494 GB, free: 3.707 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.675, allocations: 8 kB / 0.6494 GB, free: 3.699 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.6755, allocations: 75.66 kB / 0.6495 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.6755, allocations: 23.95 kB / 0.6495 GB, free: 3.602 MB / 458.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 () * Number of clocked 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.0004153/0.6759, allocations: 298.7 kB / 0.6498 GB, free: 3.301 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.6762, allocations: 110.7 kB / 0.6499 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.6774, allocations: 0.6419 MB / 0.6505 GB, free: 2.539 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.6774, allocations: 8 kB / 0.6505 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6774, allocations: 0 / 0.6505 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.6775, allocations: 7.984 kB / 0.6506 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.6783, allocations: 0.7016 MB / 0.6512 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.6783, allocations: 3.984 kB / 0.6512 GB, free: 1.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.6785, allocations: 47.92 kB / 0.6513 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6785, allocations: 8 kB / 0.6513 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.6785, allocations: 19.98 kB / 0.6513 GB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.6786, allocations: 11.98 kB / 0.6513 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6786, allocations: 0 / 0.6513 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.6797, allocations: 0.7545 MB / 0.6521 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.6801, allocations: 231.7 kB / 0.6523 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.6803, allocations: 23.98 kB / 0.6523 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.6807, allocations: 55.95 kB / 0.6524 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6808, allocations: 63.81 kB / 0.6524 GB, free: 472 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.6809, allocations: 23.98 kB / 0.6524 GB, free: 448 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001214/0.6821, allocations: 0.8066 MB / 0.6532 GB, free: 15.62 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6821, allocations: 0 / 0.6532 GB, free: 15.62 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007855/0.6829, allocations: 183.8 kB / 0.6534 GB, free: 15.44 MB / 474.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) * Number of clocked states: 0 () * 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.002782/0.6857, allocations: 2.153 MB / 0.6555 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.6867, allocations: 455.5 kB / 0.6559 GB, free: 12.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6867, allocations: 0 / 0.6559 GB, free: 12.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.6873, allocations: 296.5 kB / 0.6562 GB, free: 12.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.6887, allocations: 254.4 kB / 0.6565 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.6999, allocations: 7.419 MB / 0.6637 GB, free: 4.656 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/0.7007, allocations: 1.024 MB / 0.6647 GB, free: 3.605 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007441/0.7014, allocations: 209.7 kB / 0.6649 GB, free: 3.398 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000704/0.7022, allocations: 371.2 kB / 0.6653 GB, free: 3.035 MB / 474.7 MB Notification: Performance of SimCode: time 1.703e-06/0.7022, allocations: 0 / 0.6653 GB, free: 3.035 MB / 474.7 MB [CodegenCFunctions.tpl:3817:14-3817:14:writable] Error: Template error: literalExpConst failed: {}.