Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009477/0.0009476, allocations: 178 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009035/0.0009036, allocations: 74.17 kB / 261.7 MB, free: 1.695 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2231/0.2231, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.148e-05/2.152e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.129, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5837, allocations: 87.84 MB / 0.5518 GB, free: 6.977 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.5839, allocations: 69.34 kB / 0.5519 GB, free: 6.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07585/0.6598, allocations: 28.75 MB / 0.5799 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6598, allocations: 4 kB / 0.5799 GB, free: 15.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.034e-05/0.6599, allocations: 31.86 kB / 0.58 GB, free: 15.5 MB / 394.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.001657/0.6616, allocations: 1.082 MB / 0.581 GB, free: 14.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6616, allocations: 8.031 kB / 0.581 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.6618, allocations: 98.78 kB / 0.5811 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.6632, allocations: 0.7253 MB / 0.5818 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.6633, allocations: 27.91 kB / 0.5819 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.6633, allocations: 19.5 kB / 0.5819 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003697/0.6637, allocations: 180.1 kB / 0.582 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/0.6643, allocations: 369.7 kB / 0.5824 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.6643, allocations: 3.984 kB / 0.5824 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.6643, allocations: 4 kB / 0.5824 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.6644, allocations: 7.938 kB / 0.5824 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.6664, allocations: 1.565 MB / 0.5839 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/0.667, allocations: 480.2 kB / 0.5844 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.6673, allocations: 178 kB / 0.5846 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.6673, allocations: 4 kB / 0.5846 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004995/0.6678, allocations: 348.4 kB / 0.5849 GB, free: 10.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 2.144e-06/0.6679, allocations: 0 / 0.5849 GB, free: 10.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.0008589/0.6687, allocations: 0.4989 MB / 0.5854 GB, free: 10.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002346/0.669, allocations: 456.4 kB / 0.5858 GB, free: 9.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.6702, allocations: 0.9046 MB / 0.5867 GB, free: 9.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.6702, allocations: 33.27 kB / 0.5867 GB, free: 9.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.6705, allocations: 376.2 kB / 0.5871 GB, free: 9.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6706, allocations: 123.7 kB / 0.5872 GB, free: 8.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.6707, allocations: 0 / 0.5872 GB, free: 8.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6708, allocations: 320.7 kB / 0.5875 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.671, allocations: 137.6 kB / 0.5877 GB, free: 8.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.6714, allocations: 340.8 kB / 0.588 GB, free: 8.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.6716, allocations: 159.9 kB / 0.5881 GB, free: 8.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.6716, allocations: 4 kB / 0.5881 GB, free: 8.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007043/0.6724, allocations: 486.4 kB / 0.5886 GB, free: 7.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.6724, allocations: 8 kB / 0.5886 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.6724, allocations: 3.984 kB / 0.5886 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.6724, allocations: 8 kB / 0.5886 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.6728, allocations: 94.45 kB / 0.5887 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6728, allocations: 11.88 kB / 0.5887 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.6732, allocations: 67.91 kB / 0.5888 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.6733, allocations: 23.3 kB / 0.5888 GB, free: 7.469 MB / 394.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.0001665/0.6734, allocations: 154.6 kB / 0.589 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007162/0.6742, allocations: 0.5044 MB / 0.5895 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.6743, allocations: 98.86 kB / 0.5895 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008865/0.6752, allocations: 0.5609 MB / 0.5901 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.6752, allocations: 8 kB / 0.5901 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6753, allocations: 7.938 kB / 0.5901 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6753, allocations: 3.984 kB / 0.5901 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.6759, allocations: 0.6174 MB / 0.5907 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.676, allocations: 4 kB / 0.5907 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.6761, allocations: 48.41 kB / 0.5908 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.6761, allocations: 7.953 kB / 0.5908 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.6762, allocations: 19.36 kB / 0.5908 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.6762, allocations: 8 kB / 0.5908 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6762, allocations: 0 / 0.5908 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008581/0.6771, allocations: 0.6886 MB / 0.5915 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.6773, allocations: 236.7 kB / 0.5917 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.6775, allocations: 18.88 kB / 0.5917 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.6778, allocations: 43.95 kB / 0.5918 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6779, allocations: 50.19 kB / 0.5918 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.678, allocations: 23.55 kB / 0.5918 GB, free: 4.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008439/0.6788, allocations: 0.7015 MB / 0.5925 GB, free: 4.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.633e-06/0.6788, allocations: 0 / 0.5925 GB, free: 4.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006221/0.6795, allocations: 158.4 kB / 0.5927 GB, free: 4.117 MB / 394.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.002106/0.6816, allocations: 2.017 MB / 0.5946 GB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006583/0.6823, allocations: 388.8 kB / 0.595 GB, free: 1.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6823, allocations: 4.5 kB / 0.595 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.6827, allocations: 261.7 kB / 0.5953 GB, free: 1.758 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.6839, allocations: 242.7 kB / 0.5955 GB, free: 1.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.6861, allocations: 1.256 MB / 0.5967 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/0.6868, allocations: 1.006 MB / 0.5977 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005437/0.6873, allocations: 197.7 kB / 0.5979 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.6878, allocations: 349.5 kB / 0.5982 GB, free: 15.08 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6878, allocations: 0 / 0.5982 GB, free: 15.08 MB / 410.7 MB [CodegenCFunctions.tpl:3449:14-3449:14:writable] Error: Template error: literalExpConst failed: {}.