Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001605/0.001605, allocations: 181.9 kB / 8.523 MB, free: 1.828 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.221/1.221, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.0009962/0.0009963, allocations: 98.66 kB / 281.2 MB, free: 5.453 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.1805/0.1805, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2524/0.433, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.5649, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.909, allocations: 88.15 MB / 0.5803 GB, free: 8.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.9092, allocations: 68.62 kB / 0.5803 GB, free: 8.527 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0183/0.9276, allocations: 8.028 MB / 0.5882 GB, free: 468 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.9276, allocations: 11.94 kB / 0.5882 GB, free: 456 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.496e-05/0.9277, allocations: 43.42 kB / 0.5882 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.9282, allocations: 331.3 kB / 0.5885 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.9282, allocations: 0 / 0.5885 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.9282, allocations: 4 kB / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.12e-05/0.9283, allocations: 16 kB / 0.5886 GB, free: 20 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.9284, allocations: 49.73 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.9284, allocations: 0 / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.9284, allocations: 3.906 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.9284, allocations: 7.922 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.929, allocations: 429.1 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.9292, allocations: 37.7 kB / 0.5891 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.9292, allocations: 12.86 kB / 0.5891 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.9292, allocations: 0 / 0.5891 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.9293, allocations: 31.41 kB / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.9293, allocations: 0 / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004478/0.9297, allocations: 196.1 kB / 0.5893 GB, free: 15.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.9298, allocations: 55.41 kB / 0.5893 GB, free: 15.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.9309, allocations: 0.7511 MB / 0.5901 GB, free: 14.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.9309, allocations: 25.7 kB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.931, allocations: 136 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.931, allocations: 15.81 kB / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.931, allocations: 0 / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9312, allocations: 358.7 kB / 0.5906 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.9312, allocations: 19.98 kB / 0.5906 GB, free: 13.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.9312, allocations: 12 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.9313, allocations: 19.91 kB / 0.5906 GB, free: 13.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.9313, allocations: 0 / 0.5906 GB, free: 13.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001482/0.9314, allocations: 101.3 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.9315, allocations: 11.98 kB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.9315, allocations: 0 / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9315, allocations: 3.906 kB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.9316, allocations: 16 kB / 0.5908 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.9316, allocations: 0 / 0.5908 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.9317, allocations: 7.984 kB / 0.5908 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.9317, allocations: 4 kB / 0.5908 GB, free: 13.63 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 (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 5.999e-05/0.9317, allocations: 101 kB / 0.5909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.9318, allocations: 43.44 kB / 0.5909 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.9321, allocations: 129.1 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9321, allocations: 0 / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9321, allocations: 0 / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.9321, allocations: 3.984 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.9328, allocations: 0.5418 MB / 0.5916 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.9328, allocations: 0 / 0.5916 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.9329, allocations: 15.98 kB / 0.5916 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.9329, allocations: 11.94 kB / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.9329, allocations: 0 / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.9329, allocations: 0 / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9329, allocations: 3.938 kB / 0.5916 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001919/0.9331, allocations: 202.9 kB / 0.5918 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002886/0.9334, allocations: 0.5739 MB / 0.5923 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.9336, allocations: 164.5 kB / 0.5925 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.9337, allocations: 0 / 0.5925 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.9338, allocations: 11.98 kB / 0.5925 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.9339, allocations: 0 / 0.5925 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.9339, allocations: 0 / 0.5925 GB, free: 11.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006359/0.9345, allocations: 0.6082 MB / 0.5931 GB, free: 11.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009019/0.9354, allocations: 63.94 kB / 0.5932 GB, free: 11.05 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 (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.0006148/0.936, allocations: 303.7 kB / 0.5935 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.817e-05/0.9362, allocations: 31.98 kB / 0.5935 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.9362, allocations: 0 / 0.5935 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.9362, allocations: 19.94 kB / 0.5935 GB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.9365, allocations: 26.77 kB / 0.5935 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.9376, allocations: 0.7035 MB / 0.5942 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/0.9381, allocations: 0.8567 MB / 0.5951 GB, free: 9.133 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9381, allocations: 0 / 0.5951 GB, free: 9.133 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1)