Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",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.0009787/0.0009787, 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.074/1.074, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008631/0.0008632, allocations: 93.66 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1554/0.1554, allocations: 45.15 MB / 383.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1749/0.3303, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07524/0.4056, allocations: 63.26 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.6332, allocations: 90 MB / 0.5918 GB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/0.6334, allocations: 73.03 kB / 0.5918 GB, free: 12.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.01805/0.6515, allocations: 7.162 MB / 0.5988 GB, free: 6.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.6515, allocations: 12 kB / 0.5988 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.6516, allocations: 11.81 kB / 0.5989 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.6519, allocations: 236.6 kB / 0.5991 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6519, allocations: 0 / 0.5991 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.6519, allocations: 4 kB / 0.5991 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/0.6521, allocations: 49.53 kB / 0.5991 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.6522, allocations: 71.08 kB / 0.5992 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6522, allocations: 7.188 kB / 0.5992 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.6522, allocations: 3.906 kB / 0.5992 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.6522, allocations: 4 kB / 0.5992 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.6526, allocations: 306.7 kB / 0.5995 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.6528, allocations: 52.55 kB / 0.5996 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.6528, allocations: 30.36 kB / 0.5996 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.6528, allocations: 7.984 kB / 0.5996 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.5e-05/0.6529, allocations: 73.64 kB / 0.5997 GB, free: 5.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.6529, allocations: 0.75 kB / 0.5997 GB, free: 5.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005276/0.6535, allocations: 239.6 kB / 0.5999 GB, free: 5.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.6535, allocations: 51.41 kB / 0.5999 GB, free: 5.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.6537, allocations: 179.5 kB / 0.6001 GB, free: 5.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6537, allocations: 32.83 kB / 0.6001 GB, free: 5.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.6537, allocations: 95.48 kB / 0.6002 GB, free: 5.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.6538, allocations: 46.08 kB / 0.6003 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.6538, allocations: 0 / 0.6003 GB, free: 5.352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.6539, allocations: 329.7 kB / 0.6006 GB, free: 5.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.654, allocations: 33.94 kB / 0.6006 GB, free: 5.008 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.654, allocations: 51.83 kB / 0.6007 GB, free: 4.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.815e-05/0.6541, allocations: 43.3 kB / 0.6007 GB, free: 4.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.6541, allocations: 0 / 0.6007 GB, free: 4.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002134/0.6543, allocations: 152.1 kB / 0.6009 GB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.6544, allocations: 4 kB / 0.6009 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6544, allocations: 4 kB / 0.6009 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.6544, allocations: 3.906 kB / 0.6009 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.6545, allocations: 27.92 kB / 0.6009 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.6545, allocations: 0 / 0.6009 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.6546, allocations: 4 kB / 0.6009 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.6546, allocations: 4 kB / 0.6009 GB, free: 4.766 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 (15): * Single equations (assignments): 15 * 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 7.388e-05/0.6547, allocations: 111.7 kB / 0.601 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.6547, allocations: 11.81 kB / 0.601 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.655, allocations: 173.2 kB / 0.6012 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.655, allocations: 7.906 kB / 0.6012 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.655, allocations: 0 / 0.6012 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.655, allocations: 3.984 kB / 0.6012 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.6555, allocations: 474.7 kB / 0.6017 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6555, allocations: 4 kB / 0.6017 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.6556, allocations: 19.98 kB / 0.6017 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6556, allocations: 7.938 kB / 0.6017 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.6557, allocations: 3.562 kB / 0.6017 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6557, allocations: 4 kB / 0.6017 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6557, allocations: 0 / 0.6017 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002563/0.6559, allocations: 279.7 kB / 0.602 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000343/0.6563, allocations: 0.6505 MB / 0.6026 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.6563, allocations: 103 kB / 0.6027 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.6564, allocations: 4 kB / 0.6027 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-05/0.6565, allocations: 0 / 0.6027 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.6565, allocations: 19.27 kB / 0.6027 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.6565, allocations: 4 kB / 0.6027 GB, free: 2.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001069/0.6567, allocations: 153.4 kB / 0.6029 GB, free: 2.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000877/0.6575, allocations: 54.64 kB / 0.6029 GB, free: 2.754 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0006635/0.6582, allocations: 380.3 kB / 0.6033 GB, free: 2.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.6584, allocations: 92.61 kB / 0.6034 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6584, allocations: 4 kB / 0.6034 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.6585, allocations: 54.05 kB / 0.6034 GB, free: 2.367 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.6587, allocations: 26.98 kB / 0.6035 GB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.6592, allocations: 214.8 kB / 0.6037 GB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.6595, allocations: 0.7466 MB / 0.6044 GB, free: 1.363 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6595, allocations: 0 / 0.6044 GB, free: 1.363 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat