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.00135/0.00135, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000873/0.0008731, allocations: 88.31 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1866/0.1866, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.191e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 63.25 MB / 0.5114 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.5005, allocations: 91.54 MB / 0.6008 GB, free: 2.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.5007, allocations: 66.28 kB / 0.6009 GB, free: 2.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08315/0.5838, allocations: 31.44 MB / 0.6316 GB, free: 7.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5839, allocations: 0 / 0.6316 GB, free: 7.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001232/0.584, allocations: 27.98 kB / 0.6316 GB, free: 7.938 MB / 426.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.00208/0.5861, allocations: 1.138 MB / 0.6328 GB, free: 6.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5862, allocations: 11.97 kB / 0.6328 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.5863, allocations: 59.47 kB / 0.6328 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.5867, allocations: 106.7 kB / 0.6329 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.5885, allocations: 0.7852 MB / 0.6337 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.5886, allocations: 34.84 kB / 0.6337 GB, free: 5.875 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.5886, allocations: 19.88 kB / 0.6337 GB, free: 5.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.5893, allocations: 402.2 kB / 0.6341 GB, free: 5.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5893, allocations: 11.92 kB / 0.6341 GB, free: 5.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.5894, allocations: 14.33 kB / 0.6341 GB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5894, allocations: 4 kB / 0.6342 GB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.5898, allocations: 199.9 kB / 0.6343 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.592, allocations: 1.629 MB / 0.6359 GB, free: 3.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.5927, allocations: 0.5005 MB / 0.6364 GB, free: 3.457 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.593, allocations: 190.3 kB / 0.6366 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.593, allocations: 4 kB / 0.6366 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004805/0.5935, allocations: 367.2 kB / 0.637 GB, free: 2.977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 3.186e-06/0.5935, allocations: 0 / 0.637 GB, free: 2.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.000945/0.5945, allocations: 0.5374 MB / 0.6375 GB, free: 2.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001943/0.5947, allocations: 456.3 kB / 0.6379 GB, free: 2.004 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.596, allocations: 1.018 MB / 0.6389 GB, free: 1.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.596, allocations: 41.39 kB / 0.639 GB, free: 1.188 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.5963, allocations: 386.3 kB / 0.6393 GB, free: 1.016 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.5964, allocations: 131.2 kB / 0.6394 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.5964, allocations: 10.38 kB / 0.6395 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.5965, allocations: 328.6 kB / 0.6398 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.5967, allocations: 142.6 kB / 0.6399 GB, free: 0.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.5971, allocations: 359.7 kB / 0.6402 GB, free: 128 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.5973, allocations: 179.5 kB / 0.6404 GB, free: 4 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5974, allocations: 3.938 kB / 0.6404 GB, free: 0 / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007266/0.5981, allocations: 0.5226 MB / 0.6409 GB, free: 15.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5981, allocations: 13.19 kB / 0.6409 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5982, allocations: 4 kB / 0.6409 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5982, allocations: 4 kB / 0.641 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.5985, allocations: 95.58 kB / 0.641 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.5985, allocations: 15.94 kB / 0.6411 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.5989, allocations: 77.86 kB / 0.6411 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.599, allocations: 23.55 kB / 0.6412 GB, free: 15.38 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.0001466/0.5991, allocations: 170.7 kB / 0.6413 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.5993, allocations: 118.2 kB / 0.6414 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008883/0.6002, allocations: 0.5981 MB / 0.642 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.6002, allocations: 8 kB / 0.642 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6002, allocations: 4 kB / 0.642 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.6002, allocations: 3.984 kB / 0.642 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.6009, allocations: 0.7107 MB / 0.6427 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.6009, allocations: 4 kB / 0.6427 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.6011, allocations: 50.98 kB / 0.6428 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.6011, allocations: 4 kB / 0.6428 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.6011, allocations: 18.61 kB / 0.6428 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.6011, allocations: 7.938 kB / 0.6428 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6011, allocations: 0 / 0.6428 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008705/0.602, allocations: 0.7242 MB / 0.6435 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.6023, allocations: 238 kB / 0.6437 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.6024, allocations: 18.06 kB / 0.6438 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.6028, allocations: 54.58 kB / 0.6438 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.6029, allocations: 58.39 kB / 0.6439 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.6029, allocations: 23.3 kB / 0.6439 GB, free: 12.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009858/0.6039, allocations: 0.792 MB / 0.6447 GB, free: 12.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6039, allocations: 0 / 0.6447 GB, free: 12.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006212/0.6046, allocations: 179.9 kB / 0.6448 GB, free: 12.21 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.002288/0.6068, allocations: 2.102 MB / 0.6469 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007164/0.6076, allocations: 419.1 kB / 0.6473 GB, free: 10 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6076, allocations: 0.5 kB / 0.6473 GB, free: 10 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.608, allocations: 282.4 kB / 0.6476 GB, free: 9.809 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6091, allocations: 243.9 kB / 0.6478 GB, free: 9.621 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.6114, allocations: 1.366 MB / 0.6491 GB, free: 8.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.612, allocations: 1.026 MB / 0.6501 GB, free: 7.352 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000485/0.6125, allocations: 205.1 kB / 0.6503 GB, free: 7.152 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.613, allocations: 366.5 kB / 0.6507 GB, free: 7.027 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.613, allocations: 0 / 0.6507 GB, free: 7.027 MB / 442.7 MB [CodegenCFunctions.tpl:3768:14-3768:14:writable] Error: Template error: literalExpConst failed: {}.