Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",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.001802/0.001802, allocations: 203.6 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 91.73 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 45.15 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2878/0.4922, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.6121, allocations: 63.24 MB / 0.5039 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/1.014, allocations: 91.45 MB / 0.5932 GB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/1.014, allocations: 73.45 kB / 0.5932 GB, free: 11.41 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.02881/1.043, allocations: 10.92 MB / 0.6039 GB, free: 2.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/1.043, allocations: 8 kB / 0.6039 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/1.043, allocations: 43.44 kB / 0.604 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000599/1.044, allocations: 371.9 kB / 0.6043 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/1.044, allocations: 4 kB / 0.6043 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/1.044, allocations: 7.984 kB / 0.6043 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001316/1.044, allocations: 56.81 kB / 0.6044 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/1.044, allocations: 93.25 kB / 0.6045 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.044, allocations: 3.312 kB / 0.6045 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.044, allocations: 0 / 0.6045 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.044, allocations: 4 kB / 0.6045 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/1.045, allocations: 491.5 kB / 0.6049 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/1.045, allocations: 71.56 kB / 0.605 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/1.045, allocations: 25.95 kB / 0.605 GB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/1.045, allocations: 6.938 kB / 0.605 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/1.045, allocations: 34.5 kB / 0.6051 GB, free: 1.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/1.045, allocations: 0 / 0.6051 GB, free: 1.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007162/1.046, allocations: 315.1 kB / 0.6054 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/1.046, allocations: 55.41 kB / 0.6054 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/1.046, allocations: 0.4956 MB / 0.6059 GB, free: 392 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/1.046, allocations: 25.7 kB / 0.6059 GB, free: 360 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/1.046, allocations: 141.5 kB / 0.6061 GB, free: 228 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/1.047, allocations: 58.36 kB / 0.6061 GB, free: 176 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.047, allocations: 0 / 0.6061 GB, free: 176 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/1.047, allocations: 355.9 kB / 0.6065 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/1.047, allocations: 33.94 kB / 0.6065 GB, free: 15.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/1.047, allocations: 42.3 kB / 0.6065 GB, free: 15.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.746e-05/1.047, allocations: 52.27 kB / 0.6066 GB, free: 15.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/1.047, allocations: 0 / 0.6066 GB, free: 15.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002511/1.047, allocations: 161.6 kB / 0.6067 GB, free: 15.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.047, allocations: 8 kB / 0.6067 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.047, allocations: 3.938 kB / 0.6068 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.047, allocations: 0 / 0.6068 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/1.047, allocations: 35.98 kB / 0.6068 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.048, allocations: 7.875 kB / 0.6068 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/1.048, allocations: 15.89 kB / 0.6068 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/1.048, allocations: 7.688 kB / 0.6068 GB, free: 15.54 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 (17): * Single equations (assignments): 17 * 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 7.705e-05/1.048, allocations: 105 kB / 0.6069 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/1.048, allocations: 39.44 kB / 0.607 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/1.048, allocations: 219.5 kB / 0.6072 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.048, allocations: 0 / 0.6072 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.048, allocations: 0 / 0.6072 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.048, allocations: 3.938 kB / 0.6072 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/1.049, allocations: 0.6434 MB / 0.6078 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.049, allocations: 3.938 kB / 0.6078 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/1.049, allocations: 35.61 kB / 0.6078 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/1.049, allocations: 0 / 0.6078 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.049, allocations: 4 kB / 0.6078 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.049, allocations: 0 / 0.6078 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.049, allocations: 0 / 0.6078 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003075/1.05, allocations: 276.5 kB / 0.6081 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004023/1.05, allocations: 0.6466 MB / 0.6087 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/1.05, allocations: 147.4 kB / 0.6089 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/1.05, allocations: 3.984 kB / 0.6089 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/1.05, allocations: 8 kB / 0.6089 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/1.051, allocations: 11.98 kB / 0.6089 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/1.051, allocations: 7.812 kB / 0.6089 GB, free: 13.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005232/1.051, allocations: 400.3 kB / 0.6093 GB, free: 13.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001521/1.053, allocations: 80.95 kB / 0.6094 GB, free: 13.17 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 (17): * Single equations (assignments): 17 * 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.001362/1.054, allocations: 0.4891 MB / 0.6098 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/1.054, allocations: 108.4 kB / 0.6099 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.054, allocations: 0 / 0.6099 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-05/1.054, allocations: 53.69 kB / 0.61 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/1.055, allocations: 71.89 kB / 0.6101 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/1.056, allocations: 0.5317 MB / 0.6106 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/1.057, allocations: 0.8631 MB / 0.6114 GB, free: 11.28 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/1.057, allocations: 0 / 0.6114 GB, free: 11.28 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat does not exist to compare? outputFormat=mat