Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001127/0.001127, allocations: 174.8 kB / 8.518 MB, free: 1.832 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.347/1.347, allocations: 221.4 MB / 230.3 MB, free: 7.77 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.00101/0.00101, allocations: 91.3 kB / 281.2 MB, free: 5.523 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.1936/0.1936, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.233/0.4266, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.5399, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.8973, allocations: 87.93 MB / 0.5801 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.8977, allocations: 70.66 kB / 0.5801 GB, free: 8.73 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.01791/0.9156, allocations: 8.164 MB / 0.5881 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.9157, allocations: 11.94 kB / 0.5881 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.9157, allocations: 43.44 kB / 0.5881 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.9162, allocations: 323.3 kB / 0.5885 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.9162, allocations: 0 / 0.5885 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.9162, allocations: 3.938 kB / 0.5885 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.301e-05/0.9163, allocations: 23.98 kB / 0.5885 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.42e-05/0.9163, allocations: 41.69 kB / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.9164, allocations: 0 / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.9164, allocations: 0 / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.9164, allocations: 7.891 kB / 0.5885 GB, free: 24 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.9169, allocations: 426.2 kB / 0.5889 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.081e-05/0.917, allocations: 38.34 kB / 0.589 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.917, allocations: 20.84 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.917, allocations: 4 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.9171, allocations: 30.56 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.9171, allocations: 4 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001744/0.9172, allocations: 89.22 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.9173, allocations: 51.41 kB / 0.5892 GB, free: 15.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000981/0.9183, allocations: 0.7511 MB / 0.5899 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.9183, allocations: 29.64 kB / 0.5899 GB, free: 14.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.9184, allocations: 140.1 kB / 0.5901 GB, free: 14.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.9184, allocations: 7.844 kB / 0.5901 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.9184, allocations: 0 / 0.5901 GB, free: 14.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.9185, allocations: 358.8 kB / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.9185, allocations: 15.98 kB / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.9185, allocations: 11.94 kB / 0.5904 GB, free: 13.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.205e-05/0.9186, allocations: 8 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9186, allocations: 0 / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001138/0.9187, allocations: 89.12 kB / 0.5905 GB, free: 13.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.9187, allocations: 8 kB / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.9187, allocations: 0 / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.9187, allocations: 3.984 kB / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.9188, allocations: 12 kB / 0.5905 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.9188, allocations: 0 / 0.5905 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.9189, allocations: 15.89 kB / 0.5906 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.9189, allocations: 0 / 0.5906 GB, free: 13.83 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 (3): * Single equations (assignments): 3 * 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 4.963e-05/0.919, allocations: 101 kB / 0.5907 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.9191, allocations: 43.44 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.9192, allocations: 109 kB / 0.5908 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.9192, allocations: 8 kB / 0.5908 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.9192, allocations: 0 / 0.5908 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.9192, allocations: 0 / 0.5908 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.9195, allocations: 309.9 kB / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9195, allocations: 0 / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.9196, allocations: 11.98 kB / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.9196, allocations: 0 / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.9196, allocations: 7.938 kB / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9196, allocations: 4 kB / 0.5911 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9196, allocations: 0 / 0.5911 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001505/0.9198, allocations: 183 kB / 0.5913 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002361/0.92, allocations: 0.566 MB / 0.5919 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.9202, allocations: 168.5 kB / 0.592 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.9203, allocations: 4 kB / 0.592 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.9204, allocations: 4 kB / 0.592 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.9204, allocations: 7.984 kB / 0.592 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.9204, allocations: 0 / 0.592 GB, free: 12.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005652/0.921, allocations: 0.6082 MB / 0.5926 GB, free: 11.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008416/0.9218, allocations: 55.91 kB / 0.5927 GB, free: 11.55 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 (3): * Single equations (assignments): 3 * 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.0004727/0.9223, allocations: 270.4 kB / 0.5929 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.205e-05/0.9224, allocations: 21.09 kB / 0.593 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9224, allocations: 4 kB / 0.593 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.9224, allocations: 15.98 kB / 0.593 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.9227, allocations: 24.47 kB / 0.593 GB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.9237, allocations: 0.6991 MB / 0.5937 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.9241, allocations: 0.8407 MB / 0.5945 GB, free: 9.688 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9241, allocations: 0 / 0.5945 GB, free: 9.688 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1)