Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",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.0009564/0.0009565, allocations: 203.9 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.084/1.084, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00083/0.0008301, allocations: 97.23 kB / 286.3 MB, free: 5.242 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.14 MB / 383.3 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1759/0.3281, allocations: 69.38 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07754/0.4057, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.6395, allocations: 89.96 MB / 0.5917 GB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.6397, allocations: 71.02 kB / 0.5918 GB, free: 13.16 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.01709/0.6568, allocations: 6.856 MB / 0.5985 GB, free: 7.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.6568, allocations: 12 kB / 0.5985 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.6569, allocations: 15.72 kB / 0.5985 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.6572, allocations: 229.7 kB / 0.5987 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.6572, allocations: 0 / 0.5987 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.6572, allocations: 4 kB / 0.5987 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.588e-05/0.6573, allocations: 27.42 kB / 0.5988 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.516e-05/0.6574, allocations: 51.48 kB / 0.5988 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6574, allocations: 0.75 kB / 0.5988 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6574, allocations: 3.906 kB / 0.5988 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.6574, allocations: 0 / 0.5988 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.6578, allocations: 284.9 kB / 0.5991 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.6579, allocations: 64.66 kB / 0.5992 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.6579, allocations: 16.42 kB / 0.5992 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.658, allocations: 0 / 0.5992 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.643e-05/0.658, allocations: 58.47 kB / 0.5992 GB, free: 6.609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.658, allocations: 3.938 kB / 0.5992 GB, free: 6.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003688/0.6584, allocations: 148.6 kB / 0.5994 GB, free: 6.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.6585, allocations: 55.41 kB / 0.5994 GB, free: 6.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.6587, allocations: 248.8 kB / 0.5997 GB, free: 6.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.6587, allocations: 32.95 kB / 0.5997 GB, free: 6.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.6588, allocations: 91.69 kB / 0.5998 GB, free: 6.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.6588, allocations: 27.2 kB / 0.5998 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.6588, allocations: 0 / 0.5998 GB, free: 6.051 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.6589, allocations: 326.1 kB / 0.6001 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.419e-05/0.6589, allocations: 19.19 kB / 0.6001 GB, free: 5.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.659, allocations: 36.02 kB / 0.6002 GB, free: 5.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.659, allocations: 22.38 kB / 0.6002 GB, free: 5.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.659, allocations: 3.906 kB / 0.6002 GB, free: 5.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001397/0.6592, allocations: 102.2 kB / 0.6003 GB, free: 5.574 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.6592, allocations: 4 kB / 0.6003 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6592, allocations: 0 / 0.6003 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.6592, allocations: 4 kB / 0.6003 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.6593, allocations: 15.98 kB / 0.6003 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.6593, allocations: 0 / 0.6003 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.6594, allocations: 8.031 kB / 0.6003 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.6594, allocations: 4 kB / 0.6003 GB, free: 5.539 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 5.832e-05/0.6595, allocations: 112.1 kB / 0.6004 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.6595, allocations: 15.81 kB / 0.6004 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.6597, allocations: 111.5 kB / 0.6006 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6597, allocations: 0 / 0.6006 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6597, allocations: 4 kB / 0.6006 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6597, allocations: 3.984 kB / 0.6006 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.6601, allocations: 408.6 kB / 0.6009 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6601, allocations: 3.938 kB / 0.601 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.6602, allocations: 8 kB / 0.601 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6602, allocations: 0 / 0.601 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.6602, allocations: 4.281 kB / 0.601 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6602, allocations: 0 / 0.601 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6602, allocations: 0 / 0.601 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001627/0.6604, allocations: 220 kB / 0.6012 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002404/0.6606, allocations: 0.5785 MB / 0.6017 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.6607, allocations: 108.4 kB / 0.6018 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.6607, allocations: 0 / 0.6018 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.6608, allocations: 7.984 kB / 0.6018 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.6609, allocations: 11.84 kB / 0.6019 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.6609, allocations: 3.812 kB / 0.6019 GB, free: 3.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001535/0.661, allocations: 204.5 kB / 0.6021 GB, free: 3.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007953/0.6618, allocations: 38.38 kB / 0.6021 GB, free: 3.73 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.0006016/0.6624, allocations: 344.8 kB / 0.6024 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.6626, allocations: 55.88 kB / 0.6025 GB, free: 3.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6626, allocations: 0 / 0.6025 GB, free: 3.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.6626, allocations: 27.44 kB / 0.6025 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.6629, allocations: 27.84 kB / 0.6025 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.6633, allocations: 230.6 kB / 0.6028 GB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.6636, allocations: 0.7491 MB / 0.6035 GB, free: 2.387 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6636, allocations: 0 / 0.6035 GB, free: 2.387 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat