Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.001153/0.001153, allocations: 174.8 kB / 8.518 MB, free: 1.832 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.304/1.304, allocations: 221.4 MB / 230.3 MB, free: 7.73 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.001182/0.001183, allocations: 80.73 kB / 281.2 MB, free: 5.477 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.2033/0.2033, allocations: 44.14 MB / 376.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2155/0.4188, allocations: 68.04 MB / 444.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.5609, allocations: 61.91 MB / 0.4942 GB, free: 1.387 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.9257, allocations: 89.4 MB / 0.5815 GB, free: 7.148 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.926, allocations: 63.97 kB / 0.5816 GB, free: 7.086 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01277/0.9388, allocations: 4.481 MB / 0.5859 GB, free: 2.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.9388, allocations: 11.94 kB / 0.5859 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.9389, allocations: 15.81 kB / 0.586 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.9393, allocations: 224 kB / 0.5862 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.9393, allocations: 7.984 kB / 0.5862 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.9393, allocations: 4 kB / 0.5862 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/0.9395, allocations: 35.91 kB / 0.5862 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.9396, allocations: 95.19 kB / 0.5863 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9396, allocations: 0 / 0.5863 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.9397, allocations: 4 kB / 0.5863 GB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.9397, allocations: 0 / 0.5863 GB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.9403, allocations: 0.4897 MB / 0.5868 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.9405, allocations: 74.61 kB / 0.5869 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.9406, allocations: 28.86 kB / 0.5869 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.9406, allocations: 8.156 kB / 0.5869 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.9408, allocations: 75.38 kB / 0.587 GB, free: 1.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.9408, allocations: 0 / 0.587 GB, free: 1.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002585/0.941, allocations: 93.42 kB / 0.5871 GB, free: 1.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.9411, allocations: 55.41 kB / 0.5871 GB, free: 1.219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.9413, allocations: 170.7 kB / 0.5873 GB, free: 1.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.9413, allocations: 25.7 kB / 0.5873 GB, free: 1.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.9414, allocations: 100.8 kB / 0.5874 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.9414, allocations: 31.55 kB / 0.5874 GB, free: 0.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.9414, allocations: 0 / 0.5874 GB, free: 0.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9415, allocations: 326.8 kB / 0.5877 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.9416, allocations: 20 kB / 0.5878 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.9417, allocations: 52.28 kB / 0.5878 GB, free: 472 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.313e-05/0.9417, allocations: 39.95 kB / 0.5878 GB, free: 432 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9417, allocations: 0 / 0.5878 GB, free: 432 kB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002363/0.942, allocations: 117.4 kB / 0.588 GB, free: 308 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.942, allocations: 7.938 kB / 0.588 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.942, allocations: 0 / 0.588 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.942, allocations: 4 kB / 0.588 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.9422, allocations: 24.11 kB / 0.588 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.9422, allocations: 7.906 kB / 0.588 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.829e-05/0.9423, allocations: 11.94 kB / 0.588 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.9423, allocations: 8 kB / 0.588 GB, free: 244 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001175/0.9424, allocations: 108.8 kB / 0.5881 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.9425, allocations: 15.89 kB / 0.5881 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.9427, allocations: 111 kB / 0.5882 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.9427, allocations: 4 kB / 0.5882 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9427, allocations: 0 / 0.5882 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9427, allocations: 0 / 0.5882 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.9429, allocations: 182.2 kB / 0.5884 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9429, allocations: 0 / 0.5884 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.943, allocations: 15.91 kB / 0.5884 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9431, allocations: 0 / 0.5884 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.9431, allocations: 7.984 kB / 0.5884 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9431, allocations: 0 / 0.5884 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9431, allocations: 0 / 0.5884 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002748/0.9434, allocations: 165 kB / 0.5886 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003827/0.9438, allocations: 0.5597 MB / 0.5891 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.9439, allocations: 108.8 kB / 0.5892 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.9439, allocations: 0 / 0.5892 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.944, allocations: 12.03 kB / 0.5893 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.944, allocations: 7.984 kB / 0.5893 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.944, allocations: 4 kB / 0.5893 GB, free: 14.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001149/0.9442, allocations: 136.1 kB / 0.5894 GB, free: 14.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008754/0.945, allocations: 28.12 kB / 0.5894 GB, free: 14.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007505/0.9458, allocations: 321.6 kB / 0.5897 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.946, allocations: 63.92 kB / 0.5898 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.946, allocations: 0 / 0.5898 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.443e-05/0.9461, allocations: 39.94 kB / 0.5898 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.9464, allocations: 24.16 kB / 0.5899 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.9469, allocations: 187.5 kB / 0.59 GB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.9473, allocations: 0.7394 MB / 0.5908 GB, free: 13.33 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9473, allocations: 0 / 0.5908 GB, free: 13.33 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)