Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",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.001014/0.001014, allocations: 198.6 kB / 8.539 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.084/1.084, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008426/0.0008426, allocations: 95.3 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1537/0.1537, allocations: 45.15 MB / 383.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1823/0.336, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07904/0.4151, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.6526, allocations: 89.96 MB / 0.5917 GB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.6528, allocations: 76.02 kB / 0.5918 GB, free: 12.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.017/0.6698, allocations: 6.806 MB / 0.5984 GB, free: 7.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6699, allocations: 8 kB / 0.5984 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.6699, allocations: 15.81 kB / 0.5985 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.6702, allocations: 234.3 kB / 0.5987 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.6703, allocations: 4 kB / 0.5987 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.6703, allocations: 0 / 0.5987 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.608e-05/0.6704, allocations: 23.23 kB / 0.5987 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.075e-05/0.6704, allocations: 53.25 kB / 0.5988 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.6705, allocations: 0 / 0.5988 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6705, allocations: 0 / 0.5988 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.6705, allocations: 0 / 0.5988 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.6708, allocations: 289.8 kB / 0.599 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.6709, allocations: 48.64 kB / 0.5991 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.671, allocations: 24.22 kB / 0.5991 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.671, allocations: 0 / 0.5991 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.124e-05/0.6711, allocations: 68.56 kB / 0.5992 GB, free: 6.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.6711, allocations: 0 / 0.5992 GB, free: 6.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003775/0.6715, allocations: 141 kB / 0.5993 GB, free: 6.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.6715, allocations: 55.31 kB / 0.5994 GB, free: 6.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.6718, allocations: 238.4 kB / 0.5996 GB, free: 6.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.6718, allocations: 33.7 kB / 0.5996 GB, free: 5.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.6718, allocations: 91.62 kB / 0.5997 GB, free: 5.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.6719, allocations: 26.95 kB / 0.5997 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.6719, allocations: 0 / 0.5997 GB, free: 5.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.672, allocations: 326.2 kB / 0.6 GB, free: 5.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.439e-05/0.672, allocations: 22.67 kB / 0.6001 GB, free: 5.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.6721, allocations: 31.78 kB / 0.6001 GB, free: 5.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.6721, allocations: 26.92 kB / 0.6001 GB, free: 5.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.6721, allocations: 0 / 0.6001 GB, free: 5.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001449/0.6723, allocations: 98.8 kB / 0.6002 GB, free: 5.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.6723, allocations: 4 kB / 0.6002 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.6723, allocations: 0 / 0.6002 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.6723, allocations: 4 kB / 0.6002 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.6724, allocations: 15.98 kB / 0.6002 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.6724, allocations: 3.906 kB / 0.6002 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.6725, allocations: 4 kB / 0.6002 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.6725, allocations: 4.031 kB / 0.6002 GB, free: 5.371 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.372e-05/0.6725, allocations: 107.8 kB / 0.6003 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.6726, allocations: 18.44 kB / 0.6004 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.6728, allocations: 118.6 kB / 0.6005 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6728, allocations: 0 / 0.6005 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6728, allocations: 0 / 0.6005 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6728, allocations: 3.906 kB / 0.6005 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.6732, allocations: 398.5 kB / 0.6009 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6732, allocations: 0 / 0.6009 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.6733, allocations: 11.91 kB / 0.6009 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6733, allocations: 3.984 kB / 0.6009 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.6733, allocations: 7.438 kB / 0.6009 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6733, allocations: 0 / 0.6009 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6733, allocations: 3.938 kB / 0.6009 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000171/0.6735, allocations: 203.1 kB / 0.6011 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002401/0.6737, allocations: 0.584 MB / 0.6017 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.6738, allocations: 100.9 kB / 0.6017 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.6738, allocations: 7.875 kB / 0.6018 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.6739, allocations: 11.91 kB / 0.6018 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.674, allocations: 7.984 kB / 0.6018 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.674, allocations: 0 / 0.6018 GB, free: 3.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001456/0.6741, allocations: 195.9 kB / 0.602 GB, free: 3.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008533/0.675, allocations: 41.67 kB / 0.602 GB, free: 3.578 MB / 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006075/0.6756, allocations: 343.5 kB / 0.6023 GB, free: 3.316 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.6757, allocations: 57.36 kB / 0.6024 GB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.6757, allocations: 0 / 0.6024 GB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.6758, allocations: 27.38 kB / 0.6024 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.676, allocations: 22.42 kB / 0.6024 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.6764, allocations: 227.1 kB / 0.6026 GB, free: 3.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.6767, allocations: 0.7455 MB / 0.6034 GB, free: 2.238 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6768, allocations: 0 / 0.6034 GB, free: 2.238 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat