Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",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.0009508/0.0009508, allocations: 192.6 kB / 8.532 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.075/1.075, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008222/0.0008221, allocations: 87.12 kB / 286.3 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1552/0.1552, allocations: 45.13 MB / 383.3 MB, free: 428 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1754/0.3306, allocations: 69.38 MB / 452.7 MB, free: 75.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07608/0.4067, allocations: 63.24 MB / 0.5039 GB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.6441, allocations: 89.73 MB / 0.5915 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001661/0.6443, allocations: 75.83 kB / 0.5916 GB, free: 12.03 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01588/0.6602, allocations: 6.372 MB / 0.5978 GB, free: 6.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.6602, allocations: 12 kB / 0.5978 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.6602, allocations: 11.81 kB / 0.5978 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.6605, allocations: 228.3 kB / 0.598 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.6606, allocations: 3.984 kB / 0.598 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.6606, allocations: 4 kB / 0.598 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.82e-05/0.6606, allocations: 19.73 kB / 0.5981 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.036e-05/0.6607, allocations: 43.94 kB / 0.5981 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.6607, allocations: 0 / 0.5981 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.6608, allocations: 3.984 kB / 0.5981 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.6608, allocations: 0 / 0.5981 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.6609, allocations: 164.7 kB / 0.5983 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.661, allocations: 53.06 kB / 0.5983 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.6611, allocations: 16.8 kB / 0.5983 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.6611, allocations: 0 / 0.5983 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.195e-05/0.6612, allocations: 66.25 kB / 0.5984 GB, free: 6.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.6612, allocations: 0 / 0.5984 GB, free: 6.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001636/0.6613, allocations: 75.7 kB / 0.5985 GB, free: 5.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.6614, allocations: 58.75 kB / 0.5985 GB, free: 5.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.6615, allocations: 191 kB / 0.5987 GB, free: 5.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.6616, allocations: 29.7 kB / 0.5987 GB, free: 5.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.6616, allocations: 96 kB / 0.5988 GB, free: 5.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.6616, allocations: 6.906 kB / 0.5988 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.6616, allocations: 0 / 0.5988 GB, free: 5.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6617, allocations: 327.3 kB / 0.5991 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/0.6618, allocations: 14.19 kB / 0.5992 GB, free: 5.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.6618, allocations: 32.64 kB / 0.5992 GB, free: 5.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.6619, allocations: 14.5 kB / 0.5992 GB, free: 5.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.6619, allocations: 0 / 0.5992 GB, free: 5.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001085/0.662, allocations: 71.84 kB / 0.5993 GB, free: 5.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.662, allocations: 11.91 kB / 0.5993 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.662, allocations: 0 / 0.5993 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.662, allocations: 0 / 0.5993 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.6621, allocations: 15.92 kB / 0.5993 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.6621, allocations: 8.031 kB / 0.5993 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.6622, allocations: 3.938 kB / 0.5993 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6622, allocations: 4 kB / 0.5993 GB, free: 5.113 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 (7): * Single equations (assignments): 7 * 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.135e-05/0.6622, allocations: 101 kB / 0.5994 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.6623, allocations: 19.8 kB / 0.5994 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.6624, allocations: 87.25 kB / 0.5995 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6624, allocations: 0 / 0.5995 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6624, allocations: 0 / 0.5995 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.6624, allocations: 3.906 kB / 0.5995 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.6626, allocations: 179.2 kB / 0.5997 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6626, allocations: 0 / 0.5997 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.6626, allocations: 7.938 kB / 0.5997 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6626, allocations: 3.984 kB / 0.5997 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.6626, allocations: 0 / 0.5997 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.6626, allocations: 4 kB / 0.5997 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6626, allocations: 0 / 0.5997 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001193/0.6628, allocations: 99.28 kB / 0.5998 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002348/0.663, allocations: 499 kB / 0.6003 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.6631, allocations: 89 kB / 0.6004 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.6631, allocations: 7.938 kB / 0.6004 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.6632, allocations: 0 / 0.6004 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.6632, allocations: 15.14 kB / 0.6004 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.6632, allocations: 0 / 0.6004 GB, free: 3.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001178/0.6633, allocations: 165.2 kB / 0.6005 GB, free: 3.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007474/0.6641, allocations: 23.94 kB / 0.6006 GB, free: 3.824 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: 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 (6): * Single equations (assignments): 4 * 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.0005673/0.6647, allocations: 308.8 kB / 0.6009 GB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.6648, allocations: 42.23 kB / 0.6009 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.6648, allocations: 0 / 0.6009 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.6648, allocations: 18.88 kB / 0.6009 GB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.665, allocations: 27.64 kB / 0.6009 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.6654, allocations: 157.2 kB / 0.6011 GB, free: 3.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.6657, allocations: 0.7307 MB / 0.6018 GB, free: 2.609 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6657, allocations: 0 / 0.6018 GB, free: 2.609 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat