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.001568/0.001568, allocations: 183.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009173/0.0009174, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1774/0.1774, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.425, allocations: 88.59 MB / 0.5654 GB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.4252, allocations: 67.78 kB / 0.5654 GB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0776/0.5028, allocations: 29.05 MB / 0.5938 GB, free: 2.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5029, allocations: 7.938 kB / 0.5938 GB, free: 2.703 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001202/0.503, allocations: 16 kB / 0.5938 GB, free: 2.688 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.002664/0.5057, allocations: 1.304 MB / 0.5951 GB, free: 1.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5057, allocations: 8.031 kB / 0.5951 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.5059, allocations: 63.59 kB / 0.5952 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.5063, allocations: 94.88 kB / 0.5952 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.508, allocations: 0.7427 MB / 0.596 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.5081, allocations: 22.31 kB / 0.596 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.5081, allocations: 18.88 kB / 0.596 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.5088, allocations: 421.2 kB / 0.5964 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5089, allocations: 3.938 kB / 0.5964 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.5089, allocations: 15.3 kB / 0.5964 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.5089, allocations: 8 kB / 0.5964 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.5094, allocations: 216.5 kB / 0.5966 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.5114, allocations: 1.616 MB / 0.5982 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009424/0.5123, allocations: 0.5386 MB / 0.5988 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.5124, allocations: 4 kB / 0.5988 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005969/0.513, allocations: 387.1 kB / 0.5991 GB, free: 13.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.513, allocations: 0 / 0.5991 GB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001507/0.5145, allocations: 0.7042 MB / 0.5998 GB, free: 13.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.5147, allocations: 456.4 kB / 0.6002 GB, free: 12.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.5161, allocations: 0.9642 MB / 0.6012 GB, free: 11.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.5161, allocations: 43.89 kB / 0.6012 GB, free: 11.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.5165, allocations: 376.3 kB / 0.6016 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.5166, allocations: 132 kB / 0.6017 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.5166, allocations: 14.06 kB / 0.6017 GB, free: 11.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5167, allocations: 320.5 kB / 0.602 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.5171, allocations: 157.5 kB / 0.6022 GB, free: 11.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.5175, allocations: 378.5 kB / 0.6025 GB, free: 10.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.5179, allocations: 183.2 kB / 0.6027 GB, free: 10.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5179, allocations: 0 / 0.6027 GB, free: 10.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000938/0.5188, allocations: 0.5501 MB / 0.6033 GB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5189, allocations: 10.66 kB / 0.6033 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5189, allocations: 7.938 kB / 0.6033 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5189, allocations: 4 kB / 0.6033 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.5193, allocations: 98.81 kB / 0.6034 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.5193, allocations: 8 kB / 0.6034 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.5197, allocations: 76.22 kB / 0.6035 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.5198, allocations: 22.38 kB / 0.6035 GB, free: 10 MB / 410.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.0003593/0.5201, allocations: 308.4 kB / 0.6038 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.5203, allocations: 106.7 kB / 0.6039 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.5215, allocations: 0.6299 MB / 0.6045 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.5216, allocations: 8 kB / 0.6045 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5216, allocations: 3.984 kB / 0.6045 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5216, allocations: 4 kB / 0.6045 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.5223, allocations: 0.6663 MB / 0.6052 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5223, allocations: 4 kB / 0.6052 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.5224, allocations: 51.41 kB / 0.6052 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5224, allocations: 7.953 kB / 0.6052 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.5225, allocations: 18.92 kB / 0.6052 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.5225, allocations: 4 kB / 0.6052 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5225, allocations: 4 kB / 0.6052 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.5235, allocations: 0.7493 MB / 0.606 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.5238, allocations: 226.1 kB / 0.6062 GB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5239, allocations: 22.23 kB / 0.6062 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.5243, allocations: 58.95 kB / 0.6063 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.5244, allocations: 50.69 kB / 0.6063 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.5245, allocations: 23.55 kB / 0.6063 GB, free: 7.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009271/0.5254, allocations: 0.7525 MB / 0.6071 GB, free: 6.938 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5254, allocations: 3.938 kB / 0.6071 GB, free: 6.934 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006038/0.526, allocations: 178.6 kB / 0.6072 GB, free: 6.777 MB / 410.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.002448/0.5285, allocations: 2.158 MB / 0.6094 GB, free: 4.762 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008647/0.5293, allocations: 452 kB / 0.6098 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5294, allocations: 0 / 0.6098 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.5299, allocations: 288 kB / 0.6101 GB, free: 4.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.5309, allocations: 250.6 kB / 0.6103 GB, free: 4.035 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00759/0.5385, allocations: 7.174 MB / 0.6173 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.5391, allocations: 1.016 MB / 0.6183 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005889/0.5397, allocations: 196.7 kB / 0.6185 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/0.5401, allocations: 344.1 kB / 0.6188 GB, free: 11.99 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5401, allocations: 3.938 kB / 0.6188 GB, free: 11.99 MB / 426.7 MB [CodegenCFunctions.tpl:3817:14-3817:14:writable] Error: Template error: literalExpConst failed: {}.