Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",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.001124/0.001124, allocations: 198.7 kB / 8.541 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.085/1.085, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008274/0.0008274, allocations: 90.81 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1521/0.1521, allocations: 45.13 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1837/0.3358, allocations: 69.38 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07942/0.4152, allocations: 63.25 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2398/0.6551, allocations: 90.86 MB / 0.5926 GB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.6553, allocations: 73.34 kB / 0.5927 GB, free: 11.96 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01313/0.6684, allocations: 5.265 MB / 0.5978 GB, free: 7.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.6685, allocations: 11.94 kB / 0.5978 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.6685, allocations: 19.72 kB / 0.5979 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.6689, allocations: 233.3 kB / 0.5981 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6689, allocations: 4 kB / 0.5981 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.6689, allocations: 4 kB / 0.5981 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/0.669, allocations: 38.42 kB / 0.5981 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.6692, allocations: 93.61 kB / 0.5982 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.6692, allocations: 4 kB / 0.5982 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6692, allocations: 0 / 0.5982 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.6692, allocations: 4 kB / 0.5982 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.6697, allocations: 497.9 kB / 0.5987 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.67, allocations: 74.97 kB / 0.5988 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.67, allocations: 28.11 kB / 0.5988 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.67, allocations: 4 kB / 0.5988 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.6701, allocations: 82.3 kB / 0.5989 GB, free: 6.453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.6702, allocations: 0 / 0.5989 GB, free: 6.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001967/0.6704, allocations: 91.36 kB / 0.599 GB, free: 6.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.6704, allocations: 55.41 kB / 0.599 GB, free: 6.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.6705, allocations: 178.4 kB / 0.5992 GB, free: 6.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.6706, allocations: 25.7 kB / 0.5992 GB, free: 6.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.6706, allocations: 99.84 kB / 0.5993 GB, free: 6.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.6706, allocations: 31.95 kB / 0.5993 GB, free: 5.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.6707, allocations: 4 kB / 0.5993 GB, free: 5.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.6707, allocations: 326.3 kB / 0.5996 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.6708, allocations: 26.55 kB / 0.5997 GB, free: 5.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.064e-05/0.6708, allocations: 50.67 kB / 0.5997 GB, free: 5.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/0.6709, allocations: 38.33 kB / 0.5998 GB, free: 5.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6709, allocations: 0 / 0.5998 GB, free: 5.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001735/0.6711, allocations: 118.4 kB / 0.5999 GB, free: 5.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.6711, allocations: 4 kB / 0.5999 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6711, allocations: 0 / 0.5999 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.6711, allocations: 4 kB / 0.5999 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.6713, allocations: 27.92 kB / 0.5999 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.6713, allocations: 3.938 kB / 0.5999 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.6713, allocations: 24 kB / 0.5999 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.6714, allocations: 4 kB / 0.5999 GB, free: 5.391 MB / 394.7 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 7.628e-05/0.6714, allocations: 105 kB / 0.6 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.6715, allocations: 11.81 kB / 0.6 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.6717, allocations: 106.8 kB / 0.6001 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6717, allocations: 0 / 0.6001 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6717, allocations: 7.906 kB / 0.6002 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6717, allocations: 4 kB / 0.6002 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.6719, allocations: 193.2 kB / 0.6003 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6719, allocations: 0 / 0.6003 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.672, allocations: 15.98 kB / 0.6004 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.672, allocations: 0 / 0.6004 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.672, allocations: 3.906 kB / 0.6004 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.672, allocations: 0 / 0.6004 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.672, allocations: 0 / 0.6004 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002421/0.6722, allocations: 169.7 kB / 0.6005 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003678/0.6726, allocations: 0.5664 MB / 0.6011 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.6727, allocations: 91.98 kB / 0.6012 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.6727, allocations: 4 kB / 0.6012 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.6728, allocations: 12.11 kB / 0.6012 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.6729, allocations: 8.172 kB / 0.6012 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.6729, allocations: 7.938 kB / 0.6012 GB, free: 4.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.479e-05/0.673, allocations: 133.6 kB / 0.6013 GB, free: 4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007706/0.6737, allocations: 38.8 kB / 0.6014 GB, free: 3.965 MB / 394.7 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.0006028/0.6744, allocations: 317.5 kB / 0.6017 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.6745, allocations: 66.36 kB / 0.6017 GB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6745, allocations: 3.938 kB / 0.6017 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.6746, allocations: 34.69 kB / 0.6018 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.6748, allocations: 31.31 kB / 0.6018 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.6753, allocations: 185.9 kB / 0.602 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.6756, allocations: 0.7432 MB / 0.6027 GB, free: 2.656 MB / 394.7 MB Notification: Performance of SimCode: time 1.763e-06/0.6756, allocations: 0 / 0.6027 GB, free: 2.656 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat