Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.001146/0.001146, allocations: 187.9 kB / 8.524 MB, free: 1.816 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.242/1.242, allocations: 221.4 MB / 230.3 MB, free: 3.051 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.0009281/0.0009279, allocations: 97.73 kB / 281.2 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3159/0.3159, allocations: 44.14 MB / 376.1 MB, free: 43.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1151/0.4311, allocations: 68.04 MB / 444.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.7145, allocations: 61.9 MB / 0.4942 GB, free: 42.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.8218, allocations: 88.49 MB / 0.5806 GB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.8221, allocations: 67.97 kB / 0.5807 GB, free: 12.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01617/0.8383, allocations: 5.581 MB / 0.5861 GB, free: 7.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.8383, allocations: 12 kB / 0.5861 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.8384, allocations: 11.89 kB / 0.5861 GB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.8387, allocations: 210.8 kB / 0.5863 GB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.8387, allocations: 0 / 0.5863 GB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.8387, allocations: 7.984 kB / 0.5863 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.812e-05/0.8388, allocations: 12 kB / 0.5864 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.8389, allocations: 57.61 kB / 0.5864 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.8389, allocations: 0 / 0.5864 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.8389, allocations: 11.91 kB / 0.5864 GB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.839, allocations: 3.938 kB / 0.5864 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.8393, allocations: 261.5 kB / 0.5867 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.8394, allocations: 46.69 kB / 0.5867 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.8395, allocations: 20.89 kB / 0.5867 GB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.8395, allocations: 4 kB / 0.5867 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.404e-05/0.8396, allocations: 67.33 kB / 0.5868 GB, free: 6.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.8396, allocations: 0 / 0.5868 GB, free: 6.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003878/0.84, allocations: 136 kB / 0.5869 GB, free: 6.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.84, allocations: 55.41 kB / 0.587 GB, free: 6.102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.8402, allocations: 157.4 kB / 0.5871 GB, free: 5.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.8402, allocations: 25.7 kB / 0.5872 GB, free: 5.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.8403, allocations: 100.1 kB / 0.5873 GB, free: 5.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.8403, allocations: 19.72 kB / 0.5873 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.8403, allocations: 0 / 0.5873 GB, free: 5.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8404, allocations: 322.8 kB / 0.5876 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.8405, allocations: 23.94 kB / 0.5876 GB, free: 5.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.8405, allocations: 33.7 kB / 0.5876 GB, free: 5.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.32e-05/0.8406, allocations: 19.98 kB / 0.5877 GB, free: 5.383 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.8406, allocations: 8 kB / 0.5877 GB, free: 5.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001529/0.8408, allocations: 89.48 kB / 0.5878 GB, free: 5.281 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.8408, allocations: 8 kB / 0.5878 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8408, allocations: 0 / 0.5878 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.8408, allocations: 0 / 0.5878 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.8409, allocations: 19.92 kB / 0.5878 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8409, allocations: 4 kB / 0.5878 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.841, allocations: 4.125 kB / 0.5878 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.841, allocations: 4 kB / 0.5878 GB, free: 5.242 MB / 410.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 (10): * Single equations (assignments): 10 * 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 8.217e-05/0.8411, allocations: 115.5 kB / 0.5879 GB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.8411, allocations: 15.91 kB / 0.5879 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.8413, allocations: 107.1 kB / 0.588 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.8413, allocations: 0 / 0.588 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8414, allocations: 0 / 0.588 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.8414, allocations: 0 / 0.588 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.8418, allocations: 367.8 kB / 0.5884 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.8418, allocations: 8.016 kB / 0.5884 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.8418, allocations: 12 kB / 0.5884 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8418, allocations: 3.938 kB / 0.5884 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.8418, allocations: 0 / 0.5884 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.8419, allocations: 4 kB / 0.5884 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8419, allocations: 0 / 0.5884 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001959/0.8421, allocations: 210.3 kB / 0.5886 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003085/0.8424, allocations: 0.5806 MB / 0.5892 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.8424, allocations: 96.91 kB / 0.5893 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.8425, allocations: 0 / 0.5893 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.8426, allocations: 8 kB / 0.5893 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.8426, allocations: 11.97 kB / 0.5893 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.8426, allocations: 4 kB / 0.5893 GB, free: 3.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001411/0.8428, allocations: 138.5 kB / 0.5894 GB, free: 3.457 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008699/0.8436, allocations: 28 kB / 0.5894 GB, free: 3.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0006704/0.8443, allocations: 352.8 kB / 0.5898 GB, free: 3.188 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.8445, allocations: 55.92 kB / 0.5898 GB, free: 3.133 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.8445, allocations: 0 / 0.5898 GB, free: 3.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.8445, allocations: 28 kB / 0.5899 GB, free: 3.105 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.8448, allocations: 24.7 kB / 0.5899 GB, free: 3.082 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.8452, allocations: 169.8 kB / 0.59 GB, free: 2.883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.8455, allocations: 0.7213 MB / 0.5907 GB, free: 2.137 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8455, allocations: 0 / 0.5907 GB, free: 2.137 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)