Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001592/0.001592, allocations: 184.5 kB / 8.52 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.299/1.299, allocations: 221.4 MB / 230.3 MB, free: 7.684 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.001099/0.001099, allocations: 83.61 kB / 281.2 MB, free: 5.488 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.2015/0.2015, allocations: 44.15 MB / 376.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3093/0.5108, allocations: 68.03 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.6553, allocations: 61.91 MB / 0.4942 GB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/1.061, allocations: 89.4 MB / 0.5815 GB, free: 7.113 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.061, allocations: 69.28 kB / 0.5815 GB, free: 7.078 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.0138/1.075, allocations: 4.479 MB / 0.5859 GB, free: 2.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.075, allocations: 15.94 kB / 0.5859 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/1.075, allocations: 11.81 kB / 0.586 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/1.075, allocations: 228 kB / 0.5862 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/1.075, allocations: 8 kB / 0.5862 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/1.075, allocations: 4 kB / 0.5862 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001153/1.076, allocations: 35.89 kB / 0.5862 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/1.076, allocations: 92.23 kB / 0.5863 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.076, allocations: 7.938 kB / 0.5863 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/1.076, allocations: 0 / 0.5863 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.076, allocations: 0 / 0.5863 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/1.076, allocations: 493.5 kB / 0.5868 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/1.077, allocations: 82.61 kB / 0.5869 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/1.077, allocations: 28.86 kB / 0.5869 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/1.077, allocations: 0 / 0.5869 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/1.077, allocations: 71.61 kB / 0.587 GB, free: 1.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.885e-06/1.077, allocations: 0 / 0.587 GB, free: 1.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000274/1.077, allocations: 101.4 kB / 0.5871 GB, free: 1.316 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/1.077, allocations: 55.41 kB / 0.5871 GB, free: 1.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/1.077, allocations: 166.7 kB / 0.5873 GB, free: 1.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/1.078, allocations: 25.7 kB / 0.5873 GB, free: 1.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/1.078, allocations: 96.03 kB / 0.5874 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/1.078, allocations: 32.3 kB / 0.5874 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/1.078, allocations: 0 / 0.5874 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/1.078, allocations: 326.8 kB / 0.5877 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.514e-05/1.078, allocations: 20 kB / 0.5877 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/1.078, allocations: 60.22 kB / 0.5878 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/1.078, allocations: 32.02 kB / 0.5878 GB, free: 472 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.078, allocations: 0 / 0.5878 GB, free: 472 kB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002079/1.078, allocations: 117.4 kB / 0.5879 GB, free: 348 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.078, allocations: 7.984 kB / 0.5879 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.078, allocations: 4 kB / 0.588 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.078, allocations: 4 kB / 0.588 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/1.078, allocations: 27.98 kB / 0.588 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.078, allocations: 3.906 kB / 0.588 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/1.079, allocations: 11.94 kB / 0.588 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/1.079, allocations: 4.094 kB / 0.588 GB, free: 284 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.0001062/1.079, allocations: 112.8 kB / 0.5881 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/1.079, allocations: 11.91 kB / 0.5881 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/1.079, allocations: 110.9 kB / 0.5882 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.079, allocations: 3.984 kB / 0.5882 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.079, allocations: 0 / 0.5882 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/1.079, allocations: 3.984 kB / 0.5882 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/1.079, allocations: 186.3 kB / 0.5884 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.079, allocations: 0 / 0.5884 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/1.079, allocations: 19.91 kB / 0.5884 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.079, allocations: 0 / 0.5884 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/1.079, allocations: 4 kB / 0.5884 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.079, allocations: 0 / 0.5884 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.079, allocations: 3.984 kB / 0.5884 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002477/1.08, allocations: 163 kB / 0.5886 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000378/1.08, allocations: 0.5677 MB / 0.5891 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/1.08, allocations: 96.86 kB / 0.5892 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/1.08, allocations: 3.984 kB / 0.5892 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/1.08, allocations: 7.906 kB / 0.5893 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/1.08, allocations: 7.984 kB / 0.5893 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/1.08, allocations: 8 kB / 0.5893 GB, free: 14.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001121/1.08, allocations: 136.2 kB / 0.5894 GB, free: 14.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008585/1.081, allocations: 28.12 kB / 0.5894 GB, free: 14.71 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.00073/1.082, allocations: 323.9 kB / 0.5897 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001528/1.082, allocations: 63.92 kB / 0.5898 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.082, allocations: 4 kB / 0.5898 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.268e-05/1.082, allocations: 32.19 kB / 0.5898 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/1.082, allocations: 32.16 kB / 0.5899 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/1.083, allocations: 183.5 kB / 0.59 GB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/1.083, allocations: 0.743 MB / 0.5908 GB, free: 13.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/1.083, allocations: 0 / 0.5908 GB, free: 13.36 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)