Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19",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.001938/0.001937, 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.524/1.524, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 90.75 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2446/0.2446, allocations: 45.15 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2956/0.5403, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.6848, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/1.097, allocations: 88.93 MB / 0.5907 GB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.097, allocations: 75.56 kB / 0.5908 GB, free: 13.82 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.02838/1.126, allocations: 11.94 MB / 0.6024 GB, free: 4.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.126, allocations: 11.98 kB / 0.6025 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/1.126, allocations: 11.81 kB / 0.6025 GB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/1.126, allocations: 194.2 kB / 0.6026 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/1.126, allocations: 0 / 0.6026 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/1.126, allocations: 0 / 0.6026 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.357e-05/1.126, allocations: 11.5 kB / 0.6027 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/1.127, allocations: 57.84 kB / 0.6027 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.127, allocations: 0 / 0.6027 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.127, allocations: 4 kB / 0.6027 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/1.127, allocations: 0 / 0.6027 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/1.127, allocations: 255.4 kB / 0.603 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/1.127, allocations: 36.89 kB / 0.603 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/1.127, allocations: 8.922 kB / 0.603 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/1.127, allocations: 4 kB / 0.603 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.127, allocations: 30.56 kB / 0.603 GB, free: 3.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/1.127, allocations: 0 / 0.603 GB, free: 3.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004007/1.128, allocations: 102.2 kB / 0.6031 GB, free: 3.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.128, allocations: 81.11 kB / 0.6032 GB, free: 3.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.128, allocations: 133.3 kB / 0.6033 GB, free: 3.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/1.128, allocations: 25.7 kB / 0.6034 GB, free: 3.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/1.128, allocations: 94.75 kB / 0.6035 GB, free: 3.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/1.128, allocations: 19 kB / 0.6035 GB, free: 3.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/1.128, allocations: 0 / 0.6035 GB, free: 3.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/1.128, allocations: 318.1 kB / 0.6038 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/1.128, allocations: 7.5 kB / 0.6038 GB, free: 2.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/1.128, allocations: 29.53 kB / 0.6038 GB, free: 2.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/1.128, allocations: 15.73 kB / 0.6038 GB, free: 2.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.128, allocations: 4 kB / 0.6038 GB, free: 2.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001036/1.128, allocations: 56.3 kB / 0.6039 GB, free: 2.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.128, allocations: 8 kB / 0.6039 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.128, allocations: 0 / 0.6039 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/1.128, allocations: 3.906 kB / 0.6039 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/1.129, allocations: 20.02 kB / 0.6039 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.129, allocations: 0 / 0.6039 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/1.129, allocations: 7.984 kB / 0.6039 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/1.129, allocations: 4 kB / 0.6039 GB, free: 2.844 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 7.445e-05/1.129, allocations: 104.8 kB / 0.604 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/1.129, allocations: 7.906 kB / 0.604 GB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/1.129, allocations: 74.61 kB / 0.6041 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.129, allocations: 0 / 0.6041 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.129, allocations: 3.906 kB / 0.6041 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/1.129, allocations: 0 / 0.6041 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/1.129, allocations: 306.1 kB / 0.6044 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.129, allocations: 0 / 0.6044 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.026e-05/1.129, allocations: 15.98 kB / 0.6044 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.129, allocations: 0 / 0.6044 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/1.129, allocations: 7.906 kB / 0.6044 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.129, allocations: 4 kB / 0.6044 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.129, allocations: 320 / 0.6044 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001464/1.13, allocations: 161.2 kB / 0.6046 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002674/1.13, allocations: 0.5264 MB / 0.6051 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/1.13, allocations: 96.62 kB / 0.6052 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/1.13, allocations: 0 / 0.6052 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/1.13, allocations: 8 kB / 0.6052 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/1.13, allocations: 3.984 kB / 0.6052 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/1.13, allocations: 4.141 kB / 0.6052 GB, free: 1.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.941e-05/1.13, allocations: 111.6 kB / 0.6053 GB, free: 1.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009509/1.131, allocations: 54.69 kB / 0.6054 GB, free: 1.348 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.0008138/1.132, allocations: 395.8 kB / 0.6057 GB, free: 1.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/1.132, allocations: 26.19 kB / 0.6058 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.132, allocations: 0 / 0.6058 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/1.132, allocations: 19.69 kB / 0.6058 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/1.132, allocations: 15.89 kB / 0.6058 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/1.133, allocations: 106.7 kB / 0.6059 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/1.133, allocations: 0.7114 MB / 0.6066 GB, free: 136 kB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/1.133, allocations: 0 / 0.6066 GB, free: 136 kB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat does not exist to compare? outputFormat=mat