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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 188.5 kB / 7.801 MB, free: 2.496 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.728/1.728, allocations: 205.2 MB / 213.4 MB, free: 13.83 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.0012/0.0012, allocations: 95.34 kB / 261.4 MB, free: 13.52 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.3455/0.3455, allocations: 43.5 MB / 352.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3065/0.6521, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/1.064, allocations: 58.84 MB / 476.6 MB, free: 5.16 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/1.203, allocations: 87.76 MB / 0.5512 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/1.204, allocations: 67.97 kB / 0.5512 GB, free: 11.06 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.08691/1.291, allocations: 29.28 MB / 0.5798 GB, free: 13.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.291, allocations: 15.94 kB / 0.5799 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004691/1.291, allocations: 98.78 kB / 0.5799 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/1.293, allocations: 0.7299 MB / 0.5807 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/1.293, allocations: 11.98 kB / 0.5807 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/1.293, allocations: 19.94 kB / 0.5807 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004251/1.294, allocations: 192.9 kB / 0.5809 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/1.295, allocations: 368.6 kB / 0.5812 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.295, allocations: 4 kB / 0.5812 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/1.295, allocations: 8 kB / 0.5812 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/1.295, allocations: 4 kB / 0.5812 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/1.297, allocations: 1.576 MB / 0.5828 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/1.298, allocations: 467.3 kB / 0.5832 GB, free: 9.938 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/1.298, allocations: 178.9 kB / 0.5834 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/1.298, allocations: 8 kB / 0.5834 GB, free: 9.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004739/1.299, allocations: 330.7 kB / 0.5837 GB, free: 9.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.795e-06/1.299, allocations: 0 / 0.5837 GB, free: 9.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.001028/1.3, allocations: 440.2 kB / 0.5841 GB, free: 8.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002234/1.3, allocations: 456.9 kB / 0.5846 GB, free: 8.383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/1.302, allocations: 0.9101 MB / 0.5855 GB, free: 7.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/1.302, allocations: 37.7 kB / 0.5855 GB, free: 7.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/1.302, allocations: 189 kB / 0.5857 GB, free: 7.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/1.302, allocations: 122.4 kB / 0.5858 GB, free: 7.098 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/1.302, allocations: 0 / 0.5858 GB, free: 7.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/1.302, allocations: 326 kB / 0.5861 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/1.303, allocations: 133.3 kB / 0.5862 GB, free: 6.645 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/1.303, allocations: 348.7 kB / 0.5866 GB, free: 6.215 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/1.303, allocations: 166.3 kB / 0.5867 GB, free: 6.055 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.303, allocations: 4 kB / 0.5867 GB, free: 6.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009231/1.304, allocations: 484.2 kB / 0.5872 GB, free: 5.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.304, allocations: 7.984 kB / 0.5872 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.304, allocations: 7.906 kB / 0.5872 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/1.304, allocations: 8 kB / 0.5872 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/1.305, allocations: 91.83 kB / 0.5873 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.305, allocations: 8 kB / 0.5873 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/1.305, allocations: 64.22 kB / 0.5874 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/1.305, allocations: 27.97 kB / 0.5874 GB, free: 5.359 MB / 426.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.0002213/1.306, allocations: 157.7 kB / 0.5875 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/1.306, allocations: 106.7 kB / 0.5876 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/1.307, allocations: 0.5046 MB / 0.5881 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/1.307, allocations: 8 kB / 0.5881 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.307, allocations: 4 kB / 0.5882 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.307, allocations: 3.984 kB / 0.5882 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009396/1.308, allocations: 0.6187 MB / 0.5888 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.308, allocations: 0 / 0.5888 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/1.308, allocations: 51.91 kB / 0.5888 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/1.308, allocations: 8 kB / 0.5888 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/1.308, allocations: 15.98 kB / 0.5888 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.308, allocations: 7.938 kB / 0.5888 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.308, allocations: 4 kB / 0.5888 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008798/1.309, allocations: 0.6121 MB / 0.5894 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001126/1.31, allocations: 1.008 MB / 0.5904 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/1.311, allocations: 223.8 kB / 0.5906 GB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/1.311, allocations: 19.89 kB / 0.5907 GB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/1.311, allocations: 51.95 kB / 0.5907 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.311, allocations: 51.88 kB / 0.5908 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/1.311, allocations: 23.98 kB / 0.5908 GB, free: 1.648 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001154/1.313, allocations: 0.703 MB / 0.5915 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001423/1.314, allocations: 163.8 kB / 0.5916 GB, free: 0.7734 MB / 426.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.001062/1.315, allocations: 382.7 kB / 0.592 GB, free: 436 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008591/1.316, allocations: 395.2 kB / 0.5924 GB, free: 40 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.316, allocations: 0 / 0.5924 GB, free: 40 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/1.316, allocations: 272.8 kB / 0.5926 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.318, allocations: 235 kB / 0.5928 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/1.321, allocations: 1.104 MB / 0.5939 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.322, allocations: 1.136 MB / 0.595 GB, free: 13.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/1.322, allocations: 3.938 kB / 0.595 GB, free: 13.22 MB / 442.7 MB [CodegenCFunctions.tpl:3420:14-3420:14:writable] Error: Template error: literalExpConst failed: {}. Error: Internal error SimCode: The model ModelicaTest.Blocks.BooleanTable could not be translated to FMU