Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",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.001028/0.001028, allocations: 201.9 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.096/1.096, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00082/0.00082, allocations: 96.91 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.1535/0.1535, allocations: 45.15 MB / 383.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.181/0.3346, allocations: 69.36 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08184/0.4164, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.655, allocations: 89.96 MB / 0.5917 GB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.6552, allocations: 74.77 kB / 0.5918 GB, free: 12.83 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.01638/0.6716, allocations: 6.499 MB / 0.5981 GB, free: 7.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.6716, allocations: 8 kB / 0.5982 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.6717, allocations: 11.81 kB / 0.5982 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.6719, allocations: 216.2 kB / 0.5984 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.6719, allocations: 0 / 0.5984 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.672, allocations: 7.906 kB / 0.5984 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.453e-05/0.672, allocations: 19.8 kB / 0.5984 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.566e-05/0.6721, allocations: 53.36 kB / 0.5984 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.6721, allocations: 0 / 0.5984 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.6722, allocations: 0 / 0.5984 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.6722, allocations: 8 kB / 0.5985 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.6725, allocations: 269.2 kB / 0.5987 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.802e-05/0.6726, allocations: 52.19 kB / 0.5988 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.6726, allocations: 24.41 kB / 0.5988 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.6726, allocations: 0 / 0.5988 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.342e-05/0.6727, allocations: 69.52 kB / 0.5988 GB, free: 6.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.295e-06/0.6727, allocations: 0 / 0.5988 GB, free: 6.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003594/0.6731, allocations: 139.5 kB / 0.599 GB, free: 6.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.6731, allocations: 51.41 kB / 0.599 GB, free: 6.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.6733, allocations: 182.7 kB / 0.5992 GB, free: 6.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.6733, allocations: 29.52 kB / 0.5992 GB, free: 6.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.6733, allocations: 91.94 kB / 0.5993 GB, free: 6.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.6734, allocations: 31.08 kB / 0.5994 GB, free: 6.152 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.6734, allocations: 0 / 0.5994 GB, free: 6.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.6735, allocations: 321.6 kB / 0.5997 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.6735, allocations: 19.19 kB / 0.5997 GB, free: 5.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.6735, allocations: 32.09 kB / 0.5997 GB, free: 5.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.6736, allocations: 22.42 kB / 0.5997 GB, free: 5.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6736, allocations: 0 / 0.5997 GB, free: 5.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001412/0.6737, allocations: 101.5 kB / 0.5998 GB, free: 5.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.6738, allocations: 4 kB / 0.5998 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6738, allocations: 0 / 0.5998 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.6738, allocations: 4 kB / 0.5998 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.6739, allocations: 15.98 kB / 0.5998 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.6739, allocations: 0 / 0.5998 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.6739, allocations: 4 kB / 0.5999 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.674, allocations: 3.25 kB / 0.5999 GB, free: 5.656 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.027e-05/0.674, allocations: 108.9 kB / 0.6 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.6741, allocations: 15.92 kB / 0.6 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.6742, allocations: 106.7 kB / 0.6001 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6743, allocations: 4 kB / 0.6001 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6743, allocations: 0 / 0.6001 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6743, allocations: 0 / 0.6001 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.6746, allocations: 373.3 kB / 0.6004 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6746, allocations: 0 / 0.6004 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.6747, allocations: 16.03 kB / 0.6005 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.6747, allocations: 3.984 kB / 0.6005 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.6747, allocations: 0 / 0.6005 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.6747, allocations: 7.938 kB / 0.6005 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6747, allocations: 0 / 0.6005 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001677/0.6749, allocations: 199.1 kB / 0.6007 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002569/0.6751, allocations: 0.5859 MB / 0.6012 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.6752, allocations: 92.55 kB / 0.6013 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.6752, allocations: 11.92 kB / 0.6013 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.6753, allocations: 0 / 0.6013 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.6754, allocations: 8.188 kB / 0.6013 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.6754, allocations: 15.89 kB / 0.6013 GB, free: 4.086 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.473e-05/0.6755, allocations: 138.2 kB / 0.6015 GB, free: 3.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008436/0.6763, allocations: 34.98 kB / 0.6015 GB, free: 3.941 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.0005945/0.6769, allocations: 343.8 kB / 0.6018 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.6771, allocations: 62.36 kB / 0.6019 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.6771, allocations: 0 / 0.6019 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.6771, allocations: 23.06 kB / 0.6019 GB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.6774, allocations: 19.55 kB / 0.6019 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.6777, allocations: 159.9 kB / 0.6021 GB, free: 3.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.678, allocations: 0.7342 MB / 0.6028 GB, free: 2.676 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.678, allocations: 0 / 0.6028 GB, free: 2.676 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat