Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.001995/0.001995, allocations: 181.9 kB / 8.521 MB, free: 1.824 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.409/1.409, 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.0009403/0.0009402, allocations: 92.72 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.2094/0.2094, allocations: 44.15 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2705/0.48, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.6165, allocations: 61.91 MB / 0.4942 GB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/1.063, allocations: 90.19 MB / 0.5823 GB, free: 6.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/1.064, allocations: 68.62 kB / 0.5823 GB, free: 6.52 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01587/1.08, allocations: 5.215 MB / 0.5874 GB, free: 1.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.08, allocations: 11.94 kB / 0.5874 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/1.08, allocations: 19.81 kB / 0.5874 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/1.08, allocations: 247.7 kB / 0.5877 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.08, allocations: 8 kB / 0.5877 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/1.08, allocations: 4 kB / 0.5877 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001554/1.081, allocations: 55.98 kB / 0.5877 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/1.081, allocations: 111.1 kB / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.081, allocations: 0 / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.081, allocations: 0 / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/1.081, allocations: 4 kB / 0.5879 GB, free: 0.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/1.082, allocations: 0.5677 MB / 0.5884 GB, free: 140 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/1.082, allocations: 98.62 kB / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/1.082, allocations: 36.86 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/1.082, allocations: 3.938 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/1.082, allocations: 87.38 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/1.082, allocations: 4 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000331/1.083, allocations: 121.4 kB / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.083, allocations: 63.5 kB / 0.5888 GB, free: 15.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/1.083, allocations: 198.1 kB / 0.589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/1.083, allocations: 25.7 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/1.083, allocations: 108.4 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/1.083, allocations: 31.55 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/1.083, allocations: 0 / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/1.083, allocations: 338.7 kB / 0.5895 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/1.083, allocations: 36 kB / 0.5895 GB, free: 14.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/1.083, allocations: 72.28 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.995e-05/1.084, allocations: 38.11 kB / 0.5896 GB, free: 14.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.084, allocations: 0 / 0.5896 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002566/1.084, allocations: 149.4 kB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.084, allocations: 4 kB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.084, allocations: 4 kB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.084, allocations: 0 / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/1.084, allocations: 51.92 kB / 0.5898 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.084, allocations: 4 kB / 0.5898 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/1.084, allocations: 31.97 kB / 0.5899 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/1.084, allocations: 8 kB / 0.5899 GB, free: 14.56 MB / 410.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001143/1.084, allocations: 114.1 kB / 0.59 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/1.084, allocations: 15.81 kB / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/1.085, allocations: 127 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.085, allocations: 4 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.085, allocations: 0 / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.085, allocations: 7.891 kB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/1.085, allocations: 214 kB / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.085, allocations: 0 / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/1.085, allocations: 43.91 kB / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.085, allocations: 0 / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/1.085, allocations: 0 / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/1.085, allocations: 7.906 kB / 0.5904 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.085, allocations: 4 kB / 0.5904 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003917/1.086, allocations: 203.7 kB / 0.5906 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006163/1.086, allocations: 0.6301 MB / 0.5912 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/1.086, allocations: 104.8 kB / 0.5913 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/1.086, allocations: 128 / 0.5913 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/1.087, allocations: 31.97 kB / 0.5913 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/1.087, allocations: 19.97 kB / 0.5913 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/1.087, allocations: 11.94 kB / 0.5913 GB, free: 12.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001513/1.087, allocations: 156.6 kB / 0.5915 GB, free: 12.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009266/1.088, allocations: 56.08 kB / 0.5915 GB, free: 12.73 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.000954/1.089, allocations: 314.6 kB / 0.5918 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002804/1.089, allocations: 121.6 kB / 0.592 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.089, allocations: 256 / 0.592 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/1.089, allocations: 48 kB / 0.592 GB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/1.09, allocations: 38.7 kB / 0.592 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/1.09, allocations: 232.1 kB / 0.5923 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/1.091, allocations: 0.7589 MB / 0.593 GB, free: 11.24 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/1.091, allocations: 0 / 0.593 GB, free: 11.24 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)