Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001032/0.001032, allocations: 190.7 kB / 8.534 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.118/1.118, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008257/0.0008257, allocations: 95.11 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1639/0.1639, allocations: 45.15 MB / 383.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1934/0.3573, allocations: 69.37 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08338/0.4407, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2565/0.6973, allocations: 89.95 MB / 0.5917 GB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.6975, allocations: 70.28 kB / 0.5918 GB, free: 12.89 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.01819/0.7158, allocations: 7.439 MB / 0.599 GB, free: 6.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.7158, allocations: 12 kB / 0.599 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.7159, allocations: 39.44 kB / 0.5991 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.7164, allocations: 385.2 kB / 0.5995 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.7164, allocations: 4 kB / 0.5995 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.7165, allocations: 8 kB / 0.5995 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000165/0.7166, allocations: 80.91 kB / 0.5995 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.7168, allocations: 133.5 kB / 0.5997 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.7169, allocations: 3.906 kB / 0.5997 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.7169, allocations: 0 / 0.5997 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.7169, allocations: 4 kB / 0.5997 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009636/0.7179, allocations: 0.6577 MB / 0.6003 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.718, allocations: 107.5 kB / 0.6004 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.7181, allocations: 43.34 kB / 0.6005 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.7182, allocations: 4 kB / 0.6005 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.7182, allocations: 34.5 kB / 0.6005 GB, free: 5.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.7182, allocations: 0 / 0.6005 GB, free: 5.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.001327/0.7195, allocations: 0.5563 MB / 0.601 GB, free: 4.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.7196, allocations: 77.11 kB / 0.6011 GB, free: 4.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.7201, allocations: 0.5169 MB / 0.6016 GB, free: 4.055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.7202, allocations: 25.7 kB / 0.6016 GB, free: 4.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.7202, allocations: 141.7 kB / 0.6018 GB, free: 3.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.7203, allocations: 58.05 kB / 0.6018 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.7203, allocations: 4 kB / 0.6018 GB, free: 3.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7205, allocations: 354.2 kB / 0.6022 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.7206, allocations: 65.17 kB / 0.6022 GB, free: 3.461 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.7207, allocations: 84.53 kB / 0.6023 GB, free: 3.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.7208, allocations: 71.39 kB / 0.6024 GB, free: 3.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.7209, allocations: 0 / 0.6024 GB, free: 3.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004907/0.7214, allocations: 225.5 kB / 0.6026 GB, free: 3.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7214, allocations: 4 kB / 0.6026 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7214, allocations: 4 kB / 0.6026 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7214, allocations: 0 / 0.6026 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.7219, allocations: 83.94 kB / 0.6027 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.7219, allocations: 4 kB / 0.6027 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.7222, allocations: 59.94 kB / 0.6028 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.7222, allocations: 7.281 kB / 0.6028 GB, free: 3.016 MB / 394.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 8.061e-05/0.7223, allocations: 108.9 kB / 0.6029 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.7224, allocations: 47.36 kB / 0.6029 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.7229, allocations: 289.8 kB / 0.6032 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7229, allocations: 0 / 0.6032 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7229, allocations: 3.984 kB / 0.6032 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7229, allocations: 4 kB / 0.6032 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009252/0.7239, allocations: 0.7708 MB / 0.6039 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7239, allocations: 4 kB / 0.6039 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.7242, allocations: 87.92 kB / 0.604 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.7242, allocations: 0 / 0.604 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.7243, allocations: 4 kB / 0.604 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.7243, allocations: 3.938 kB / 0.604 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7243, allocations: 4 kB / 0.604 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003866/0.7247, allocations: 409.3 kB / 0.6044 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005098/0.7252, allocations: 0.7826 MB / 0.6052 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.7253, allocations: 143.1 kB / 0.6053 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.7254, allocations: 4 kB / 0.6053 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.7257, allocations: 55.95 kB / 0.6054 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.7258, allocations: 19.22 kB / 0.6054 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.7258, allocations: 4 kB / 0.6054 GB, free: 484 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003897/0.7262, allocations: 420.8 kB / 0.6058 GB, free: 156 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009528/0.7272, allocations: 67.48 kB / 0.6059 GB, free: 92 kB / 394.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.0005957/0.7278, allocations: 297.9 kB / 0.6062 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.7281, allocations: 167.1 kB / 0.6063 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7281, allocations: 0 / 0.6063 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.7283, allocations: 99.84 kB / 0.6064 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.7286, allocations: 39.38 kB / 0.6065 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009882/0.7296, allocations: 0.5679 MB / 0.607 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.7301, allocations: 0.8673 MB / 0.6079 GB, free: 14.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7301, allocations: 3.938 kB / 0.6079 GB, free: 14.22 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)