Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001897/0.001896, allocations: 170.6 kB / 8.513 MB, free: 1.848 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.41/1.41, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.0009457/0.000946, allocations: 96.72 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.2015/0.2015, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2533/0.4549, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.5873, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3114/0.8988, allocations: 88.72 MB / 0.5808 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.8991, allocations: 71.64 kB / 0.5809 GB, free: 7.922 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.02662/0.9258, allocations: 9.538 MB / 0.5902 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.9258, allocations: 11.94 kB / 0.5902 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.926, allocations: 59.25 kB / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.9267, allocations: 463.1 kB / 0.5907 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.9267, allocations: 4 kB / 0.5907 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.9267, allocations: 8 kB / 0.5907 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001877/0.9269, allocations: 59.92 kB / 0.5908 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.9271, allocations: 113.5 kB / 0.5909 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.9271, allocations: 8 kB / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.9272, allocations: 0 / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9272, allocations: 0 / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.9283, allocations: 0.704 MB / 0.5916 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.9285, allocations: 101.2 kB / 0.5917 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.559e-05/0.9286, allocations: 41.84 kB / 0.5917 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.9286, allocations: 3.984 kB / 0.5917 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.9286, allocations: 38.56 kB / 0.5918 GB, free: 12.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.9287, allocations: 0 / 0.5918 GB, free: 12.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001529/0.9302, allocations: 0.5253 MB / 0.5923 GB, free: 12.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.9302, allocations: 81.11 kB / 0.5923 GB, free: 11.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.9312, allocations: 0.7561 MB / 0.5931 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.9312, allocations: 25.7 kB / 0.5931 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.9313, allocations: 152.3 kB / 0.5933 GB, free: 11.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.9314, allocations: 63.09 kB / 0.5933 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.9314, allocations: 4 kB / 0.5933 GB, free: 10.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9315, allocations: 370.7 kB / 0.5937 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.9317, allocations: 55.98 kB / 0.5937 GB, free: 10.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.9318, allocations: 69.72 kB / 0.5938 GB, free: 10.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.9319, allocations: 59.91 kB / 0.5938 GB, free: 10.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.9319, allocations: 0 / 0.5938 GB, free: 10.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003834/0.9323, allocations: 212.9 kB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.9323, allocations: 11.98 kB / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9323, allocations: 4 kB / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.9323, allocations: 0 / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.9327, allocations: 71.89 kB / 0.5941 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9327, allocations: 0 / 0.5941 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.9329, allocations: 36.16 kB / 0.5942 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.933, allocations: 8 kB / 0.5942 GB, free: 10.05 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 8.45e-05/0.9331, allocations: 101 kB / 0.5943 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.9332, allocations: 63.19 kB / 0.5943 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000532/0.9337, allocations: 286.1 kB / 0.5946 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.9337, allocations: 0 / 0.5946 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9338, allocations: 4 kB / 0.5946 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9338, allocations: 0 / 0.5946 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.9349, allocations: 0.8493 MB / 0.5954 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9349, allocations: 0 / 0.5954 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.9352, allocations: 71.88 kB / 0.5955 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.9352, allocations: 4 kB / 0.5955 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.9353, allocations: 4 kB / 0.5955 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.9353, allocations: 0 / 0.5955 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9353, allocations: 4 kB / 0.5955 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000428/0.9357, allocations: 410.5 kB / 0.5959 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000539/0.9363, allocations: 0.7937 MB / 0.5967 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.9365, allocations: 180.2 kB / 0.5969 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.9365, allocations: 4 kB / 0.5969 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.9369, allocations: 35.97 kB / 0.5969 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.9369, allocations: 19.97 kB / 0.5969 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.937, allocations: 8 kB / 0.5969 GB, free: 7.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006475/0.9376, allocations: 0.5926 MB / 0.5975 GB, free: 6.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001022/0.9386, allocations: 79.84 kB / 0.5976 GB, free: 6.445 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.0007032/0.9393, allocations: 304.5 kB / 0.5979 GB, free: 6.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.9397, allocations: 144.1 kB / 0.598 GB, free: 6.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.9397, allocations: 4 kB / 0.598 GB, free: 6.074 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.9398, allocations: 92.05 kB / 0.5981 GB, free: 5.984 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.9403, allocations: 63.66 kB / 0.5982 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.9419, allocations: 0.7295 MB / 0.5989 GB, free: 5.152 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/0.9426, allocations: 0.9298 MB / 0.5998 GB, free: 4.203 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.9426, allocations: 0 / 0.5998 GB, free: 4.203 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1)