Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",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.001353/0.001352, allocations: 182.3 kB / 8.523 MB, free: 1.828 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.23/1.23, allocations: 221.4 MB / 230.3 MB, free: 7.613 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.0009347/0.0009349, allocations: 81.73 kB / 281.2 MB, free: 5.426 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.1634/0.1634, allocations: 44.15 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1836/0.3471, allocations: 68.03 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.4498, allocations: 61.92 MB / 0.4942 GB, free: 1.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2617/0.7115, allocations: 88.44 MB / 0.5806 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.7118, allocations: 79.92 kB / 0.5806 GB, free: 7.961 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01597/0.7277, allocations: 5.481 MB / 0.586 GB, free: 2.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.7278, allocations: 11.94 kB / 0.586 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.7279, allocations: 7.906 kB / 0.586 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.7282, allocations: 214.7 kB / 0.5862 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.7282, allocations: 0 / 0.5862 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.7283, allocations: 11.94 kB / 0.5862 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.792e-05/0.7283, allocations: 23.92 kB / 0.5862 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.7284, allocations: 53.67 kB / 0.5863 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7285, allocations: 0 / 0.5863 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.7285, allocations: 3.906 kB / 0.5863 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.7285, allocations: 0 / 0.5863 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.7289, allocations: 265.5 kB / 0.5865 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.729, allocations: 54.62 kB / 0.5866 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.729, allocations: 24.83 kB / 0.5866 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.729, allocations: 0 / 0.5866 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.149e-05/0.7291, allocations: 59.41 kB / 0.5867 GB, free: 1.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.7291, allocations: 0 / 0.5867 GB, free: 1.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004324/0.7296, allocations: 145.1 kB / 0.5868 GB, free: 1.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.7296, allocations: 55.41 kB / 0.5869 GB, free: 1.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.7298, allocations: 161.4 kB / 0.587 GB, free: 1.336 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.7298, allocations: 29.7 kB / 0.5871 GB, free: 1.301 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.7299, allocations: 92.12 kB / 0.5871 GB, free: 1.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.7299, allocations: 15.72 kB / 0.5872 GB, free: 1.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.7299, allocations: 4 kB / 0.5872 GB, free: 1.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7301, allocations: 318.8 kB / 0.5875 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.7301, allocations: 20 kB / 0.5875 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.7302, allocations: 37.7 kB / 0.5875 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.642e-05/0.7302, allocations: 24.06 kB / 0.5875 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7302, allocations: 0 / 0.5875 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000154/0.7304, allocations: 101.4 kB / 0.5876 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.7304, allocations: 5.094 kB / 0.5876 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7304, allocations: 0 / 0.5876 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7304, allocations: 0 / 0.5876 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.7305, allocations: 12 kB / 0.5877 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.7306, allocations: 7.984 kB / 0.5877 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.7306, allocations: 7.969 kB / 0.5877 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.7306, allocations: 4 kB / 0.5877 GB, free: 0.6406 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 (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.615e-05/0.7307, allocations: 112.8 kB / 0.5878 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.7308, allocations: 7.906 kB / 0.5878 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.731, allocations: 110.2 kB / 0.5879 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.731, allocations: 0 / 0.5879 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.731, allocations: 3.938 kB / 0.5879 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.731, allocations: 4 kB / 0.5879 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.7314, allocations: 367.9 kB / 0.5883 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7314, allocations: 0 / 0.5883 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.7315, allocations: 15.88 kB / 0.5883 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7315, allocations: 0 / 0.5883 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.7315, allocations: 4 kB / 0.5883 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.7315, allocations: 0 / 0.5883 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7315, allocations: 7.922 kB / 0.5883 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002059/0.7317, allocations: 209.9 kB / 0.5885 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003062/0.7321, allocations: 0.5766 MB / 0.589 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.7321, allocations: 92.91 kB / 0.5891 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.7322, allocations: 4 kB / 0.5891 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.7322, allocations: 3.938 kB / 0.5891 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.7323, allocations: 11.98 kB / 0.5891 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.7323, allocations: 4 kB / 0.5892 GB, free: 14.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000106/0.7324, allocations: 133 kB / 0.5893 GB, free: 14.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000853/0.7333, allocations: 31.98 kB / 0.5893 GB, free: 14.83 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.0007331/0.734, allocations: 350.4 kB / 0.5896 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.7342, allocations: 55.92 kB / 0.5897 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7342, allocations: 4 kB / 0.5897 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.7343, allocations: 28.06 kB / 0.5897 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.7346, allocations: 27.89 kB / 0.5898 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.735, allocations: 160.5 kB / 0.5899 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.7353, allocations: 0.7192 MB / 0.5906 GB, free: 13.52 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7353, allocations: 4 kB / 0.5906 GB, free: 13.52 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)