Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_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.001021/0.001021, allocations: 201.6 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.083/1.083, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008444/0.0008445, allocations: 97.67 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1531/0.1531, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1856/0.3388, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07853/0.4173, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/0.6542, allocations: 89.92 MB / 0.5917 GB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.6544, allocations: 77.52 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.0161/0.6705, allocations: 6.384 MB / 0.598 GB, free: 7.621 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.6705, allocations: 8 kB / 0.598 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.6706, allocations: 15.81 kB / 0.598 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.6709, allocations: 218.6 kB / 0.5982 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.6709, allocations: 8 kB / 0.5982 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.6709, allocations: 3.906 kB / 0.5982 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.702e-05/0.671, allocations: 19.3 kB / 0.5983 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.6711, allocations: 48.88 kB / 0.5983 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6711, allocations: 0 / 0.5983 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.6711, allocations: 0 / 0.5983 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6711, allocations: 3.984 kB / 0.5983 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.6714, allocations: 281.9 kB / 0.5986 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.6716, allocations: 53.31 kB / 0.5986 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.6716, allocations: 15.61 kB / 0.5986 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.6716, allocations: 3.984 kB / 0.5986 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.971e-05/0.6717, allocations: 61.69 kB / 0.5987 GB, free: 6.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.6717, allocations: 4 kB / 0.5987 GB, free: 6.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003866/0.6721, allocations: 135.7 kB / 0.5988 GB, free: 6.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.6721, allocations: 51.41 kB / 0.5989 GB, free: 6.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.6723, allocations: 187.9 kB / 0.5991 GB, free: 6.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.6723, allocations: 25.7 kB / 0.5991 GB, free: 6.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.6724, allocations: 91.56 kB / 0.5992 GB, free: 6.375 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.6724, allocations: 22.97 kB / 0.5992 GB, free: 6.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.6724, allocations: 0 / 0.5992 GB, free: 6.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6725, allocations: 324.8 kB / 0.5995 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.6726, allocations: 22.12 kB / 0.5995 GB, free: 6.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.322e-05/0.6726, allocations: 35.58 kB / 0.5996 GB, free: 5.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.6727, allocations: 14.88 kB / 0.5996 GB, free: 5.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6727, allocations: 4 kB / 0.5996 GB, free: 5.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.6729, allocations: 93.73 kB / 0.5997 GB, free: 5.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6729, allocations: 8 kB / 0.5997 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.6729, allocations: 0 / 0.5997 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.6729, allocations: 4.031 kB / 0.5997 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.673, allocations: 15.98 kB / 0.5997 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.673, allocations: 4 kB / 0.5997 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.6731, allocations: 0 / 0.5997 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.6731, allocations: 4 kB / 0.5997 GB, free: 5.855 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.774e-05/0.6732, allocations: 112 kB / 0.5998 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.6732, allocations: 11.91 kB / 0.5998 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.6734, allocations: 115.3 kB / 0.5999 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6734, allocations: 4 kB / 0.5999 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6734, allocations: 0 / 0.5999 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.6734, allocations: 0 / 0.5999 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.6738, allocations: 378.7 kB / 0.6003 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6738, allocations: 0 / 0.6003 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.6738, allocations: 8.188 kB / 0.6003 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6738, allocations: 0 / 0.6003 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6738, allocations: 8 kB / 0.6003 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6739, allocations: 0 / 0.6003 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6739, allocations: 4.031 kB / 0.6003 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001721/0.674, allocations: 207 kB / 0.6005 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002783/0.6743, allocations: 0.577 MB / 0.6011 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.6744, allocations: 96.91 kB / 0.6012 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.6744, allocations: 0 / 0.6012 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.6745, allocations: 4 kB / 0.6012 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.6746, allocations: 15.3 kB / 0.6012 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.6746, allocations: 3.906 kB / 0.6012 GB, free: 4.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001085/0.6747, allocations: 144.4 kB / 0.6013 GB, free: 4.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008523/0.6755, allocations: 35.81 kB / 0.6014 GB, free: 4.141 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.0006685/0.6762, allocations: 346.8 kB / 0.6017 GB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.6764, allocations: 55.25 kB / 0.6017 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.6764, allocations: 4.062 kB / 0.6018 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/0.6764, allocations: 30.38 kB / 0.6018 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.6767, allocations: 23.47 kB / 0.6018 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.6771, allocations: 154.2 kB / 0.602 GB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.6774, allocations: 0.7271 MB / 0.6027 GB, free: 2.871 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6774, allocations: 4 kB / 0.6027 GB, free: 2.867 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat