Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 179.3 kB / 8.518 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.4 MB / 230.3 MB, free: 7.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 96.8 kB / 281.2 MB, free: 5.578 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2512/0.4588, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.583, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.946, allocations: 89.17 MB / 0.5813 GB, free: 7.551 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.9463, allocations: 71.97 kB / 0.5813 GB, free: 7.48 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.02569/0.972, allocations: 9.744 MB / 0.5908 GB, free: 13.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9721, allocations: 15.94 kB / 0.5909 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.9722, allocations: 55.25 kB / 0.5909 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/0.973, allocations: 490.9 kB / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.973, allocations: 4 kB / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.9731, allocations: 8 kB / 0.5914 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001976/0.9733, allocations: 79.97 kB / 0.5915 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.9735, allocations: 133.4 kB / 0.5916 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.9735, allocations: 3.984 kB / 0.5916 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.9735, allocations: 7.891 kB / 0.5916 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.9736, allocations: 4 kB / 0.5916 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.9747, allocations: 0.7235 MB / 0.5923 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.9749, allocations: 109.2 kB / 0.5924 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.975, allocations: 57.77 kB / 0.5925 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.975, allocations: 0 / 0.5925 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.975, allocations: 34.56 kB / 0.5925 GB, free: 11.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.975, allocations: 4 kB / 0.5925 GB, free: 11.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001549/0.9766, allocations: 0.5878 MB / 0.5931 GB, free: 11.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.9767, allocations: 89.05 kB / 0.5932 GB, free: 11.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/0.9776, allocations: 0.7688 MB / 0.5939 GB, free: 10.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.9776, allocations: 25.7 kB / 0.5939 GB, free: 10.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.9777, allocations: 152.4 kB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.9778, allocations: 63 kB / 0.5942 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.9778, allocations: 0 / 0.5942 GB, free: 10.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.978, allocations: 374.8 kB / 0.5945 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.9781, allocations: 71.97 kB / 0.5946 GB, free: 9.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.9782, allocations: 89.69 kB / 0.5947 GB, free: 9.582 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.9784, allocations: 87.95 kB / 0.5947 GB, free: 9.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.9784, allocations: 0 / 0.5947 GB, free: 9.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004203/0.9788, allocations: 264.7 kB / 0.595 GB, free: 9.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.9788, allocations: 4 kB / 0.595 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.9788, allocations: 4.375 kB / 0.595 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.9789, allocations: 0 / 0.595 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.9792, allocations: 63.95 kB / 0.5951 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.9792, allocations: 0 / 0.5951 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.9795, allocations: 39.91 kB / 0.5951 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.9795, allocations: 8 kB / 0.5951 GB, free: 9.113 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 7.719e-05/0.9796, allocations: 112.8 kB / 0.5952 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.9797, allocations: 55.34 kB / 0.5953 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005689/0.9803, allocations: 334.1 kB / 0.5956 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.9803, allocations: 4 kB / 0.5956 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.9803, allocations: 224 / 0.5956 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.9803, allocations: 0 / 0.5956 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.9815, allocations: 0.9156 MB / 0.5965 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9816, allocations: 8 kB / 0.5965 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.9818, allocations: 55.95 kB / 0.5966 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.9819, allocations: 7.906 kB / 0.5966 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.9819, allocations: 11.98 kB / 0.5966 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9819, allocations: 4 kB / 0.5966 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.9819, allocations: 3.938 kB / 0.5966 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004895/0.9824, allocations: 450.8 kB / 0.597 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005949/0.983, allocations: 0.8359 MB / 0.5978 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.9832, allocations: 180.3 kB / 0.598 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.9833, allocations: 0 / 0.598 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.9836, allocations: 31.97 kB / 0.598 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.9837, allocations: 19.97 kB / 0.598 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.9837, allocations: 4 kB / 0.598 GB, free: 5.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007021/0.9844, allocations: 0.6083 MB / 0.5986 GB, free: 5.375 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00101/0.9854, allocations: 79.94 kB / 0.5987 GB, free: 5.297 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.0006998/0.9861, allocations: 312.8 kB / 0.599 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.9865, allocations: 191.8 kB / 0.5992 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9865, allocations: 0 / 0.5992 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.9867, allocations: 107.9 kB / 0.5993 GB, free: 4.773 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.9871, allocations: 60.94 kB / 0.5994 GB, free: 4.711 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.9886, allocations: 0.7842 MB / 0.6001 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/0.9892, allocations: 0.9346 MB / 0.601 GB, free: 2.934 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.9892, allocations: 4 kB / 0.601 GB, free: 2.93 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1)