Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.002232/0.002232, allocations: 170.6 kB / 8.513 MB, free: 1.848 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.284/1.284, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0009804/0.0009805, allocations: 84.8 kB / 281.2 MB, free: 5.457 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.1857/0.1857, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.253/0.4388, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.5747, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.9175, allocations: 88.49 MB / 0.5806 GB, free: 8.332 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.9178, allocations: 71.95 kB / 0.5807 GB, free: 8.262 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.01586/0.9336, allocations: 5.711 MB / 0.5862 GB, free: 2.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.9337, allocations: 11.94 kB / 0.5863 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.9338, allocations: 11.81 kB / 0.5863 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.9341, allocations: 220.1 kB / 0.5865 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.9342, allocations: 0 / 0.5865 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.9342, allocations: 7.906 kB / 0.5865 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.304e-05/0.9343, allocations: 20 kB / 0.5865 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.762e-05/0.9344, allocations: 53.61 kB / 0.5866 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.9344, allocations: 0 / 0.5866 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.9344, allocations: 7.938 kB / 0.5866 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.9345, allocations: 0 / 0.5866 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.9349, allocations: 273.4 kB / 0.5868 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.935, allocations: 54.69 kB / 0.5869 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.9351, allocations: 16.98 kB / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.9351, allocations: 0 / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/0.9352, allocations: 63.34 kB / 0.587 GB, free: 1.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.9352, allocations: 0 / 0.587 GB, free: 1.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004643/0.9357, allocations: 133.1 kB / 0.5871 GB, free: 1.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.9357, allocations: 55.41 kB / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.9359, allocations: 193.3 kB / 0.5873 GB, free: 1.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.9359, allocations: 29.7 kB / 0.5873 GB, free: 1.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.936, allocations: 92.12 kB / 0.5874 GB, free: 1.164 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.936, allocations: 27.64 kB / 0.5875 GB, free: 1.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.936, allocations: 0 / 0.5875 GB, free: 1.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9362, allocations: 322.8 kB / 0.5878 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.9362, allocations: 19.94 kB / 0.5878 GB, free: 0.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.9363, allocations: 30.47 kB / 0.5878 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.9363, allocations: 32.05 kB / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.9363, allocations: 0 / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001645/0.9365, allocations: 93.67 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.9365, allocations: 4 kB / 0.5879 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.9365, allocations: 3.938 kB / 0.5879 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.9366, allocations: 7.938 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.9367, allocations: 15.98 kB / 0.588 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.9367, allocations: 0 / 0.588 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.9367, allocations: 8.031 kB / 0.588 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.9367, allocations: 3.906 kB / 0.588 GB, free: 0.5859 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 8.015e-05/0.9368, allocations: 113 kB / 0.5881 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.9369, allocations: 11.81 kB / 0.5881 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.9371, allocations: 103 kB / 0.5882 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.9371, allocations: 0 / 0.5882 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9371, allocations: 192 / 0.5882 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.9371, allocations: 3.984 kB / 0.5882 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.9376, allocations: 379.8 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.9376, allocations: 0 / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.9377, allocations: 19.92 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.9377, allocations: 0 / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.9377, allocations: 4 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.9377, allocations: 4 kB / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9377, allocations: 0 / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002265/0.938, allocations: 206.1 kB / 0.5888 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003384/0.9383, allocations: 0.5802 MB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.9384, allocations: 97 kB / 0.5894 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.9384, allocations: 7.906 kB / 0.5894 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.9385, allocations: 4 kB / 0.5895 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.9386, allocations: 8.25 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.9386, allocations: 8 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001279/0.9387, allocations: 152.2 kB / 0.5896 GB, free: 14.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008733/0.9396, allocations: 35.92 kB / 0.5896 GB, free: 14.74 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.0007542/0.9404, allocations: 353 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.9405, allocations: 55.94 kB / 0.59 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9405, allocations: 0 / 0.59 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.9406, allocations: 24 kB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.9409, allocations: 31.19 kB / 0.5901 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.9413, allocations: 180.3 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/0.9417, allocations: 0.7309 MB / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9418, allocations: 0 / 0.591 GB, free: 13.4 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)