Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.001141/0.001141, allocations: 187.2 kB / 7.797 MB, free: 2.496 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.197/1.197, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009116/0.0009116, allocations: 87.42 kB / 261.4 MB, free: 13.54 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.2746/0.2746, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.209/0.4836, allocations: 64.98 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.7557, allocations: 58.83 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.8695, allocations: 86.75 MB / 0.5502 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.8698, allocations: 75.45 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01713/0.8869, allocations: 6.675 MB / 0.5568 GB, free: 5.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.887, allocations: 8 kB / 0.5568 GB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.8871, allocations: 51.34 kB / 0.5569 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.8879, allocations: 479.1 kB / 0.5573 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.8879, allocations: 3.984 kB / 0.5573 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.8879, allocations: 4 kB / 0.5573 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.206e-05/0.888, allocations: 31.92 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.8881, allocations: 79.36 kB / 0.5574 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.8881, allocations: 3.906 kB / 0.5574 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.8882, allocations: 3.938 kB / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.8882, allocations: 4 kB / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.8885, allocations: 362.9 kB / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.8887, allocations: 97.27 kB / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.8888, allocations: 37.72 kB / 0.5579 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.8888, allocations: 0 / 0.5579 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.8889, allocations: 105 kB / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.8889, allocations: 0 / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002752/0.8892, allocations: 133.1 kB / 0.5581 GB, free: 3.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.8893, allocations: 93 kB / 0.5582 GB, free: 3.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.8904, allocations: 0.9006 MB / 0.5591 GB, free: 2.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.8904, allocations: 25.7 kB / 0.5591 GB, free: 2.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.8905, allocations: 140.1 kB / 0.5593 GB, free: 2.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.8905, allocations: 23.7 kB / 0.5593 GB, free: 2.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.8906, allocations: 0 / 0.5593 GB, free: 2.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.8907, allocations: 370.8 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/0.8907, allocations: 20 kB / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.8908, allocations: 63.36 kB / 0.5597 GB, free: 2.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.8909, allocations: 24.11 kB / 0.5597 GB, free: 2.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.8909, allocations: 4 kB / 0.5597 GB, free: 2.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002355/0.8911, allocations: 157 kB / 0.5599 GB, free: 1.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.8911, allocations: 4 kB / 0.5599 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8912, allocations: 0 / 0.5599 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.8912, allocations: 4 kB / 0.5599 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.8913, allocations: 27.98 kB / 0.5599 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.8913, allocations: 7.938 kB / 0.5599 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.8914, allocations: 15.83 kB / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.8915, allocations: 4 kB / 0.56 GB, free: 1.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 7.142e-05/0.8915, allocations: 113.7 kB / 0.5601 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.8916, allocations: 55.34 kB / 0.5601 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.8919, allocations: 169.6 kB / 0.5603 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8919, allocations: 8 kB / 0.5603 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.8919, allocations: 0 / 0.5603 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.8919, allocations: 3.984 kB / 0.5603 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.8922, allocations: 353.9 kB / 0.5606 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8923, allocations: 0 / 0.5606 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.8923, allocations: 19.83 kB / 0.5606 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.8923, allocations: 4 kB / 0.5606 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.8923, allocations: 0 / 0.5606 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8923, allocations: 0 / 0.5606 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.8924, allocations: 4 kB / 0.5607 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002416/0.8926, allocations: 203.2 kB / 0.5608 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003611/0.893, allocations: 0.5814 MB / 0.5614 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.8932, allocations: 196.3 kB / 0.5616 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.592e-05/0.8933, allocations: 4 kB / 0.5616 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.8934, allocations: 4 kB / 0.5616 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.8935, allocations: 7.984 kB / 0.5616 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.8935, allocations: 4 kB / 0.5616 GB, free: 96 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0008282/0.8943, allocations: 0.7214 MB / 0.5623 GB, free: 15.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009311/0.8953, allocations: 76 kB / 0.5624 GB, free: 15.3 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00063/0.8959, allocations: 309.9 kB / 0.5627 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.8961, allocations: 71.94 kB / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8961, allocations: 4 kB / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.8962, allocations: 43.92 kB / 0.5628 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.8966, allocations: 62.33 kB / 0.5629 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.8978, allocations: 0.7719 MB / 0.5636 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/0.8983, allocations: 0.8967 MB / 0.5645 GB, free: 13.12 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.8984, allocations: 0 / 0.5645 GB, free: 13.12 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)