Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",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.00128/0.00128, allocations: 205.8 kB / 8.544 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 94.2 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2813/0.2813, allocations: 45.14 MB / 383.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3662/0.6475, allocations: 69.38 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.7976, allocations: 63.23 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3854/1.183, allocations: 88.59 MB / 0.5904 GB, free: 14.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/1.183, allocations: 72.97 kB / 0.5904 GB, free: 14.23 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.01297/1.196, allocations: 4.585 MB / 0.5949 GB, free: 10.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.196, allocations: 8 kB / 0.5949 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/1.196, allocations: 7.906 kB / 0.5949 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/1.197, allocations: 188.6 kB / 0.5951 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/1.197, allocations: 8 kB / 0.5951 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/1.197, allocations: 3.312 kB / 0.5951 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.04e-05/1.197, allocations: 15.36 kB / 0.5951 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/1.197, allocations: 40.86 kB / 0.5952 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.197, allocations: 3.938 kB / 0.5952 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/1.197, allocations: 0.8438 kB / 0.5952 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/1.197, allocations: 0 / 0.5952 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/1.197, allocations: 250.6 kB / 0.5954 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/1.198, allocations: 39.81 kB / 0.5955 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/1.198, allocations: 8.859 kB / 0.5955 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/1.198, allocations: 0 / 0.5955 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/1.198, allocations: 37.69 kB / 0.5955 GB, free: 9.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/1.198, allocations: 0 / 0.5955 GB, free: 9.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004781/1.198, allocations: 106.7 kB / 0.5956 GB, free: 9.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/1.198, allocations: 55.34 kB / 0.5957 GB, free: 9.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/1.198, allocations: 144.9 kB / 0.5958 GB, free: 9.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.198, allocations: 25.7 kB / 0.5958 GB, free: 9.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/1.198, allocations: 94.78 kB / 0.5959 GB, free: 9.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/1.199, allocations: 14.62 kB / 0.5959 GB, free: 9.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/1.199, allocations: 0 / 0.5959 GB, free: 9.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/1.199, allocations: 317.7 kB / 0.5962 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/1.199, allocations: 15.44 kB / 0.5962 GB, free: 8.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/1.199, allocations: 11.56 kB / 0.5963 GB, free: 8.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/1.199, allocations: 7.312 kB / 0.5963 GB, free: 8.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/1.199, allocations: 0 / 0.5963 GB, free: 8.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001161/1.199, allocations: 64.91 kB / 0.5963 GB, free: 8.863 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.199, allocations: 4 kB / 0.5963 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.199, allocations: 0 / 0.5963 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.199, allocations: 7.906 kB / 0.5963 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/1.199, allocations: 23.98 kB / 0.5964 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.199, allocations: 0 / 0.5964 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/1.199, allocations: 7.938 kB / 0.5964 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/1.199, allocations: 3.375 kB / 0.5964 GB, free: 8.82 MB / 394.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 8.33e-05/1.199, allocations: 105 kB / 0.5965 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/1.199, allocations: 7.906 kB / 0.5965 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/1.199, allocations: 80.52 kB / 0.5966 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.199, allocations: 0 / 0.5966 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.199, allocations: 0 / 0.5966 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.199, allocations: 0 / 0.5966 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/1.2, allocations: 302.3 kB / 0.5968 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.2, allocations: 3.906 kB / 0.5968 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.058e-05/1.2, allocations: 15.98 kB / 0.5969 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.2, allocations: 0 / 0.5969 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/1.2, allocations: 4 kB / 0.5969 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.2, allocations: 0 / 0.5969 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.2, allocations: 7.938 kB / 0.5969 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001769/1.2, allocations: 153.2 kB / 0.597 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003309/1.2, allocations: 0.5306 MB / 0.5975 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.201, allocations: 89 kB / 0.5976 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/1.201, allocations: 8.062 kB / 0.5976 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/1.201, allocations: 4 kB / 0.5976 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/1.201, allocations: 3.984 kB / 0.5976 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/1.201, allocations: 7.906 kB / 0.5976 GB, free: 7.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.914e-05/1.201, allocations: 119.8 kB / 0.5978 GB, free: 7.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008982/1.202, allocations: 15.5 kB / 0.5978 GB, free: 7.344 MB / 394.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.0007576/1.203, allocations: 315.9 kB / 0.5981 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/1.203, allocations: 26.19 kB / 0.5981 GB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.203, allocations: 0 / 0.5981 GB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/1.203, allocations: 19.69 kB / 0.5981 GB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.203, allocations: 7.984 kB / 0.5981 GB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/1.203, allocations: 128.9 kB / 0.5982 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/1.204, allocations: 0.7114 MB / 0.5989 GB, free: 6.184 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/1.204, allocations: 0 / 0.5989 GB, free: 6.184 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat