Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",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.001051/0.001051, 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.101/1.101, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008346/0.0008346, allocations: 87.7 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1559/0.1559, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1786/0.3345, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0798/0.4144, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.24/0.6543, allocations: 89.92 MB / 0.5917 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.6546, allocations: 68.47 kB / 0.5918 GB, free: 12.86 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.01608/0.6707, allocations: 6.404 MB / 0.598 GB, free: 7.516 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.6707, allocations: 12 kB / 0.598 GB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.6708, allocations: 11.81 kB / 0.598 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.6711, allocations: 218.9 kB / 0.5982 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6711, allocations: 0 / 0.5982 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.6711, allocations: 3.906 kB / 0.5982 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.745e-05/0.6712, allocations: 22.61 kB / 0.5983 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.94e-05/0.6713, allocations: 52.48 kB / 0.5983 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.6713, allocations: 0 / 0.5983 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6713, allocations: 0 / 0.5983 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6713, allocations: 4 kB / 0.5983 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.6716, allocations: 273.5 kB / 0.5986 GB, free: 6.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.6717, allocations: 52.81 kB / 0.5986 GB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.6718, allocations: 15.92 kB / 0.5986 GB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.6718, allocations: 0 / 0.5986 GB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.232e-05/0.6719, allocations: 71.98 kB / 0.5987 GB, free: 6.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.6719, allocations: 0 / 0.5987 GB, free: 6.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003966/0.6723, allocations: 135.2 kB / 0.5988 GB, free: 6.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.6723, allocations: 59.03 kB / 0.5989 GB, free: 6.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.6725, allocations: 179.5 kB / 0.5991 GB, free: 6.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.6725, allocations: 25.7 kB / 0.5991 GB, free: 6.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.6726, allocations: 91.38 kB / 0.5992 GB, free: 6.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.6726, allocations: 27.59 kB / 0.5992 GB, free: 6.258 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.6726, allocations: 0 / 0.5992 GB, free: 6.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.6727, allocations: 326.6 kB / 0.5995 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.6728, allocations: 18.69 kB / 0.5995 GB, free: 5.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.6728, allocations: 36.22 kB / 0.5996 GB, free: 5.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.6729, allocations: 23.8 kB / 0.5996 GB, free: 5.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6729, allocations: 0 / 0.5996 GB, free: 5.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.673, allocations: 100 kB / 0.5997 GB, free: 5.781 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6731, allocations: 4 kB / 0.5997 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6731, allocations: 0 / 0.5997 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.6731, allocations: 0 / 0.5997 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.6732, allocations: 19.98 kB / 0.5997 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6732, allocations: 0 / 0.5997 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.6732, allocations: 3.938 kB / 0.5997 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.6733, allocations: 7.125 kB / 0.5997 GB, free: 5.75 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.091e-05/0.6733, allocations: 108.9 kB / 0.5998 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.6734, allocations: 11.94 kB / 0.5998 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.6735, allocations: 108.8 kB / 0.5999 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6736, allocations: 3.984 kB / 0.5999 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6736, allocations: 4 kB / 0.5999 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6736, allocations: 0 / 0.5999 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.6739, allocations: 370.3 kB / 0.6003 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6739, allocations: 0 / 0.6003 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.674, allocations: 15.97 kB / 0.6003 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.674, allocations: 4 kB / 0.6003 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.674, allocations: 3.984 kB / 0.6003 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.674, allocations: 0 / 0.6003 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.674, allocations: 4.234 kB / 0.6003 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001734/0.6742, allocations: 203.2 kB / 0.6005 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002438/0.6745, allocations: 0.5854 MB / 0.6011 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.6745, allocations: 92.42 kB / 0.6012 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.6746, allocations: 0 / 0.6012 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.6747, allocations: 7.984 kB / 0.6012 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.6747, allocations: 11.94 kB / 0.6012 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.6747, allocations: 11.53 kB / 0.6012 GB, free: 4.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001045/0.6748, allocations: 140.8 kB / 0.6013 GB, free: 4.066 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008479/0.6757, allocations: 35.36 kB / 0.6014 GB, free: 4.035 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.0006106/0.6763, allocations: 338.8 kB / 0.6017 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.6764, allocations: 49.88 kB / 0.6018 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.6764, allocations: 0 / 0.6018 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.6765, allocations: 35.23 kB / 0.6018 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.6767, allocations: 22.42 kB / 0.6018 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.6771, allocations: 159.7 kB / 0.602 GB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.6774, allocations: 0.7335 MB / 0.6027 GB, free: 2.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6774, allocations: 0 / 0.6027 GB, free: 2.77 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat