Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 173.4 kB / 8.515 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.4 MB / 230.3 MB, free: 7.699 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.0009959, allocations: 96.66 kB / 281.2 MB, free: 5.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1995/0.1995, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.242/0.4416, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.5828, allocations: 61.91 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.9296, allocations: 88.25 MB / 0.5804 GB, free: 8.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.93, allocations: 80.05 kB / 0.5804 GB, free: 8.238 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01567/0.9457, allocations: 5.358 MB / 0.5857 GB, free: 2.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.9457, allocations: 11.94 kB / 0.5857 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.9458, allocations: 11.91 kB / 0.5857 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.9461, allocations: 210.8 kB / 0.5859 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.9461, allocations: 4 kB / 0.5859 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.9461, allocations: 4 kB / 0.5859 GB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.166e-05/0.9462, allocations: 19.92 kB / 0.5859 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.198e-05/0.9463, allocations: 41.69 kB / 0.586 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.9464, allocations: 4 kB / 0.586 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.9464, allocations: 0 / 0.586 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.9464, allocations: 0 / 0.586 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.9466, allocations: 162.2 kB / 0.5861 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.9467, allocations: 42.62 kB / 0.5862 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.9467, allocations: 20.86 kB / 0.5862 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.9468, allocations: 4.094 kB / 0.5862 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.9469, allocations: 71.27 kB / 0.5863 GB, free: 2.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.9469, allocations: 0 / 0.5863 GB, free: 2.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002066/0.9471, allocations: 69.5 kB / 0.5863 GB, free: 2.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.9471, allocations: 51.41 kB / 0.5864 GB, free: 2.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.9473, allocations: 169.4 kB / 0.5865 GB, free: 1.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.9473, allocations: 25.7 kB / 0.5866 GB, free: 1.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.9474, allocations: 92.12 kB / 0.5866 GB, free: 1.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.9474, allocations: 7.844 kB / 0.5867 GB, free: 1.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.9474, allocations: 0 / 0.5867 GB, free: 1.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.9475, allocations: 326.7 kB / 0.587 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.9476, allocations: 15.98 kB / 0.587 GB, free: 1.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.9476, allocations: 29.66 kB / 0.587 GB, free: 1.438 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.9476, allocations: 16 kB / 0.587 GB, free: 1.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9477, allocations: 0 / 0.587 GB, free: 1.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001218/0.9478, allocations: 73.58 kB / 0.5871 GB, free: 1.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.9478, allocations: 4 kB / 0.5871 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9478, allocations: 4 kB / 0.5871 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.9478, allocations: 0 / 0.5871 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.9479, allocations: 15.94 kB / 0.5871 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.9479, allocations: 160 / 0.5871 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.948, allocations: 7.906 kB / 0.5871 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.948, allocations: 12.02 kB / 0.5871 GB, free: 1.301 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.625e-05/0.9481, allocations: 105 kB / 0.5872 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.9481, allocations: 11.81 kB / 0.5872 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.9483, allocations: 77.86 kB / 0.5873 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.9483, allocations: 3.984 kB / 0.5873 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9483, allocations: 3.938 kB / 0.5873 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9483, allocations: 0 / 0.5873 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.9484, allocations: 166.2 kB / 0.5875 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9485, allocations: 0 / 0.5875 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.9485, allocations: 11.94 kB / 0.5875 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.9485, allocations: 7.906 kB / 0.5875 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.9485, allocations: 0 / 0.5875 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9485, allocations: 0 / 0.5875 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.9485, allocations: 0 / 0.5875 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000132/0.9487, allocations: 105.1 kB / 0.5876 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002436/0.9489, allocations: 485.4 kB / 0.5881 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.949, allocations: 92.92 kB / 0.5882 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.949, allocations: 3.938 kB / 0.5882 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.9491, allocations: 7.984 kB / 0.5882 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.9491, allocations: 4 kB / 0.5882 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.9491, allocations: 4 kB / 0.5882 GB, free: 128 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001356/0.9493, allocations: 133.1 kB / 0.5883 GB, free: 15.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008008/0.9501, allocations: 27.88 kB / 0.5883 GB, free: 15.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006824/0.9508, allocations: 309.5 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.9509, allocations: 43.92 kB / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9509, allocations: 0 / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.951, allocations: 24 kB / 0.5887 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.9512, allocations: 22.84 kB / 0.5887 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.9516, allocations: 147.5 kB / 0.5889 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.9519, allocations: 0.7153 MB / 0.5895 GB, free: 14.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.9519, allocations: 0 / 0.5895 GB, free: 14.73 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1)