Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.001003/0.001003, allocations: 169.3 kB / 8.514 MB, free: 1.852 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.267/1.267, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009906/0.0009906, allocations: 81.98 kB / 281.2 MB, free: 5.539 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.1731/0.1731, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2487/0.4218, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.5425, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3242/0.8668, allocations: 88.49 MB / 0.5806 GB, free: 8.367 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.8671, allocations: 67.97 kB / 0.5807 GB, free: 8.301 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.01589/0.883, allocations: 5.579 MB / 0.5861 GB, free: 2.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.883, allocations: 15.94 kB / 0.5861 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.8831, allocations: 15.89 kB / 0.5861 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.8834, allocations: 210.7 kB / 0.5863 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.8834, allocations: 0 / 0.5863 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.8834, allocations: 11.98 kB / 0.5864 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.866e-05/0.8835, allocations: 12 kB / 0.5864 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.257e-05/0.8836, allocations: 49.67 kB / 0.5864 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.8836, allocations: 0 / 0.5864 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.8836, allocations: 11.91 kB / 0.5864 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.8837, allocations: 3.938 kB / 0.5864 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.884, allocations: 265.5 kB / 0.5867 GB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.8841, allocations: 50.69 kB / 0.5867 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.8842, allocations: 20.89 kB / 0.5868 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.8842, allocations: 4 kB / 0.5868 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.95e-05/0.8843, allocations: 71.33 kB / 0.5868 GB, free: 1.855 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.8843, allocations: 0 / 0.5868 GB, free: 1.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000404/0.8847, allocations: 133.2 kB / 0.5869 GB, free: 1.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.8847, allocations: 55.41 kB / 0.587 GB, free: 1.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.8849, allocations: 157.4 kB / 0.5872 GB, free: 1.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.8849, allocations: 25.7 kB / 0.5872 GB, free: 1.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.885, allocations: 96.12 kB / 0.5873 GB, free: 1.363 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.885, allocations: 19.72 kB / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.885, allocations: 0 / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8852, allocations: 326.8 kB / 0.5876 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.8852, allocations: 16 kB / 0.5876 GB, free: 1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.8853, allocations: 38.39 kB / 0.5877 GB, free: 0.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.8853, allocations: 16 kB / 0.5877 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.8853, allocations: 4 kB / 0.5877 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001514/0.8855, allocations: 93.48 kB / 0.5878 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.8855, allocations: 8 kB / 0.5878 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8855, allocations: 0 / 0.5878 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8855, allocations: 0 / 0.5878 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.8857, allocations: 28.09 kB / 0.5878 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8857, allocations: 4 kB / 0.5878 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.8857, allocations: 7.875 kB / 0.5878 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.8857, allocations: 4 kB / 0.5878 GB, free: 0.7891 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 7.394e-05/0.8858, allocations: 108.9 kB / 0.5879 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.8858, allocations: 11.91 kB / 0.5879 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.8861, allocations: 110.1 kB / 0.588 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8861, allocations: 0 / 0.588 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8861, allocations: 0 / 0.588 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.8861, allocations: 0 / 0.588 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.8866, allocations: 367.8 kB / 0.5884 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8866, allocations: 0 / 0.5884 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.8867, allocations: 20.02 kB / 0.5884 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.8867, allocations: 0 / 0.5884 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.8867, allocations: 3.938 kB / 0.5884 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8867, allocations: 4 kB / 0.5884 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8867, allocations: 0 / 0.5884 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002208/0.8869, allocations: 202 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002784/0.8872, allocations: 0.5842 MB / 0.5892 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.8873, allocations: 96.91 kB / 0.5893 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.8873, allocations: 0 / 0.5893 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.8874, allocations: 4 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.8875, allocations: 11.98 kB / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.8875, allocations: 4 kB / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001031/0.8876, allocations: 137 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008416/0.8884, allocations: 28 kB / 0.5894 GB, free: 14.99 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.0007745/0.8892, allocations: 356.2 kB / 0.5898 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.8894, allocations: 51.97 kB / 0.5898 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8894, allocations: 0 / 0.5898 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.8894, allocations: 31.94 kB / 0.5899 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.8897, allocations: 26.73 kB / 0.5899 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.8901, allocations: 160.6 kB / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.8905, allocations: 0.7309 MB / 0.5908 GB, free: 13.67 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.8905, allocations: 3.938 kB / 0.5908 GB, free: 13.67 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)