Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",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.0009345/0.0009345, allocations: 201.5 kB / 8.539 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.08/1.08, 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.0008091/0.0008091, allocations: 95.16 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1555/0.1555, allocations: 45.13 MB / 383.3 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1792/0.3348, allocations: 69.38 MB / 452.7 MB, free: 75.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07588/0.4107, allocations: 63.24 MB / 0.5039 GB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.6483, allocations: 89.97 MB / 0.5917 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.6485, allocations: 75.12 kB / 0.5918 GB, free: 12.67 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.01625/0.6647, allocations: 6.489 MB / 0.5981 GB, free: 7.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.6648, allocations: 8 kB / 0.5981 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.6648, allocations: 11.81 kB / 0.5982 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.6651, allocations: 215.9 kB / 0.5984 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.6651, allocations: 0 / 0.5984 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.6651, allocations: 11.91 kB / 0.5984 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.889e-05/0.6652, allocations: 17.42 kB / 0.5984 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.411e-05/0.6653, allocations: 48.25 kB / 0.5984 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6653, allocations: 0 / 0.5984 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.6653, allocations: 4 kB / 0.5984 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.6653, allocations: 0 / 0.5984 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.6656, allocations: 273.3 kB / 0.5987 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.87e-05/0.6657, allocations: 60.94 kB / 0.5988 GB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.6658, allocations: 20.59 kB / 0.5988 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.6658, allocations: 4 kB / 0.5988 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.381e-05/0.6659, allocations: 54.09 kB / 0.5988 GB, free: 6.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.6659, allocations: 0 / 0.5988 GB, free: 6.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003423/0.6662, allocations: 141.5 kB / 0.599 GB, free: 6.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.6663, allocations: 55.41 kB / 0.599 GB, free: 6.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.6664, allocations: 190.8 kB / 0.5992 GB, free: 6.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.6665, allocations: 25.7 kB / 0.5992 GB, free: 6.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.6665, allocations: 91.94 kB / 0.5993 GB, free: 6.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.6665, allocations: 22.72 kB / 0.5993 GB, free: 6.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.6665, allocations: 0 / 0.5993 GB, free: 6.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.6666, allocations: 322.8 kB / 0.5996 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.6667, allocations: 15.22 kB / 0.5997 GB, free: 5.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.093e-05/0.6667, allocations: 38.58 kB / 0.5997 GB, free: 5.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.6668, allocations: 18.81 kB / 0.5997 GB, free: 5.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.6668, allocations: 3.938 kB / 0.5997 GB, free: 5.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001343/0.6669, allocations: 98.42 kB / 0.5998 GB, free: 5.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.6669, allocations: 4 kB / 0.5998 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.6669, allocations: 0 / 0.5998 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.078e-06/0.667, allocations: 4 kB / 0.5998 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.6671, allocations: 15.98 kB / 0.5998 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6671, allocations: 7.969 kB / 0.5998 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.6671, allocations: 4 kB / 0.5998 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.6671, allocations: 3.438 kB / 0.5999 GB, free: 5.504 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.299e-05/0.6672, allocations: 108.9 kB / 0.6 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.6672, allocations: 11.91 kB / 0.6 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.6674, allocations: 107.7 kB / 0.6001 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6674, allocations: 4 kB / 0.6001 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6674, allocations: 192 / 0.6001 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6674, allocations: 4 kB / 0.6001 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.6678, allocations: 377.2 kB / 0.6004 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.6678, allocations: 4 kB / 0.6004 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.6678, allocations: 8 kB / 0.6004 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6679, allocations: 0 / 0.6004 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.6679, allocations: 0 / 0.6004 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6679, allocations: 4 kB / 0.6005 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6679, allocations: 0 / 0.6005 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001686/0.6681, allocations: 211.1 kB / 0.6007 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002801/0.6683, allocations: 0.5755 MB / 0.6012 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.6684, allocations: 96.84 kB / 0.6013 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.6684, allocations: 4.281 kB / 0.6013 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.6685, allocations: 0 / 0.6013 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.6686, allocations: 11.92 kB / 0.6013 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.6686, allocations: 14.84 kB / 0.6013 GB, free: 3.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.814e-05/0.6687, allocations: 139 kB / 0.6015 GB, free: 3.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008447/0.6695, allocations: 34.19 kB / 0.6015 GB, free: 3.797 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.0005904/0.6701, allocations: 344.8 kB / 0.6018 GB, free: 3.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.6703, allocations: 57.38 kB / 0.6019 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.6703, allocations: 0 / 0.6019 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.6703, allocations: 29.75 kB / 0.6019 GB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.6706, allocations: 27.03 kB / 0.6019 GB, free: 3.445 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.6709, allocations: 156.2 kB / 0.6021 GB, free: 3.277 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.6712, allocations: 0.7307 MB / 0.6028 GB, free: 2.523 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6712, allocations: 0 / 0.6028 GB, free: 2.523 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat