Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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 3.2.3+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 192.6 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.188/1.188, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 96.09 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1833/0.1833, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.187/0.3703, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.6568, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.7725, allocations: 86.73 MB / 0.5502 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.7728, allocations: 75.47 kB / 0.5503 GB, free: 12.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01508/0.7879, allocations: 5.531 MB / 0.5557 GB, free: 6.516 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7879, allocations: 8 kB / 0.5557 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.788, allocations: 19.8 kB / 0.5557 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.7883, allocations: 222.7 kB / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.7884, allocations: 7.984 kB / 0.5559 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.7884, allocations: 0 / 0.5559 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.829e-05/0.7885, allocations: 12 kB / 0.5559 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.615e-05/0.7886, allocations: 53.58 kB / 0.556 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7886, allocations: 0 / 0.556 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7886, allocations: 4 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.7886, allocations: 3.938 kB / 0.556 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.7888, allocations: 166.2 kB / 0.5561 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.7889, allocations: 50.56 kB / 0.5562 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.789, allocations: 20.95 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.789, allocations: 3.984 kB / 0.5562 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.7891, allocations: 63.31 kB / 0.5563 GB, free: 5.785 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.7891, allocations: 0 / 0.5563 GB, free: 5.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001895/0.7893, allocations: 65.59 kB / 0.5563 GB, free: 5.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.7894, allocations: 51.41 kB / 0.5564 GB, free: 5.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.7896, allocations: 233.6 kB / 0.5566 GB, free: 5.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.7896, allocations: 33.64 kB / 0.5566 GB, free: 5.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.7897, allocations: 92.12 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.7897, allocations: 11.89 kB / 0.5567 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.7897, allocations: 0 / 0.5567 GB, free: 5.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.7898, allocations: 326.8 kB / 0.557 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.7898, allocations: 15.94 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.7899, allocations: 21.72 kB / 0.5571 GB, free: 4.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.7899, allocations: 19.98 kB / 0.5571 GB, free: 4.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7899, allocations: 7.906 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001212/0.7901, allocations: 77.59 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7901, allocations: 14.72 kB / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7901, allocations: 0 / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7901, allocations: 0 / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.7902, allocations: 11.98 kB / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7902, allocations: 4 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.7903, allocations: 0 / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.7903, allocations: 4 kB / 0.5572 GB, free: 4.758 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 (7): * Single equations (assignments): 7 * 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 6.994e-05/0.7904, allocations: 106.4 kB / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.7904, allocations: 19.81 kB / 0.5573 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.7906, allocations: 90.59 kB / 0.5574 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.7906, allocations: 4 kB / 0.5574 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7906, allocations: 3.984 kB / 0.5574 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.7906, allocations: 0 / 0.5574 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.7908, allocations: 186.1 kB / 0.5576 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7908, allocations: 0 / 0.5576 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.7908, allocations: 4 kB / 0.5576 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7909, allocations: 8 kB / 0.5576 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.7909, allocations: 0 / 0.5576 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.7909, allocations: 4.062 kB / 0.5576 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7909, allocations: 0 / 0.5576 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001789/0.7911, allocations: 104.9 kB / 0.5577 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002368/0.7913, allocations: 489.5 kB / 0.5582 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.7914, allocations: 104.8 kB / 0.5583 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.7915, allocations: 4.062 kB / 0.5583 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.7916, allocations: 7.984 kB / 0.5583 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.7916, allocations: 4 kB / 0.5583 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.7917, allocations: 4 kB / 0.5583 GB, free: 3.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002625/0.7919, allocations: 184.2 kB / 0.5585 GB, free: 3.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008405/0.7928, allocations: 35.89 kB / 0.5585 GB, free: 3.316 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007356/0.7935, allocations: 306.8 kB / 0.5588 GB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.7937, allocations: 39.94 kB / 0.5588 GB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7937, allocations: 0 / 0.5588 GB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.7938, allocations: 23.94 kB / 0.5589 GB, free: 2.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.794, allocations: 27.83 kB / 0.5589 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.7946, allocations: 199.7 kB / 0.5591 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.7951, allocations: 0.7344 MB / 0.5598 GB, free: 1.98 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7951, allocations: 0 / 0.5598 GB, free: 1.98 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)