Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",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.001002/0.001002, allocations: 202.8 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.099/1.099, 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.001219/0.001219, allocations: 90.36 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1546/0.1546, allocations: 45.14 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1816/0.3363, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07736/0.4137, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.642, allocations: 89.92 MB / 0.5917 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.6422, allocations: 77.27 kB / 0.5918 GB, free: 13.17 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.01592/0.6582, allocations: 6.3 MB / 0.5979 GB, free: 7.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.6582, allocations: 8 kB / 0.5979 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.6582, allocations: 7.906 kB / 0.5979 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.6585, allocations: 216.1 kB / 0.5981 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.6586, allocations: 4 kB / 0.5981 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.6586, allocations: 0 / 0.5981 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.328e-05/0.6586, allocations: 21.48 kB / 0.5981 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.416e-05/0.6587, allocations: 52.38 kB / 0.5982 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6587, allocations: 0 / 0.5982 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.6588, allocations: 3.984 kB / 0.5982 GB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6588, allocations: 0 / 0.5982 GB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.6591, allocations: 268.8 kB / 0.5985 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.6592, allocations: 61.48 kB / 0.5985 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.6592, allocations: 16.8 kB / 0.5985 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.6592, allocations: 0 / 0.5985 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.022e-05/0.6593, allocations: 66.28 kB / 0.5986 GB, free: 7.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.6593, allocations: 3.938 kB / 0.5986 GB, free: 7.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003625/0.6597, allocations: 131.1 kB / 0.5987 GB, free: 7.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.6597, allocations: 55.41 kB / 0.5988 GB, free: 6.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.6599, allocations: 158.1 kB / 0.5989 GB, free: 6.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.6599, allocations: 25.7 kB / 0.599 GB, free: 6.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.6599, allocations: 91.19 kB / 0.599 GB, free: 6.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.66, allocations: 23.41 kB / 0.5991 GB, free: 6.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.66, allocations: 0 / 0.5991 GB, free: 6.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6601, allocations: 325.9 kB / 0.5994 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.6601, allocations: 15.42 kB / 0.5994 GB, free: 6.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/0.6602, allocations: 37.03 kB / 0.5994 GB, free: 6.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.6602, allocations: 26.78 kB / 0.5994 GB, free: 6.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.6602, allocations: 0 / 0.5994 GB, free: 6.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001451/0.6604, allocations: 95.38 kB / 0.5995 GB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.6604, allocations: 4 kB / 0.5995 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6604, allocations: 0 / 0.5995 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.6604, allocations: 4 kB / 0.5995 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.6605, allocations: 16.17 kB / 0.5996 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.6605, allocations: 0 / 0.5996 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.6606, allocations: 11.97 kB / 0.5996 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.6606, allocations: 7.938 kB / 0.5996 GB, free: 6.199 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.61e-05/0.6607, allocations: 101 kB / 0.5997 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.6607, allocations: 11.81 kB / 0.5997 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.6609, allocations: 107.5 kB / 0.5998 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6609, allocations: 4 kB / 0.5998 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6609, allocations: 192 / 0.5998 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6609, allocations: 0 / 0.5998 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.6613, allocations: 372.1 kB / 0.6002 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6613, allocations: 0 / 0.6002 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.6613, allocations: 11.98 kB / 0.6002 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6613, allocations: 4 kB / 0.6002 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.6614, allocations: 3.906 kB / 0.6002 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6614, allocations: 0 / 0.6002 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6614, allocations: 0 / 0.6002 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001673/0.6615, allocations: 211.6 kB / 0.6004 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002708/0.6618, allocations: 0.5734 MB / 0.6009 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.6619, allocations: 92.94 kB / 0.601 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.6619, allocations: 8 kB / 0.601 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.662, allocations: 0 / 0.601 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.662, allocations: 15.33 kB / 0.601 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.6621, allocations: 4 kB / 0.601 GB, free: 4.656 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.901e-05/0.6622, allocations: 129.7 kB / 0.6012 GB, free: 4.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008507/0.663, allocations: 34.98 kB / 0.6012 GB, free: 4.516 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.0005904/0.6636, allocations: 346.3 kB / 0.6015 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.6637, allocations: 51.56 kB / 0.6016 GB, free: 4.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6637, allocations: 0 / 0.6016 GB, free: 4.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.6638, allocations: 35.67 kB / 0.6016 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.6641, allocations: 19.92 kB / 0.6016 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.6644, allocations: 146 kB / 0.6018 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.6646, allocations: 0.7221 MB / 0.6025 GB, free: 3.27 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6646, allocations: 0 / 0.6025 GB, free: 3.27 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat