Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",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 trunk/package.mo): time 0.001092/0.001092, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 225.5 MB / 234.4 MB, free: 3.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 95.52 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1885/0.1885, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2908/0.4793, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.6191, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.9968, allocations: 89.72 MB / 0.5915 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.9971, allocations: 70.89 kB / 0.5916 GB, free: 13.03 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.02891/1.026, allocations: 10.87 MB / 0.6022 GB, free: 3.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.026, allocations: 8 kB / 0.6022 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/1.026, allocations: 63.16 kB / 0.6022 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/1.027, allocations: 0.5522 MB / 0.6028 GB, free: 3.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/1.027, allocations: 4 kB / 0.6028 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/1.027, allocations: 11.5 kB / 0.6028 GB, free: 3.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001507/1.028, allocations: 54 kB / 0.6028 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/1.028, allocations: 111.5 kB / 0.6029 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/1.028, allocations: 0 / 0.6029 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/1.028, allocations: 0 / 0.6029 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/1.028, allocations: 11.89 kB / 0.603 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/1.029, allocations: 0.7737 MB / 0.6037 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/1.029, allocations: 98.97 kB / 0.6038 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.029e-05/1.029, allocations: 40.62 kB / 0.6038 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/1.029, allocations: 4 kB / 0.6039 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/1.029, allocations: 41.14 kB / 0.6039 GB, free: 2.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/1.029, allocations: 0 / 0.6039 GB, free: 2.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.002114/1.032, allocations: 0.5708 MB / 0.6044 GB, free: 1.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.032, allocations: 81.11 kB / 0.6045 GB, free: 1.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/1.034, allocations: 0.9388 MB / 0.6054 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/1.034, allocations: 25.7 kB / 0.6055 GB, free: 0.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/1.034, allocations: 157.1 kB / 0.6056 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/1.034, allocations: 58.23 kB / 0.6057 GB, free: 492 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/1.034, allocations: 4 kB / 0.6057 GB, free: 488 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/1.034, allocations: 313.6 kB / 0.606 GB, free: 172 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/1.034, allocations: 42.88 kB / 0.606 GB, free: 148 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/1.035, allocations: 68.58 kB / 0.6061 GB, free: 96 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/1.035, allocations: 41.3 kB / 0.6061 GB, free: 72 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.035, allocations: 0 / 0.6061 GB, free: 72 kB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006336/1.035, allocations: 210 kB / 0.6063 GB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.035, allocations: 7.125 kB / 0.6063 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.035, allocations: 8 kB / 0.6063 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.036, allocations: 0 / 0.6063 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/1.036, allocations: 91.12 kB / 0.6064 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.036, allocations: 224 / 0.6064 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/1.036, allocations: 63.94 kB / 0.6065 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/1.036, allocations: 8.094 kB / 0.6065 GB, free: 15.72 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 (18): * Single equations (assignments): 18 * 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 9.31e-05/1.037, allocations: 112.8 kB / 0.6066 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.037, allocations: 59.44 kB / 0.6067 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/1.037, allocations: 271.8 kB / 0.6069 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.037, allocations: 0 / 0.6069 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.037, allocations: 4 kB / 0.6069 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.037, allocations: 0 / 0.6069 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/1.038, allocations: 0.8647 MB / 0.6078 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/1.038, allocations: 4 kB / 0.6078 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/1.039, allocations: 88.12 kB / 0.6079 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.039, allocations: 4 kB / 0.6079 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/1.039, allocations: 3.906 kB / 0.6079 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/1.039, allocations: 8 kB / 0.6079 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.039, allocations: 4 kB / 0.6079 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004683/1.039, allocations: 391.2 kB / 0.6082 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005367/1.04, allocations: 0.7722 MB / 0.609 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/1.04, allocations: 205.8 kB / 0.6092 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/1.04, allocations: 0 / 0.6092 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/1.041, allocations: 59.95 kB / 0.6093 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/1.041, allocations: 19.22 kB / 0.6093 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/1.041, allocations: 7.984 kB / 0.6093 GB, free: 13.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0008833/1.042, allocations: 0.7348 MB / 0.61 GB, free: 12.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001001/1.043, allocations: 87.41 kB / 0.6101 GB, free: 12.41 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 (18): * Single equations (assignments): 18 * 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.0006246/1.043, allocations: 294.1 kB / 0.6104 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002684/1.044, allocations: 135.6 kB / 0.6105 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.044, allocations: 0 / 0.6105 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/1.044, allocations: 69.56 kB / 0.6106 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/1.044, allocations: 76.78 kB / 0.6106 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/1.046, allocations: 0.8474 MB / 0.6115 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007719/1.047, allocations: 0.9496 MB / 0.6124 GB, free: 10.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/1.047, allocations: 4 kB / 0.6124 GB, free: 10.23 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)