Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001339/0.001339, allocations: 178.6 kB / 8.519 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.408/1.408, allocations: 221.4 MB / 230.3 MB, free: 7.672 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.0008895/0.0008895, allocations: 86.61 kB / 281.2 MB, free: 5.48 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.1795/0.1795, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2278/0.4073, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.531, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.8779, allocations: 88.48 MB / 0.5806 GB, free: 8.359 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.8781, allocations: 79.61 kB / 0.5807 GB, free: 8.285 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.01549/0.8936, allocations: 5.904 MB / 0.5864 GB, free: 2.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.8937, allocations: 11.94 kB / 0.5865 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.8937, allocations: 15.81 kB / 0.5865 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.8941, allocations: 230.2 kB / 0.5867 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.8941, allocations: 4 kB / 0.5867 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.8941, allocations: 3.906 kB / 0.5867 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.351e-05/0.8942, allocations: 19.98 kB / 0.5867 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.8943, allocations: 57.62 kB / 0.5868 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.8943, allocations: 0 / 0.5868 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.8944, allocations: 3.984 kB / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8944, allocations: 0 / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.8947, allocations: 281.4 kB / 0.587 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.8949, allocations: 46.7 kB / 0.5871 GB, free: 1.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.8949, allocations: 28.91 kB / 0.5871 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.8949, allocations: 0 / 0.5871 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.812e-05/0.895, allocations: 63.34 kB / 0.5872 GB, free: 1.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.895, allocations: 0 / 0.5872 GB, free: 1.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004102/0.8954, allocations: 145.1 kB / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.8955, allocations: 51.41 kB / 0.5874 GB, free: 1.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.8957, allocations: 230 kB / 0.5876 GB, free: 1.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.8957, allocations: 25.7 kB / 0.5876 GB, free: 1.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.8958, allocations: 96.12 kB / 0.5877 GB, free: 0.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.8958, allocations: 27.64 kB / 0.5877 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.8958, allocations: 0 / 0.5877 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.8959, allocations: 326.8 kB / 0.588 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.896, allocations: 19.94 kB / 0.5881 GB, free: 0.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.896, allocations: 33.7 kB / 0.5881 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.8961, allocations: 20 kB / 0.5881 GB, free: 496 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.8961, allocations: 0 / 0.5881 GB, free: 496 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001581/0.8963, allocations: 105.5 kB / 0.5882 GB, free: 384 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.8963, allocations: 7.938 kB / 0.5882 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.8963, allocations: 0 / 0.5882 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.8963, allocations: 0 / 0.5882 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.8964, allocations: 23.89 kB / 0.5882 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.8964, allocations: 0 / 0.5882 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.8965, allocations: 3.984 kB / 0.5882 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.8965, allocations: 8.219 kB / 0.5882 GB, free: 340 kB / 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 6.484e-05/0.8966, allocations: 105 kB / 0.5883 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.8966, allocations: 15.75 kB / 0.5884 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.8968, allocations: 111 kB / 0.5885 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8968, allocations: 0 / 0.5885 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8969, allocations: 0 / 0.5885 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8969, allocations: 3.906 kB / 0.5885 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.8973, allocations: 395.9 kB / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8973, allocations: 0 / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.8974, allocations: 8 kB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.8974, allocations: 7.906 kB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.8974, allocations: 3.984 kB / 0.5889 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.8974, allocations: 0 / 0.5889 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8974, allocations: 3.938 kB / 0.5889 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001935/0.8976, allocations: 210.1 kB / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003233/0.8979, allocations: 0.5844 MB / 0.5896 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.898, allocations: 100.9 kB / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.898, allocations: 4 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.8981, allocations: 7.984 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.8982, allocations: 0 / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.8982, allocations: 7.984 kB / 0.5898 GB, free: 14.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001731/0.8984, allocations: 192.2 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009088/0.8993, allocations: 39.84 kB / 0.59 GB, free: 14.42 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.0007477/0.9001, allocations: 352.6 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.9002, allocations: 55.92 kB / 0.5904 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9002, allocations: 0 / 0.5904 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.874e-05/0.9003, allocations: 28 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.9005, allocations: 26.77 kB / 0.5904 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.9011, allocations: 224.8 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.9014, allocations: 0.7344 MB / 0.5914 GB, free: 13.05 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.9014, allocations: 0 / 0.5914 GB, free: 13.05 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)