Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.001002/0.001001, allocations: 192.6 kB / 7.803 MB, free: 2.449 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.116/1.116, 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.0009064/0.0009065, allocations: 85.58 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.1624/0.1624, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1714/0.3338, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.5649, allocations: 58.83 MB / 476.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.683, allocations: 86.86 MB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.6833, allocations: 67.97 kB / 0.5504 GB, free: 12.06 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.01449/0.6978, allocations: 5.273 MB / 0.5555 GB, free: 6.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6979, allocations: 12 kB / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.6979, allocations: 7.906 kB / 0.5555 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.6983, allocations: 213.6 kB / 0.5558 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.6983, allocations: 0 / 0.5558 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.6983, allocations: 7.984 kB / 0.5558 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.382e-05/0.6984, allocations: 19.92 kB / 0.5558 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.124e-05/0.6985, allocations: 53.67 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.6985, allocations: 3.906 kB / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6985, allocations: 0 / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6986, allocations: 8 kB / 0.5558 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.6989, allocations: 261.5 kB / 0.5561 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.699, allocations: 54.53 kB / 0.5561 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.6991, allocations: 20.98 kB / 0.5562 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.6991, allocations: 0 / 0.5562 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.022e-05/0.6992, allocations: 63.41 kB / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.6992, allocations: 3.938 kB / 0.5562 GB, free: 5.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004036/0.6996, allocations: 137.1 kB / 0.5564 GB, free: 5.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.6997, allocations: 63.33 kB / 0.5564 GB, free: 5.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.6998, allocations: 162.3 kB / 0.5566 GB, free: 5.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.6998, allocations: 25.7 kB / 0.5566 GB, free: 5.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.6999, allocations: 88.14 kB / 0.5567 GB, free: 5.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.6999, allocations: 27.7 kB / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.6999, allocations: 0 / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7001, allocations: 322.8 kB / 0.557 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.7001, allocations: 20 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.7002, allocations: 33.7 kB / 0.5571 GB, free: 5.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.7002, allocations: 20.06 kB / 0.5571 GB, free: 4.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7002, allocations: 7.906 kB / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001443/0.7004, allocations: 93.52 kB / 0.5572 GB, free: 4.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.7004, allocations: 6.812 kB / 0.5572 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7004, allocations: 4 kB / 0.5572 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.7004, allocations: 0 / 0.5572 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.7005, allocations: 12 kB / 0.5572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.7005, allocations: 0 / 0.5572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.7006, allocations: 11.89 kB / 0.5572 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.7006, allocations: 4 kB / 0.5572 GB, free: 4.855 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 7.591e-05/0.7007, allocations: 106.3 kB / 0.5573 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.7007, allocations: 15.94 kB / 0.5573 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.7009, allocations: 106.1 kB / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.701, allocations: 0 / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.701, allocations: 0 / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.701, allocations: 0 / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.7013, allocations: 367.8 kB / 0.5578 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7013, allocations: 0 / 0.5578 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.7014, allocations: 23.95 kB / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.7014, allocations: 0 / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.7014, allocations: 288 / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.7014, allocations: 4 kB / 0.5578 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7014, allocations: 0 / 0.5578 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000177/0.7016, allocations: 205.8 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002844/0.7019, allocations: 0.5726 MB / 0.5586 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.702, allocations: 92.92 kB / 0.5587 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.702, allocations: 3.984 kB / 0.5587 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.7021, allocations: 8.125 kB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.7021, allocations: 19.92 kB / 0.5587 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.7022, allocations: 4 kB / 0.5587 GB, free: 3.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001068/0.7023, allocations: 140.1 kB / 0.5588 GB, free: 3.078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000817/0.7031, allocations: 39.92 kB / 0.5589 GB, free: 3.039 MB / 394.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.000719/0.7038, allocations: 352.1 kB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.704, allocations: 51.94 kB / 0.5592 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.704, allocations: 0 / 0.5592 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.704, allocations: 31.98 kB / 0.5593 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.7043, allocations: 27.78 kB / 0.5593 GB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.7047, allocations: 152.5 kB / 0.5595 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.705, allocations: 0.731 MB / 0.5602 GB, free: 1.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7051, allocations: 0 / 0.5602 GB, free: 1.68 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)