Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.001053/0.001053, allocations: 174.6 kB / 8.517 MB, free: 1.844 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.227/1.227, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009574/0.0009573, allocations: 88.8 kB / 281.2 MB, free: 5.461 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.1872/0.1872, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2358/0.423, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.5416, allocations: 61.92 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3297/0.8714, allocations: 88.32 MB / 0.5804 GB, free: 8.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.8717, allocations: 75.7 kB / 0.5805 GB, free: 8.328 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01901/0.8908, allocations: 6.885 MB / 0.5872 GB, free: 1.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.8908, allocations: 15.92 kB / 0.5873 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.891, allocations: 51.34 kB / 0.5873 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009296/0.8919, allocations: 483 kB / 0.5878 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.8919, allocations: 0 / 0.5878 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.892, allocations: 4 kB / 0.5878 GB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.8921, allocations: 27.98 kB / 0.5878 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.8922, allocations: 83.36 kB / 0.5879 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8923, allocations: 4 kB / 0.5879 GB, free: 0.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.8923, allocations: 3.906 kB / 0.5879 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.8923, allocations: 0 / 0.5879 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.8928, allocations: 354.9 kB / 0.5882 GB, free: 324 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.8929, allocations: 97.28 kB / 0.5883 GB, free: 208 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.893, allocations: 41.8 kB / 0.5884 GB, free: 160 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.893, allocations: 0 / 0.5884 GB, free: 160 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.8932, allocations: 96.95 kB / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.8932, allocations: 0 / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004089/0.8936, allocations: 149.2 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.8937, allocations: 77.11 kB / 0.5887 GB, free: 15.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.8951, allocations: 0.909 MB / 0.5895 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.8951, allocations: 29.7 kB / 0.5896 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.8952, allocations: 140.1 kB / 0.5897 GB, free: 14.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.8952, allocations: 23.66 kB / 0.5897 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.8952, allocations: 0 / 0.5897 GB, free: 14.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8954, allocations: 362.8 kB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.612e-05/0.8955, allocations: 31.98 kB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.8956, allocations: 49.69 kB / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.8956, allocations: 31.92 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8956, allocations: 0 / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002752/0.8959, allocations: 161.2 kB / 0.5903 GB, free: 14.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.8959, allocations: 4 kB / 0.5903 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.896, allocations: 4.062 kB / 0.5903 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.896, allocations: 0 / 0.5903 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.8961, allocations: 27.94 kB / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8961, allocations: 3.984 kB / 0.5904 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.8963, allocations: 11.91 kB / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.8963, allocations: 8 kB / 0.5904 GB, free: 13.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 9.373e-05/0.8964, allocations: 112.8 kB / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.8965, allocations: 55.22 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.8968, allocations: 177.7 kB / 0.5907 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.8968, allocations: 0 / 0.5907 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8968, allocations: 3.906 kB / 0.5907 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8968, allocations: 4 kB / 0.5907 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.8972, allocations: 361.9 kB / 0.5911 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8972, allocations: 0 / 0.5911 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.8973, allocations: 11.94 kB / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8973, allocations: 0 / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.8973, allocations: 7.906 kB / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8973, allocations: 0 / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8973, allocations: 4 kB / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002854/0.8976, allocations: 187.2 kB / 0.5913 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004807/0.8981, allocations: 0.5891 MB / 0.5919 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.8984, allocations: 192.4 kB / 0.592 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/0.8985, allocations: 3.906 kB / 0.592 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.8986, allocations: 12.11 kB / 0.5921 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.8987, allocations: 11.98 kB / 0.5921 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.8987, allocations: 4 kB / 0.5921 GB, free: 12.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0008626/0.8996, allocations: 0.7175 MB / 0.5928 GB, free: 11.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009651/0.9005, allocations: 79.98 kB / 0.5928 GB, free: 11.33 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007149/0.9013, allocations: 311.8 kB / 0.5931 GB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.9014, allocations: 71.98 kB / 0.5932 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9015, allocations: 0 / 0.5932 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.9015, allocations: 43.94 kB / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.902, allocations: 58.78 kB / 0.5933 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.9033, allocations: 0.7678 MB / 0.5941 GB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.9039, allocations: 0.8967 MB / 0.5949 GB, free: 9.207 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9039, allocations: 0 / 0.5949 GB, free: 9.207 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)