Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27",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.001482/0.001482, allocations: 180.6 kB / 7.8 MB, free: 2.199 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.269/1.269, 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.0009317/0.0009317, allocations: 90.31 kB / 261.4 MB, free: 13.52 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.1878/0.1878, allocations: 43.49 MB / 352.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1963/0.3842, allocations: 64.96 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.6576, allocations: 58.83 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.7835, allocations: 86.02 MB / 0.5495 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.7838, allocations: 71.95 kB / 0.5496 GB, free: 12.79 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.01179/0.7956, allocations: 4.223 MB / 0.5537 GB, free: 8.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.7957, allocations: 8 kB / 0.5537 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.7957, allocations: 7.906 kB / 0.5537 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.796, allocations: 202.7 kB / 0.5539 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.796, allocations: 3.906 kB / 0.5539 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.796, allocations: 0 / 0.5539 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.281e-05/0.7961, allocations: 23.06 kB / 0.5539 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.624e-05/0.7962, allocations: 41.69 kB / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.7962, allocations: 4 kB / 0.554 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.7963, allocations: 0 / 0.554 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.7963, allocations: 7.938 kB / 0.554 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.7966, allocations: 265.4 kB / 0.5542 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.9e-05/0.7967, allocations: 30.58 kB / 0.5542 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.7968, allocations: 16.86 kB / 0.5543 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.7968, allocations: 4.078 kB / 0.5543 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.7968, allocations: 34.56 kB / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.7968, allocations: 0 / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004634/0.7973, allocations: 145.2 kB / 0.5544 GB, free: 7.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.7973, allocations: 51.41 kB / 0.5545 GB, free: 7.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.7975, allocations: 157.4 kB / 0.5546 GB, free: 7.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.7976, allocations: 25.7 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.7976, allocations: 100.1 kB / 0.5548 GB, free: 7.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.7976, allocations: 19.7 kB / 0.5548 GB, free: 7.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.7976, allocations: 0 / 0.5548 GB, free: 7.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7978, allocations: 322.8 kB / 0.5551 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.524e-05/0.7978, allocations: 20 kB / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.7979, allocations: 12 kB / 0.5551 GB, free: 6.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.7979, allocations: 12 kB / 0.5551 GB, free: 6.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.7979, allocations: 0 / 0.5551 GB, free: 6.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001218/0.798, allocations: 77.44 kB / 0.5552 GB, free: 6.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.798, allocations: 8 kB / 0.5552 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7981, allocations: 0 / 0.5552 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7981, allocations: 0 / 0.5552 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.7982, allocations: 27.98 kB / 0.5552 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.7982, allocations: 8.188 kB / 0.5552 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.7983, allocations: 15.98 kB / 0.5553 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.7983, allocations: 4 kB / 0.5553 GB, free: 6.742 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 6.996e-05/0.7984, allocations: 110.3 kB / 0.5554 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.7984, allocations: 7.906 kB / 0.5554 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.7986, allocations: 98.08 kB / 0.5555 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.7986, allocations: 0 / 0.5555 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7987, allocations: 0 / 0.5555 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.7987, allocations: 3.984 kB / 0.5555 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.799, allocations: 335 kB / 0.5558 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.799, allocations: 0 / 0.5558 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.7991, allocations: 31.92 kB / 0.5558 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7991, allocations: 0 / 0.5558 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.7992, allocations: 4 kB / 0.5558 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7992, allocations: 0 / 0.5558 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7992, allocations: 3.906 kB / 0.5558 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001568/0.7993, allocations: 179.4 kB / 0.556 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002772/0.7996, allocations: 0.5349 MB / 0.5565 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.7997, allocations: 93 kB / 0.5566 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.7997, allocations: 3.906 kB / 0.5566 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.7998, allocations: 23.92 kB / 0.5566 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.7999, allocations: 144 / 0.5566 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.7999, allocations: 7.984 kB / 0.5566 GB, free: 5.219 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001037/0.8, allocations: 136.1 kB / 0.5568 GB, free: 5.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008137/0.8008, allocations: 20 kB / 0.5568 GB, free: 5.066 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.0006094/0.8015, allocations: 304.8 kB / 0.5571 GB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.8016, allocations: 40 kB / 0.5571 GB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8016, allocations: 4 kB / 0.5571 GB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/0.8016, allocations: 19.94 kB / 0.5571 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.8019, allocations: 20.03 kB / 0.5572 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.8023, allocations: 155.1 kB / 0.5573 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.8026, allocations: 0.727 MB / 0.558 GB, free: 3.789 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.8026, allocations: 3.938 kB / 0.558 GB, free: 3.785 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1)