Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",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.0009514/0.0009514, allocations: 203 kB / 8.542 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.083/1.083, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008379/0.000838, allocations: 96.94 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1552/0.1552, allocations: 45.15 MB / 383.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1782/0.3334, allocations: 69.36 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07673/0.4102, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.6475, allocations: 89.73 MB / 0.5915 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.6477, allocations: 72.78 kB / 0.5916 GB, free: 13.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01578/0.6635, allocations: 6.224 MB / 0.5976 GB, free: 8.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.6635, allocations: 8 kB / 0.5977 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.6636, allocations: 7.906 kB / 0.5977 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.6639, allocations: 213.6 kB / 0.5979 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.6639, allocations: 8 kB / 0.5979 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.6639, allocations: 0 / 0.5979 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.592e-05/0.664, allocations: 14.81 kB / 0.5979 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.438e-05/0.664, allocations: 47.17 kB / 0.5979 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.6641, allocations: 0 / 0.5979 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6641, allocations: 4 kB / 0.5979 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6641, allocations: 0 / 0.5979 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.6642, allocations: 164.9 kB / 0.5981 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.6643, allocations: 49.69 kB / 0.5981 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.6644, allocations: 15.86 kB / 0.5982 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.6644, allocations: 4 kB / 0.5982 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.621e-05/0.6645, allocations: 65.3 kB / 0.5982 GB, free: 7.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.6645, allocations: 0 / 0.5982 GB, free: 7.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001661/0.6647, allocations: 71.69 kB / 0.5983 GB, free: 7.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.6647, allocations: 59.38 kB / 0.5983 GB, free: 7.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.6649, allocations: 166.3 kB / 0.5985 GB, free: 7.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.6649, allocations: 25.7 kB / 0.5985 GB, free: 7.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.6649, allocations: 95.44 kB / 0.5986 GB, free: 7.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.665, allocations: 15.78 kB / 0.5986 GB, free: 7.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.665, allocations: 0 / 0.5986 GB, free: 7.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6651, allocations: 329.8 kB / 0.5989 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.6651, allocations: 6.875 kB / 0.599 GB, free: 6.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.6652, allocations: 40.64 kB / 0.599 GB, free: 6.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.6652, allocations: 11.31 kB / 0.599 GB, free: 6.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6652, allocations: 0 / 0.599 GB, free: 6.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001071/0.6653, allocations: 68.03 kB / 0.5991 GB, free: 6.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.6653, allocations: 8 kB / 0.5991 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.6653, allocations: 0 / 0.5991 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.6654, allocations: 0 / 0.5991 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.6654, allocations: 19.91 kB / 0.5991 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6654, allocations: 7.906 kB / 0.5991 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.6655, allocations: 4.031 kB / 0.5991 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.6655, allocations: 4 kB / 0.5991 GB, free: 6.559 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 (7): * Single equations (assignments): 7 * 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.396e-05/0.6656, allocations: 101 kB / 0.5992 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.6656, allocations: 19.8 kB / 0.5992 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.6657, allocations: 75.95 kB / 0.5993 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.6658, allocations: 0 / 0.5993 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6658, allocations: 4 kB / 0.5993 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6658, allocations: 0 / 0.5993 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.6659, allocations: 176.3 kB / 0.5995 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6659, allocations: 0 / 0.5995 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.666, allocations: 7.938 kB / 0.5995 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.666, allocations: 0 / 0.5995 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.666, allocations: 0 / 0.5995 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.666, allocations: 0 / 0.5995 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.666, allocations: 0 / 0.5995 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000125/0.6661, allocations: 105.2 kB / 0.5996 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002135/0.6663, allocations: 483.2 kB / 0.6 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.6664, allocations: 92.56 kB / 0.6001 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.6664, allocations: 3.938 kB / 0.6001 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.6665, allocations: 4 kB / 0.6001 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.6665, allocations: 3.984 kB / 0.6001 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.6665, allocations: 7.812 kB / 0.6001 GB, free: 5.445 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.851e-05/0.6666, allocations: 135.4 kB / 0.6003 GB, free: 5.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007536/0.6674, allocations: 34.98 kB / 0.6003 GB, free: 5.297 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0005402/0.6679, allocations: 306.7 kB / 0.6006 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.192e-05/0.668, allocations: 42.19 kB / 0.6006 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.668, allocations: 0 / 0.6006 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.6681, allocations: 23.48 kB / 0.6007 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.6683, allocations: 26.11 kB / 0.6007 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.6686, allocations: 127.8 kB / 0.6008 GB, free: 4.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.6689, allocations: 0.7231 MB / 0.6015 GB, free: 4.109 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6689, allocations: 0 / 0.6015 GB, free: 4.109 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat