Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",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.001193/0.001193, allocations: 203.1 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.087/1.087, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007768/0.0007768, allocations: 92.48 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.1538/0.1538, allocations: 45.13 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1782/0.332, allocations: 69.38 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07789/0.4099, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2358/0.6457, allocations: 90.24 MB / 0.592 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.646, allocations: 70.41 kB / 0.5921 GB, free: 12.59 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.02971/0.6757, allocations: 13.57 MB / 0.6053 GB, free: 1.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.6758, allocations: 8 kB / 0.6053 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.6758, allocations: 7.906 kB / 0.6053 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.6762, allocations: 222.1 kB / 0.6055 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.6762, allocations: 4 kB / 0.6055 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.6763, allocations: 4 kB / 0.6056 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.059e-05/0.6764, allocations: 23.11 kB / 0.6056 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.6765, allocations: 70.33 kB / 0.6056 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6765, allocations: 0 / 0.6056 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.6765, allocations: 0 / 0.6056 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6765, allocations: 0 / 0.6056 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.6769, allocations: 270.8 kB / 0.6059 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.965e-05/0.677, allocations: 49.45 kB / 0.6059 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.677, allocations: 24.78 kB / 0.606 GB, free: 1.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.6771, allocations: 0 / 0.606 GB, free: 1.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.992e-05/0.6771, allocations: 58.47 kB / 0.606 GB, free: 1.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.6772, allocations: 0 / 0.606 GB, free: 1.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003678/0.6775, allocations: 138.6 kB / 0.6062 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.6776, allocations: 81.11 kB / 0.6062 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.6777, allocations: 147.2 kB / 0.6064 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.6777, allocations: 29.7 kB / 0.6064 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.6778, allocations: 86.77 kB / 0.6065 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.6778, allocations: 23.58 kB / 0.6065 GB, free: 0.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.6778, allocations: 3.938 kB / 0.6065 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.6779, allocations: 329.8 kB / 0.6068 GB, free: 304 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.678, allocations: 19.62 kB / 0.6068 GB, free: 292 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.678, allocations: 33.2 kB / 0.6069 GB, free: 256 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.6781, allocations: 27.33 kB / 0.6069 GB, free: 236 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.6781, allocations: 4 kB / 0.6069 GB, free: 232 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001402/0.6782, allocations: 87.47 kB / 0.607 GB, free: 152 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.6782, allocations: 11.98 kB / 0.607 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6782, allocations: 0 / 0.607 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/0.6783, allocations: 0 / 0.607 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.6783, allocations: 12 kB / 0.607 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.6784, allocations: 0 / 0.607 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.6784, allocations: 7.938 kB / 0.607 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.6784, allocations: 11.98 kB / 0.607 GB, free: 108 kB / 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 8.315e-05/0.6785, allocations: 113 kB / 0.6071 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.6785, allocations: 11.84 kB / 0.6072 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.6787, allocations: 92.58 kB / 0.6072 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6787, allocations: 4 kB / 0.6072 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6788, allocations: 7.922 kB / 0.6073 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6788, allocations: 288 / 0.6073 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.6791, allocations: 367.1 kB / 0.6076 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6791, allocations: 0 / 0.6076 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.6792, allocations: 18.88 kB / 0.6076 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.6792, allocations: 4 kB / 0.6076 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.6792, allocations: 4 kB / 0.6076 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6792, allocations: 0 / 0.6076 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6792, allocations: 0 / 0.6076 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001845/0.6794, allocations: 211.3 kB / 0.6078 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003106/0.6797, allocations: 0.5699 MB / 0.6084 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.6798, allocations: 92.88 kB / 0.6085 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.6798, allocations: 11.91 kB / 0.6085 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.6799, allocations: 3.938 kB / 0.6085 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.68, allocations: 7.984 kB / 0.6085 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.68, allocations: 4 kB / 0.6085 GB, free: 14.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.946e-05/0.6801, allocations: 126.4 kB / 0.6086 GB, free: 14.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008504/0.6809, allocations: 73.44 kB / 0.6087 GB, free: 14.4 MB / 410.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.0007952/0.6817, allocations: 427.1 kB / 0.6091 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.6819, allocations: 62.72 kB / 0.6092 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6819, allocations: 4 kB / 0.6092 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.6819, allocations: 31.81 kB / 0.6092 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.6822, allocations: 23.09 kB / 0.6092 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.6825, allocations: 147.1 kB / 0.6094 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.6828, allocations: 0.7256 MB / 0.6101 GB, free: 13.07 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6829, allocations: 0 / 0.6101 GB, free: 13.07 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat