Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.0009711/0.0009712, allocations: 184.5 kB / 8.52 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.294/1.294, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0009397/0.0009397, allocations: 86.38 kB / 281.2 MB, free: 5.441 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.1772/0.1772, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2044/0.3816, allocations: 68.02 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.4962, allocations: 61.92 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.8194, allocations: 87.25 MB / 0.5794 GB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.8197, allocations: 68.72 kB / 0.5795 GB, free: 9.164 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01037/0.8301, allocations: 3.683 MB / 0.583 GB, free: 5.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.8301, allocations: 19.88 kB / 0.5831 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.8302, allocations: 7.906 kB / 0.5831 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.8304, allocations: 194.8 kB / 0.5833 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.8304, allocations: 0 / 0.5833 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.8304, allocations: 3.906 kB / 0.5833 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.607e-05/0.8305, allocations: 19.98 kB / 0.5833 GB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.123e-05/0.8306, allocations: 41.69 kB / 0.5833 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.8306, allocations: 0 / 0.5833 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.8306, allocations: 0 / 0.5833 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.8306, allocations: 0 / 0.5833 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.831, allocations: 261.4 kB / 0.5836 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.8311, allocations: 33.72 kB / 0.5836 GB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.8312, allocations: 12.94 kB / 0.5836 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.8312, allocations: 0 / 0.5836 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.8312, allocations: 38.56 kB / 0.5837 GB, free: 4.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.8313, allocations: 0 / 0.5837 GB, free: 4.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004073/0.8317, allocations: 113.3 kB / 0.5838 GB, free: 4.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.8317, allocations: 51.41 kB / 0.5838 GB, free: 4.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.8319, allocations: 128.3 kB / 0.5839 GB, free: 4.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.8319, allocations: 29.7 kB / 0.584 GB, free: 4.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.8319, allocations: 88.08 kB / 0.584 GB, free: 4.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.832, allocations: 19.7 kB / 0.5841 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.832, allocations: 0 / 0.5841 GB, free: 4.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.8321, allocations: 314.8 kB / 0.5844 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.8321, allocations: 15.98 kB / 0.5844 GB, free: 4.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.8321, allocations: 12 kB / 0.5844 GB, free: 4.062 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.8322, allocations: 12 kB / 0.5844 GB, free: 4.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.8322, allocations: 0 / 0.5844 GB, free: 4.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.8323, allocations: 69.59 kB / 0.5845 GB, free: 3.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.8323, allocations: 8 kB / 0.5845 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8323, allocations: 3.938 kB / 0.5845 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8323, allocations: 3.984 kB / 0.5845 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.8324, allocations: 12 kB / 0.5845 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.8324, allocations: 0 / 0.5845 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.8325, allocations: 7.984 kB / 0.5845 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.8325, allocations: 8 kB / 0.5845 GB, free: 3.934 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 (5): * Single equations (assignments): 5 * 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.135e-05/0.8326, allocations: 104.9 kB / 0.5846 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.8326, allocations: 7.906 kB / 0.5846 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.8328, allocations: 77.84 kB / 0.5847 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8328, allocations: 144 / 0.5847 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8328, allocations: 0 / 0.5847 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.8328, allocations: 3.984 kB / 0.5847 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.8331, allocations: 319 kB / 0.585 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8331, allocations: 0 / 0.585 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.8332, allocations: 19.92 kB / 0.585 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.8332, allocations: 0 / 0.585 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.8332, allocations: 384 / 0.585 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8332, allocations: 0 / 0.585 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8332, allocations: 4 kB / 0.585 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001318/0.8334, allocations: 167.4 kB / 0.5852 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002187/0.8336, allocations: 0.531 MB / 0.5857 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.8336, allocations: 85.02 kB / 0.5858 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.8337, allocations: 0 / 0.5858 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.8338, allocations: 15.98 kB / 0.5858 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.8338, allocations: 4 kB / 0.5858 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-06/0.8338, allocations: 3.938 kB / 0.5858 GB, free: 2.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.718e-05/0.8339, allocations: 107.3 kB / 0.5859 GB, free: 2.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008626/0.8348, allocations: 23.94 kB / 0.5859 GB, free: 2.363 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 (5): * Single equations (assignments): 5 * 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.0006482/0.8354, allocations: 298.2 kB / 0.5862 GB, free: 2.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.947e-05/0.8355, allocations: 31.98 kB / 0.5862 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8355, allocations: 4 kB / 0.5863 GB, free: 2.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.8356, allocations: 16 kB / 0.5863 GB, free: 2.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.8358, allocations: 15.89 kB / 0.5863 GB, free: 2.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.8361, allocations: 111.6 kB / 0.5864 GB, free: 1.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.8365, allocations: 0.7075 MB / 0.5871 GB, free: 1.207 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.8365, allocations: 0 / 0.5871 GB, free: 1.207 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1)