Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.001137/0.001137, allocations: 184.1 kB / 8.52 MB, free: 1.828 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.278/1.278, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.0009682/0.0009684, allocations: 88.12 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.1876/0.1876, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2333/0.421, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.5352, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/0.8329, allocations: 88.47 MB / 0.5806 GB, free: 8.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.8332, allocations: 75.95 kB / 0.5807 GB, free: 8.203 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.01573/0.8489, allocations: 5.882 MB / 0.5864 GB, free: 2.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.849, allocations: 11.94 kB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.849, allocations: 11.81 kB / 0.5864 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.8494, allocations: 238.1 kB / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.8494, allocations: 4 kB / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.8494, allocations: 7.906 kB / 0.5867 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.746e-05/0.8495, allocations: 23.92 kB / 0.5867 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.383e-05/0.8496, allocations: 49.69 kB / 0.5867 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.8496, allocations: 0 / 0.5867 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.8496, allocations: 3.984 kB / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8496, allocations: 0 / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.85, allocations: 285.4 kB / 0.587 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.8501, allocations: 50.69 kB / 0.5871 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.8502, allocations: 24.91 kB / 0.5871 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.8502, allocations: 7.984 kB / 0.5871 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.723e-05/0.8503, allocations: 59.41 kB / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.8503, allocations: 0 / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004153/0.8507, allocations: 141 kB / 0.5873 GB, free: 1.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.8508, allocations: 55.41 kB / 0.5873 GB, free: 1.219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.851, allocations: 226 kB / 0.5875 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.851, allocations: 25.7 kB / 0.5876 GB, free: 0.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.8511, allocations: 92.12 kB / 0.5877 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.8512, allocations: 27.64 kB / 0.5877 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.8512, allocations: 0 / 0.5877 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8513, allocations: 330.8 kB / 0.588 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.8513, allocations: 16 kB / 0.588 GB, free: 500 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.8514, allocations: 37.7 kB / 0.5881 GB, free: 456 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.8514, allocations: 19.94 kB / 0.5881 GB, free: 436 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.8514, allocations: 0 / 0.5881 GB, free: 436 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001598/0.8516, allocations: 101.5 kB / 0.5882 GB, free: 328 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.8516, allocations: 5.094 kB / 0.5882 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8516, allocations: 4 kB / 0.5882 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.8517, allocations: 0 / 0.5882 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.8518, allocations: 19.84 kB / 0.5882 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.8518, allocations: 4.031 kB / 0.5882 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.8518, allocations: 7.984 kB / 0.5882 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.8519, allocations: 4 kB / 0.5882 GB, free: 284 kB / 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.105e-05/0.8519, allocations: 103.9 kB / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.852, allocations: 15.81 kB / 0.5883 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.8522, allocations: 115.1 kB / 0.5884 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8522, allocations: 0 / 0.5884 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8522, allocations: 4 kB / 0.5884 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8522, allocations: 3.906 kB / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.8527, allocations: 391.9 kB / 0.5888 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8527, allocations: 0 / 0.5888 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.8527, allocations: 8 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8527, allocations: 3.906 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.8528, allocations: 7.984 kB / 0.5888 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.8528, allocations: 0 / 0.5888 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8528, allocations: 3.938 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000256/0.853, allocations: 206.1 kB / 0.589 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003191/0.8534, allocations: 0.5919 MB / 0.5896 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.8535, allocations: 96.92 kB / 0.5897 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.8535, allocations: 4.188 kB / 0.5897 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.8536, allocations: 7.984 kB / 0.5897 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.8536, allocations: 7.984 kB / 0.5897 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.8537, allocations: 4 kB / 0.5897 GB, free: 14.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000164/0.8538, allocations: 192.2 kB / 0.5899 GB, free: 14.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008504/0.8547, allocations: 39.84 kB / 0.59 GB, free: 14.36 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.0008272/0.8555, allocations: 352.2 kB / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.8557, allocations: 51.98 kB / 0.5903 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8557, allocations: 0 / 0.5903 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.466e-05/0.8558, allocations: 32 kB / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.8561, allocations: 27.75 kB / 0.5904 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.8566, allocations: 216.7 kB / 0.5906 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.8571, allocations: 0.7383 MB / 0.5913 GB, free: 12.98 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.8571, allocations: 0 / 0.5913 GB, free: 12.98 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)