Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001906/0.001906, allocations: 175.3 kB / 8.516 MB, free: 1.855 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.348/1.348, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.0009361/0.0009361, allocations: 90.23 kB / 281.2 MB, free: 5.422 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.189/0.189, allocations: 44.15 MB / 376.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2484/0.4375, allocations: 68.02 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.5681, allocations: 61.92 MB / 0.4942 GB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.9255, allocations: 90.4 MB / 0.5825 GB, free: 6.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.9258, allocations: 71.73 kB / 0.5825 GB, free: 6.195 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.02571/0.9516, allocations: 9.845 MB / 0.5921 GB, free: 12.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.9516, allocations: 11.94 kB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.9518, allocations: 43.44 kB / 0.5922 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006734/0.9525, allocations: 345.2 kB / 0.5925 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.9525, allocations: 4 kB / 0.5925 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.9525, allocations: 7.906 kB / 0.5925 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001807/0.9527, allocations: 75.97 kB / 0.5926 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.9529, allocations: 105.6 kB / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.9529, allocations: 0 / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.953, allocations: 0 / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.953, allocations: 4 kB / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007703/0.9538, allocations: 0.5007 MB / 0.5932 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.9539, allocations: 93.62 kB / 0.5933 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.954, allocations: 36.84 kB / 0.5933 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.954, allocations: 3.984 kB / 0.5933 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.954, allocations: 30.56 kB / 0.5934 GB, free: 10.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/0.954, allocations: 8 kB / 0.5934 GB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008148/0.9549, allocations: 359.8 kB / 0.5937 GB, free: 10.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.9549, allocations: 51.41 kB / 0.5938 GB, free: 10.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.9555, allocations: 477 kB / 0.5942 GB, free: 10.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.9556, allocations: 25.7 kB / 0.5942 GB, free: 10.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.9557, allocations: 136.4 kB / 0.5944 GB, free: 9.891 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.9557, allocations: 63.11 kB / 0.5944 GB, free: 9.828 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.9557, allocations: 224 / 0.5944 GB, free: 9.828 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9559, allocations: 350.8 kB / 0.5948 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.956, allocations: 59.92 kB / 0.5948 GB, free: 9.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.956, allocations: 54.02 kB / 0.5949 GB, free: 9.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.505e-05/0.9561, allocations: 67.86 kB / 0.5949 GB, free: 9.301 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.9562, allocations: 0 / 0.5949 GB, free: 9.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003224/0.9565, allocations: 203.4 kB / 0.5951 GB, free: 9.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9565, allocations: 4 kB / 0.5951 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9565, allocations: 3.938 kB / 0.5951 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.9566, allocations: 4 kB / 0.5951 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.9567, allocations: 43.92 kB / 0.5952 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.9568, allocations: 0 / 0.5952 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/0.9569, allocations: 11.98 kB / 0.5952 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.9569, allocations: 4 kB / 0.5952 GB, free: 9.027 MB / 410.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 (17): * Single equations (assignments): 17 * 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 8.495e-05/0.957, allocations: 105 kB / 0.5953 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.9571, allocations: 39.44 kB / 0.5953 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.9575, allocations: 265.2 kB / 0.5956 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.9576, allocations: 3.984 kB / 0.5956 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9576, allocations: 0 / 0.5956 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.9576, allocations: 3.984 kB / 0.5956 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.9585, allocations: 0.6884 MB / 0.5963 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.9585, allocations: 4 kB / 0.5963 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.9586, allocations: 31.98 kB / 0.5963 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9586, allocations: 0 / 0.5963 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.9586, allocations: 4 kB / 0.5963 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.9586, allocations: 7.938 kB / 0.5963 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.9586, allocations: 0 / 0.5963 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003375/0.959, allocations: 302.9 kB / 0.5966 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004583/0.9595, allocations: 0.6815 MB / 0.5973 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.9596, allocations: 140.6 kB / 0.5974 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.9597, allocations: 7.906 kB / 0.5974 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.9598, allocations: 11.98 kB / 0.5974 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.9599, allocations: 11.98 kB / 0.5974 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.9599, allocations: 7.938 kB / 0.5974 GB, free: 6.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004417/0.9603, allocations: 379.1 kB / 0.5978 GB, free: 6.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009663/0.9613, allocations: 71.88 kB / 0.5979 GB, free: 6.168 MB / 410.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 (17): * Single equations (assignments): 17 * 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.001067/0.9624, allocations: 0.4947 MB / 0.5984 GB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.9626, allocations: 146.3 kB / 0.5985 GB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9627, allocations: 0 / 0.5985 GB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.9628, allocations: 79.91 kB / 0.5986 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.9632, allocations: 60.45 kB / 0.5986 GB, free: 5.527 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.9642, allocations: 0.5352 MB / 0.5991 GB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/0.9648, allocations: 0.8643 MB / 0.6 GB, free: 4.078 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9648, allocations: 0 / 0.6 GB, free: 4.078 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1)