Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",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.001007/0.001007, allocations: 203 kB / 8.542 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.096/1.096, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008276/0.0008276, allocations: 92.91 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.152/0.152, allocations: 45.15 MB / 383.4 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1806/0.3327, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0796/0.4123, allocations: 63.25 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.654, allocations: 89.95 MB / 0.5917 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001731/0.6542, allocations: 75.95 kB / 0.5918 GB, free: 13.14 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.0167/0.6709, allocations: 6.828 MB / 0.5985 GB, free: 7.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.671, allocations: 12 kB / 0.5985 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.671, allocations: 11.81 kB / 0.5985 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.6713, allocations: 238.2 kB / 0.5987 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.6713, allocations: 0 / 0.5987 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.6713, allocations: 4 kB / 0.5987 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.863e-05/0.6714, allocations: 11.94 kB / 0.5987 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.489e-05/0.6715, allocations: 52.92 kB / 0.5988 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.6715, allocations: 3.938 kB / 0.5988 GB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.6715, allocations: 4 kB / 0.5988 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.6715, allocations: 0 / 0.5988 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.6718, allocations: 291.4 kB / 0.5991 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.539e-05/0.6719, allocations: 52.06 kB / 0.5991 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.672, allocations: 16.23 kB / 0.5991 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.672, allocations: 4 kB / 0.5991 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.166e-05/0.6721, allocations: 73.55 kB / 0.5992 GB, free: 6.609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.6721, allocations: 0 / 0.5992 GB, free: 6.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003703/0.6725, allocations: 135.8 kB / 0.5993 GB, free: 6.492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.6725, allocations: 55.31 kB / 0.5994 GB, free: 6.426 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.6728, allocations: 239.9 kB / 0.5996 GB, free: 6.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.6728, allocations: 25.7 kB / 0.5996 GB, free: 6.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.6728, allocations: 97.69 kB / 0.5997 GB, free: 6.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.6729, allocations: 23.27 kB / 0.5998 GB, free: 6.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.6729, allocations: 4 kB / 0.5998 GB, free: 6.074 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.673, allocations: 325.7 kB / 0.6001 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.673, allocations: 14.81 kB / 0.6001 GB, free: 5.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.6731, allocations: 41.02 kB / 0.6001 GB, free: 5.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.6731, allocations: 14.69 kB / 0.6001 GB, free: 5.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.6731, allocations: 0 / 0.6001 GB, free: 5.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001407/0.6733, allocations: 95.05 kB / 0.6002 GB, free: 5.613 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.6733, allocations: 12.03 kB / 0.6002 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.6733, allocations: 0 / 0.6002 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.6733, allocations: 0 / 0.6002 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.6734, allocations: 15.94 kB / 0.6003 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6734, allocations: 7.906 kB / 0.6003 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.6735, allocations: 3.984 kB / 0.6003 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.6735, allocations: 7.625 kB / 0.6003 GB, free: 5.57 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 6.632e-05/0.6735, allocations: 105 kB / 0.6004 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.6736, allocations: 15.75 kB / 0.6004 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.6738, allocations: 118.3 kB / 0.6005 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.6738, allocations: 0 / 0.6005 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6738, allocations: 192 / 0.6005 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6738, allocations: 11.91 kB / 0.6005 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.6742, allocations: 393.8 kB / 0.6009 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6742, allocations: 4 kB / 0.6009 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.6743, allocations: 15.89 kB / 0.6009 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6743, allocations: 4.031 kB / 0.6009 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.6743, allocations: 0 / 0.6009 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6743, allocations: 4 kB / 0.6009 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6743, allocations: 0 / 0.6009 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001847/0.6745, allocations: 206.2 kB / 0.6011 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003199/0.6748, allocations: 0.5882 MB / 0.6017 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.6749, allocations: 100.7 kB / 0.6018 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.6749, allocations: 4 kB / 0.6018 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.675, allocations: 3.906 kB / 0.6018 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.6751, allocations: 11.92 kB / 0.6018 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.6751, allocations: 8 kB / 0.6018 GB, free: 3.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001587/0.6752, allocations: 195.8 kB / 0.602 GB, free: 3.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008467/0.6761, allocations: 39.73 kB / 0.602 GB, free: 3.77 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.000638/0.6767, allocations: 353.6 kB / 0.6024 GB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.6769, allocations: 51.19 kB / 0.6024 GB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6769, allocations: 0 / 0.6024 GB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.6769, allocations: 30.98 kB / 0.6024 GB, free: 3.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.6772, allocations: 19.42 kB / 0.6025 GB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.6776, allocations: 227.4 kB / 0.6027 GB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.6779, allocations: 0.7449 MB / 0.6034 GB, free: 2.434 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6779, allocations: 0 / 0.6034 GB, free: 2.434 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat