Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",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.001902/0.001902, allocations: 193.8 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.585/1.585, 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.0009631/0.000963, allocations: 89.64 kB / 261.4 MB, free: 13.62 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.2156/0.2156, allocations: 43.48 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2424/0.4581, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.8317, allocations: 58.83 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.9672, allocations: 87.16 MB / 0.5506 GB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/0.9677, allocations: 67.97 kB / 0.5507 GB, free: 11.67 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.02503/0.9927, allocations: 9.043 MB / 0.5595 GB, free: 2.559 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.9928, allocations: 8 kB / 0.5595 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.993, allocations: 63.19 kB / 0.5596 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008394/0.9938, allocations: 471 kB / 0.56 GB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.9938, allocations: 4 kB / 0.56 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.9939, allocations: 16 kB / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001707/0.9941, allocations: 59.83 kB / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.9943, allocations: 111.2 kB / 0.5602 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.9943, allocations: 8 kB / 0.5602 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.9943, allocations: 0 / 0.5602 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.9943, allocations: 0 / 0.5602 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.9954, allocations: 0.6962 MB / 0.5609 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.9956, allocations: 97.2 kB / 0.561 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.9957, allocations: 45.83 kB / 0.561 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.9957, allocations: 0 / 0.561 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.9958, allocations: 38.56 kB / 0.5611 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.9958, allocations: 0 / 0.5611 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001491/0.9973, allocations: 0.5214 MB / 0.5616 GB, free: 304 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.9973, allocations: 85.11 kB / 0.5616 GB, free: 200 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.9985, allocations: 0.7523 MB / 0.5624 GB, free: 15.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.9985, allocations: 25.7 kB / 0.5624 GB, free: 15.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.9986, allocations: 160.2 kB / 0.5626 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.9987, allocations: 59.11 kB / 0.5626 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.9987, allocations: 0 / 0.5626 GB, free: 15.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.9989, allocations: 374.7 kB / 0.563 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.9991, allocations: 52 kB / 0.563 GB, free: 14.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.9992, allocations: 73.14 kB / 0.5631 GB, free: 14.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.9993, allocations: 68.05 kB / 0.5632 GB, free: 14.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9993, allocations: 0 / 0.5632 GB, free: 14.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004895/0.9998, allocations: 216.9 kB / 0.5634 GB, free: 14.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.9999, allocations: 8 kB / 0.5634 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.9999, allocations: 384 / 0.5634 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.9999, allocations: 0 / 0.5634 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/1, allocations: 75.88 kB / 0.5634 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1, allocations: 7.906 kB / 0.5634 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/1.001, allocations: 31.98 kB / 0.5635 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/1.001, allocations: 7.984 kB / 0.5635 GB, free: 14.27 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001193/1.001, allocations: 102.4 kB / 0.5636 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.001, allocations: 59.25 kB / 0.5636 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006514/1.002, allocations: 282.4 kB / 0.5639 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.002, allocations: 96 / 0.5639 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.002, allocations: 3.938 kB / 0.5639 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/1.002, allocations: 7.984 kB / 0.5639 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.003, allocations: 0.8492 MB / 0.5648 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.003, allocations: 0 / 0.5648 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/1.003, allocations: 67.89 kB / 0.5648 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.004, allocations: 0 / 0.5648 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/1.004, allocations: 11.98 kB / 0.5648 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.004, allocations: 4 kB / 0.5648 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.004, allocations: 3.938 kB / 0.5648 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005586/1.004, allocations: 407.7 kB / 0.5652 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006765/1.005, allocations: 0.7891 MB / 0.566 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/1.005, allocations: 184.3 kB / 0.5662 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/1.005, allocations: 0 / 0.5662 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/1.005, allocations: 27.98 kB / 0.5662 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/1.006, allocations: 19.97 kB / 0.5662 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/1.006, allocations: 7.984 kB / 0.5662 GB, free: 11.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007466/1.006, allocations: 0.5887 MB / 0.5668 GB, free: 10.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001078/1.007, allocations: 83.89 kB / 0.5669 GB, free: 10.67 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0006795/1.008, allocations: 297.2 kB / 0.5672 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003498/1.008, allocations: 147.9 kB / 0.5673 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.009, allocations: 0 / 0.5673 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/1.009, allocations: 87.92 kB / 0.5674 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/1.009, allocations: 64.92 kB / 0.5674 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/1.011, allocations: 0.7304 MB / 0.5682 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.012, allocations: 0.9268 MB / 0.5691 GB, free: 8.406 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/1.012, allocations: 0 / 0.5691 GB, free: 8.406 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1)