Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",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.001004/0.001004, allocations: 199.2 kB / 8.541 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.08/1.08, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008172/0.0008172, allocations: 88.5 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1532/0.1532, allocations: 45.14 MB / 383.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1751/0.3283, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07932/0.4077, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.6418, allocations: 89.96 MB / 0.5917 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.642, allocations: 71.64 kB / 0.5918 GB, free: 12.8 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.01641/0.6584, allocations: 6.677 MB / 0.5983 GB, free: 7.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.6584, allocations: 12 kB / 0.5983 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.6585, allocations: 15.38 kB / 0.5983 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.6588, allocations: 221.4 kB / 0.5986 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.6588, allocations: 0 / 0.5986 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.6588, allocations: 7.984 kB / 0.5986 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.927e-05/0.6589, allocations: 19.67 kB / 0.5986 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.282e-05/0.659, allocations: 52.81 kB / 0.5986 GB, free: 6.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.659, allocations: 7.906 kB / 0.5986 GB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.659, allocations: 0 / 0.5986 GB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.659, allocations: 0 / 0.5986 GB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.6593, allocations: 279.2 kB / 0.5989 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.6594, allocations: 55.84 kB / 0.599 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.6595, allocations: 20.17 kB / 0.599 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.6595, allocations: 3.938 kB / 0.599 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.453e-05/0.6596, allocations: 65.83 kB / 0.599 GB, free: 6.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.494e-06/0.6596, allocations: 0 / 0.599 GB, free: 6.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003528/0.6599, allocations: 141.2 kB / 0.5992 GB, free: 6.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.66, allocations: 51.41 kB / 0.5992 GB, free: 6.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.6601, allocations: 206.9 kB / 0.5994 GB, free: 6.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.6602, allocations: 33.7 kB / 0.5995 GB, free: 6.031 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.6602, allocations: 97.94 kB / 0.5995 GB, free: 5.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.6602, allocations: 26.33 kB / 0.5996 GB, free: 5.914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.6602, allocations: 3.938 kB / 0.5996 GB, free: 5.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.6603, allocations: 329.9 kB / 0.5999 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/0.6604, allocations: 11.38 kB / 0.5999 GB, free: 5.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.6604, allocations: 35.72 kB / 0.5999 GB, free: 5.547 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.6605, allocations: 22.92 kB / 0.6 GB, free: 5.531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.6605, allocations: 0 / 0.6 GB, free: 5.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001322/0.6606, allocations: 94.19 kB / 0.6 GB, free: 5.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.6606, allocations: 8 kB / 0.6001 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6606, allocations: 4.141 kB / 0.6001 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.6607, allocations: 0 / 0.6001 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.6607, allocations: 12 kB / 0.6001 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.6608, allocations: 7.984 kB / 0.6001 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.6608, allocations: 0 / 0.6001 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.6608, allocations: 11.92 kB / 0.6001 GB, free: 5.406 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.127e-05/0.6609, allocations: 105 kB / 0.6002 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.6609, allocations: 15.81 kB / 0.6002 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.6611, allocations: 104.6 kB / 0.6003 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6611, allocations: 4 kB / 0.6003 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6611, allocations: 3.906 kB / 0.6003 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6611, allocations: 0 / 0.6003 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.6615, allocations: 386.5 kB / 0.6007 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6615, allocations: 0 / 0.6007 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.6615, allocations: 11.98 kB / 0.6007 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.6616, allocations: 4 kB / 0.6007 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6616, allocations: 192 / 0.6007 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6616, allocations: 4 kB / 0.6007 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6616, allocations: 3.938 kB / 0.6007 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001689/0.6618, allocations: 208.1 kB / 0.6009 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002553/0.662, allocations: 0.5873 MB / 0.6015 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.6621, allocations: 99.66 kB / 0.6016 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.6621, allocations: 3.938 kB / 0.6016 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.6622, allocations: 8 kB / 0.6016 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.6622, allocations: 10.55 kB / 0.6016 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.6623, allocations: 4 kB / 0.6016 GB, free: 3.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001209/0.6624, allocations: 161 kB / 0.6018 GB, free: 3.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008364/0.6632, allocations: 35.73 kB / 0.6018 GB, free: 3.672 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.0005979/0.6638, allocations: 341.4 kB / 0.6021 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.6639, allocations: 51.31 kB / 0.6022 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.664, allocations: 0 / 0.6022 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.883e-05/0.664, allocations: 30.3 kB / 0.6022 GB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.6643, allocations: 30.2 kB / 0.6022 GB, free: 3.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.6646, allocations: 200.9 kB / 0.6024 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.6649, allocations: 0.734 MB / 0.6031 GB, free: 2.363 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6649, allocations: 0 / 0.6031 GB, free: 2.363 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat