Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25",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.001595/0.001595, allocations: 190.4 kB / 7.802 MB, free: 2.5 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.428/1.428, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008722/0.0008722, allocations: 95.41 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.2094/0.2094, allocations: 43.48 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2436/0.4531, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.7507, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.8794, allocations: 86.01 MB / 0.5495 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.8798, allocations: 75.12 kB / 0.5495 GB, free: 12.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01101/0.8908, allocations: 4.129 MB / 0.5536 GB, free: 8.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.8909, allocations: 11.94 kB / 0.5536 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.8909, allocations: 7.906 kB / 0.5536 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.8912, allocations: 198.8 kB / 0.5538 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.8912, allocations: 4 kB / 0.5538 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.8912, allocations: 7.891 kB / 0.5538 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.922e-05/0.8913, allocations: 16 kB / 0.5538 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.862e-05/0.8914, allocations: 41.69 kB / 0.5539 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.8914, allocations: 4 kB / 0.5539 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.8914, allocations: 0 / 0.5539 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8914, allocations: 0 / 0.5539 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.8918, allocations: 269.3 kB / 0.5541 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/0.8919, allocations: 38.56 kB / 0.5541 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.8919, allocations: 12.86 kB / 0.5542 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.892, allocations: 8 kB / 0.5542 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.892, allocations: 30.56 kB / 0.5542 GB, free: 7.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.892, allocations: 0 / 0.5542 GB, free: 7.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004702/0.8925, allocations: 141.3 kB / 0.5543 GB, free: 7.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.8925, allocations: 51.41 kB / 0.5544 GB, free: 7.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.8927, allocations: 151.5 kB / 0.5545 GB, free: 7.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.8927, allocations: 25.7 kB / 0.5546 GB, free: 7.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.8927, allocations: 100 kB / 0.5546 GB, free: 7.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.8928, allocations: 23.66 kB / 0.5547 GB, free: 7.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.8928, allocations: 0 / 0.5547 GB, free: 7.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.8929, allocations: 318.8 kB / 0.555 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.8929, allocations: 16 kB / 0.555 GB, free: 7.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.893, allocations: 16 kB / 0.555 GB, free: 7.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.432e-05/0.893, allocations: 15.98 kB / 0.555 GB, free: 7.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.893, allocations: 0 / 0.555 GB, free: 7.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001223/0.8931, allocations: 81.75 kB / 0.5551 GB, free: 7.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.8931, allocations: 4 kB / 0.5551 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.8932, allocations: 0 / 0.5551 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8932, allocations: 3.906 kB / 0.5551 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.8933, allocations: 27.98 kB / 0.5551 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.8933, allocations: 3.938 kB / 0.5551 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.8934, allocations: 15.98 kB / 0.5551 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.8934, allocations: 4 kB / 0.5552 GB, free: 6.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.201e-05/0.8935, allocations: 113.8 kB / 0.5553 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.8936, allocations: 11.81 kB / 0.5553 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.8937, allocations: 90.05 kB / 0.5554 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8937, allocations: 0 / 0.5554 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.8937, allocations: 0 / 0.5554 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8937, allocations: 0 / 0.5554 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.8941, allocations: 339 kB / 0.5557 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8941, allocations: 0 / 0.5557 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.8942, allocations: 27.98 kB / 0.5557 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8942, allocations: 0 / 0.5557 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.8942, allocations: 0 / 0.5557 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8942, allocations: 3.938 kB / 0.5557 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8942, allocations: 4 kB / 0.5557 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001439/0.8944, allocations: 175.3 kB / 0.5559 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002381/0.8946, allocations: 0.5353 MB / 0.5564 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.8947, allocations: 92.91 kB / 0.5565 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.8947, allocations: 4 kB / 0.5565 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.8948, allocations: 15.98 kB / 0.5565 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.8949, allocations: 11.98 kB / 0.5565 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.8949, allocations: 0 / 0.5565 GB, free: 5.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.458e-05/0.895, allocations: 132.5 kB / 0.5567 GB, free: 5.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008235/0.8958, allocations: 23.98 kB / 0.5567 GB, free: 5.301 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006059/0.8964, allocations: 301.7 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.8965, allocations: 43.98 kB / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8966, allocations: 0 / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.8966, allocations: 23.94 kB / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.8968, allocations: 19.77 kB / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.8972, allocations: 135.3 kB / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.8975, allocations: 0.7266 MB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.8975, allocations: 3.938 kB / 0.5579 GB, free: 4.047 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1)