Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",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.001069/0.001069, allocations: 200.2 kB / 8.535 MB, free: 464 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.077/1.077, allocations: 225.5 MB / 234.4 MB, free: 9.539 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008596/0.0008597, allocations: 94.72 kB / 286.3 MB, free: 5.926 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1549/0.1549, allocations: 45.15 MB / 383.3 MB, free: 4.965 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1548/0.3098, allocations: 69.37 MB / 452.7 MB, free: 48.22 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08147/0.3913, allocations: 63.25 MB / 0.5039 GB, free: 0.9062 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.6251, allocations: 90.86 MB / 0.5926 GB, free: 12.92 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.6253, allocations: 79.94 kB / 0.5927 GB, free: 12.84 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01344/0.6388, allocations: 5.258 MB / 0.5978 GB, free: 7.535 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.6388, allocations: 12 kB / 0.5978 GB, free: 7.523 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.6389, allocations: 19.72 kB / 0.5978 GB, free: 7.504 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.6392, allocations: 231.5 kB / 0.5981 GB, free: 7.234 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.6392, allocations: 8 kB / 0.5981 GB, free: 7.227 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.6392, allocations: 4 kB / 0.5981 GB, free: 7.223 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.765e-05/0.6393, allocations: 31.94 kB / 0.5981 GB, free: 7.191 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.6395, allocations: 92.23 kB / 0.5982 GB, free: 7.086 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6395, allocations: 0 / 0.5982 GB, free: 7.086 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.6395, allocations: 8 kB / 0.5982 GB, free: 7.078 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6395, allocations: 0 / 0.5982 GB, free: 7.078 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.64, allocations: 0.4936 MB / 0.5987 GB, free: 6.539 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.6402, allocations: 74.69 kB / 0.5988 GB, free: 6.457 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.6403, allocations: 36.78 kB / 0.5988 GB, free: 6.418 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.6403, allocations: 0 / 0.5988 GB, free: 6.418 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.012e-05/0.6404, allocations: 68.06 kB / 0.5989 GB, free: 6.34 MB / 418.8 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.6404, allocations: 0 / 0.5989 GB, free: 6.34 MB / 418.8 MB Notification: Performance of matching and sorting (n=9): time 0.0001961/0.6406, allocations: 101.4 kB / 0.599 GB, free: 6.234 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.6406, allocations: 59.41 kB / 0.599 GB, free: 6.164 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.6408, allocations: 181.3 kB / 0.5992 GB, free: 5.977 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.6408, allocations: 25.7 kB / 0.5992 GB, free: 5.945 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.6409, allocations: 99.97 kB / 0.5993 GB, free: 5.844 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.6409, allocations: 31.55 kB / 0.5993 GB, free: 5.812 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.6409, allocations: 0 / 0.5993 GB, free: 5.812 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.641, allocations: 326.8 kB / 0.5996 GB, free: 5.484 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.129e-05/0.6411, allocations: 24 kB / 0.5997 GB, free: 5.461 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-05/0.6411, allocations: 60.28 kB / 0.5997 GB, free: 5.387 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.6412, allocations: 27.92 kB / 0.5998 GB, free: 5.359 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6412, allocations: 0 / 0.5998 GB, free: 5.359 MB / 418.8 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001742/0.6414, allocations: 105.5 kB / 0.5999 GB, free: 5.25 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.6414, allocations: 8.031 kB / 0.5999 GB, free: 5.242 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.6414, allocations: 15.91 kB / 0.5999 GB, free: 5.227 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.6414, allocations: 3.984 kB / 0.5999 GB, free: 5.223 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.6415, allocations: 27.94 kB / 0.5999 GB, free: 5.195 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6416, allocations: 3.984 kB / 0.5999 GB, free: 5.191 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.6416, allocations: 11.91 kB / 0.5999 GB, free: 5.18 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.6416, allocations: 4 kB / 0.5999 GB, free: 5.176 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.316e-05/0.6417, allocations: 116.4 kB / 0.6 GB, free: 5.059 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.6417, allocations: 11.81 kB / 0.6 GB, free: 5.047 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.6419, allocations: 107.2 kB / 0.6002 GB, free: 4.938 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.642, allocations: 4 kB / 0.6002 GB, free: 4.934 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.642, allocations: 3.906 kB / 0.6002 GB, free: 4.93 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.642, allocations: 3.984 kB / 0.6002 GB, free: 4.926 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.6421, allocations: 194 kB / 0.6003 GB, free: 4.699 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6421, allocations: 0 / 0.6003 GB, free: 4.699 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.6422, allocations: 16 kB / 0.6004 GB, free: 4.684 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6422, allocations: 0 / 0.6004 GB, free: 4.684 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.6422, allocations: 7.891 kB / 0.6004 GB, free: 4.676 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6423, allocations: 4 kB / 0.6004 GB, free: 4.672 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6423, allocations: 0 / 0.6004 GB, free: 4.672 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002182/0.6425, allocations: 152.9 kB / 0.6005 GB, free: 4.504 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003441/0.6428, allocations: 0.5687 MB / 0.6011 GB, free: 3.914 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.6429, allocations: 100.9 kB / 0.6012 GB, free: 3.797 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.6429, allocations: 0 / 0.6012 GB, free: 3.797 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.643, allocations: 4 kB / 0.6012 GB, free: 3.793 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.6431, allocations: 7.984 kB / 0.6012 GB, free: 3.785 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.6431, allocations: 8 kB / 0.6012 GB, free: 3.777 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0001017/0.6432, allocations: 135.3 kB / 0.6013 GB, free: 3.645 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.0007561/0.6439, allocations: 44.06 kB / 0.6014 GB, free: 3.602 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0005425/0.6445, allocations: 321.2 kB / 0.6017 GB, free: 3.352 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.6446, allocations: 63.94 kB / 0.6017 GB, free: 3.289 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.6446, allocations: 0 / 0.6017 GB, free: 3.289 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.6447, allocations: 31.98 kB / 0.6018 GB, free: 3.258 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.6449, allocations: 39.45 kB / 0.6018 GB, free: 3.219 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.6453, allocations: 187.7 kB / 0.602 GB, free: 3.012 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.6456, allocations: 0.7391 MB / 0.6027 GB, free: 2.246 MB / 418.8 MB Notification: Performance of SimCode: time 2.41e-07/0.6456, allocations: 0 / 0.6027 GB, free: 2.246 MB / 418.8 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat