Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.001099/0.001099, allocations: 188.3 kB / 8.526 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.374/1.374, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.001073/0.001073, allocations: 80.73 kB / 281.2 MB, free: 5.547 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.1967/0.1967, allocations: 44.16 MB / 376.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2693/0.4661, allocations: 68.04 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.6238, allocations: 61.91 MB / 0.4942 GB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/1.06, allocations: 88.45 MB / 0.5806 GB, free: 8.305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.06, allocations: 75.47 kB / 0.5806 GB, free: 8.242 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.01548/1.076, allocations: 5.429 MB / 0.5859 GB, free: 2.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.076, allocations: 11.94 kB / 0.5859 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/1.076, allocations: 7.906 kB / 0.586 GB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/1.076, allocations: 211.3 kB / 0.5862 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/1.076, allocations: 4 kB / 0.5862 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/1.077, allocations: 4 kB / 0.5862 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.034e-05/1.077, allocations: 19.98 kB / 0.5862 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/1.077, allocations: 49.69 kB / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.077, allocations: 0 / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/1.077, allocations: 0 / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.077, allocations: 3.938 kB / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/1.077, allocations: 269.4 kB / 0.5865 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/1.077, allocations: 54.62 kB / 0.5865 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/1.077, allocations: 24.97 kB / 0.5866 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/1.077, allocations: 0 / 0.5866 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.383e-05/1.077, allocations: 55.41 kB / 0.5866 GB, free: 1.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.567e-06/1.077, allocations: 3.984 kB / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004155/1.078, allocations: 133.2 kB / 0.5867 GB, free: 1.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/1.078, allocations: 55.41 kB / 0.5868 GB, free: 1.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/1.078, allocations: 159.6 kB / 0.587 GB, free: 1.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/1.078, allocations: 25.7 kB / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/1.078, allocations: 96.03 kB / 0.5871 GB, free: 1.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/1.078, allocations: 15.66 kB / 0.5871 GB, free: 1.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/1.078, allocations: 4 kB / 0.5871 GB, free: 1.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/1.078, allocations: 322.8 kB / 0.5874 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.498e-05/1.078, allocations: 16 kB / 0.5874 GB, free: 1.117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/1.078, allocations: 34.45 kB / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/1.078, allocations: 24 kB / 0.5875 GB, free: 1.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/1.078, allocations: 0 / 0.5875 GB, free: 1.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001387/1.079, allocations: 89.52 kB / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.079, allocations: 8 kB / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.079, allocations: 192 / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.079, allocations: 3.906 kB / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/1.079, allocations: 19.94 kB / 0.5876 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.079, allocations: 7.984 kB / 0.5876 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/1.079, allocations: 0 / 0.5876 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/1.079, allocations: 8.031 kB / 0.5876 GB, free: 0.9141 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.647e-05/1.079, allocations: 112 kB / 0.5877 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/1.079, allocations: 11.81 kB / 0.5877 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/1.079, allocations: 102.2 kB / 0.5878 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.079, allocations: 192 / 0.5878 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.079, allocations: 4 kB / 0.5878 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.079, allocations: 0 / 0.5878 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/1.08, allocations: 375.8 kB / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.08, allocations: 0 / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/1.08, allocations: 8 kB / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/1.08, allocations: 7.922 kB / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/1.08, allocations: 4 kB / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.08, allocations: 0 / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.08, allocations: 0 / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001748/1.08, allocations: 209.9 kB / 0.5884 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003137/1.08, allocations: 0.5766 MB / 0.589 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/1.08, allocations: 92.92 kB / 0.589 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/1.08, allocations: 4 kB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/1.08, allocations: 7.984 kB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/1.08, allocations: 7.984 kB / 0.5891 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/1.08, allocations: 7.984 kB / 0.5891 GB, free: 15.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.66e-05/1.081, allocations: 127.4 kB / 0.5892 GB, free: 15.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008339/1.081, allocations: 35.94 kB / 0.5892 GB, free: 15.11 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.0007453/1.082, allocations: 350.5 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/1.082, allocations: 47.94 kB / 0.5896 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.082, allocations: 0 / 0.5896 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/1.082, allocations: 31.94 kB / 0.5896 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/1.083, allocations: 30.3 kB / 0.5897 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/1.083, allocations: 148.7 kB / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/1.083, allocations: 0.723 MB / 0.5905 GB, free: 13.81 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/1.083, allocations: 0 / 0.5905 GB, free: 13.81 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)