Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",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.001447/0.001448, allocations: 202.3 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 225.5 MB / 234.4 MB, free: 15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009681/0.0009682, allocations: 91.95 kB / 286.3 MB, free: 12.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3242/0.3242, allocations: 45.14 MB / 383.3 MB, free: 40.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1478/0.4721, allocations: 69.37 MB / 452.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.8285, allocations: 63.24 MB / 0.5039 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.9528, allocations: 88.69 MB / 0.5905 GB, free: 5.652 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.9531, allocations: 71.95 kB / 0.5905 GB, free: 5.582 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01397/0.967, allocations: 5.048 MB / 0.5955 GB, free: 0.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.9671, allocations: 8 kB / 0.5955 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.9672, allocations: 7.906 kB / 0.5955 GB, free: 496 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.9675, allocations: 206.8 kB / 0.5957 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.9675, allocations: 0 / 0.5957 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.9675, allocations: 0 / 0.5957 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.354e-05/0.9676, allocations: 19.94 kB / 0.5957 GB, free: 228 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.332e-05/0.9677, allocations: 41.69 kB / 0.5957 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.9677, allocations: 3.906 kB / 0.5957 GB, free: 176 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.9677, allocations: 4 kB / 0.5957 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.9677, allocations: 4 kB / 0.5958 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.9682, allocations: 273.3 kB / 0.596 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.9683, allocations: 29.7 kB / 0.596 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.9683, allocations: 16.8 kB / 0.5961 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.9683, allocations: 3.938 kB / 0.5961 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.9684, allocations: 34.56 kB / 0.5961 GB, free: 15.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.9684, allocations: 0 / 0.5961 GB, free: 15.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005428/0.9689, allocations: 141.3 kB / 0.5962 GB, free: 15.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.969, allocations: 51.41 kB / 0.5963 GB, free: 15.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.9692, allocations: 179.4 kB / 0.5964 GB, free: 15.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.9692, allocations: 29.64 kB / 0.5965 GB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.9693, allocations: 96.06 kB / 0.5966 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.9693, allocations: 31.55 kB / 0.5966 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.9693, allocations: 0 / 0.5966 GB, free: 15.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.9695, allocations: 322.8 kB / 0.5969 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.9696, allocations: 16 kB / 0.5969 GB, free: 14.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.9696, allocations: 12 kB / 0.5969 GB, free: 14.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.9696, allocations: 16 kB / 0.5969 GB, free: 14.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.9697, allocations: 4 kB / 0.597 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001349/0.9698, allocations: 77.5 kB / 0.597 GB, free: 14.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.9698, allocations: 4 kB / 0.597 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9698, allocations: 0 / 0.597 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.9698, allocations: 0 / 0.597 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.97, allocations: 19.98 kB / 0.597 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.97, allocations: 0 / 0.597 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.97, allocations: 17.11 kB / 0.5971 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.9701, allocations: 7.938 kB / 0.5971 GB, free: 14.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.562e-05/0.9701, allocations: 105 kB / 0.5972 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.9702, allocations: 11.81 kB / 0.5972 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.9704, allocations: 95.36 kB / 0.5973 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.9704, allocations: 8.281 kB / 0.5973 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9704, allocations: 0 / 0.5973 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.9704, allocations: 0 / 0.5973 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.9708, allocations: 367.8 kB / 0.5976 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.9708, allocations: 7.906 kB / 0.5976 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.9709, allocations: 19.98 kB / 0.5977 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.971, allocations: 0 / 0.5977 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.971, allocations: 0 / 0.5977 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.971, allocations: 3.938 kB / 0.5977 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.971, allocations: 8.031 kB / 0.5977 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001728/0.9712, allocations: 189.9 kB / 0.5979 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002862/0.9715, allocations: 0.5648 MB / 0.5984 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.9715, allocations: 100.9 kB / 0.5985 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.9716, allocations: 3.938 kB / 0.5985 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.9717, allocations: 4 kB / 0.5985 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.9717, allocations: 11.92 kB / 0.5985 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.9717, allocations: 7.938 kB / 0.5985 GB, free: 13.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001237/0.9719, allocations: 144 kB / 0.5987 GB, free: 12.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009045/0.9728, allocations: 35.94 kB / 0.5987 GB, free: 12.9 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0006974/0.9735, allocations: 331.8 kB / 0.599 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.9736, allocations: 47.92 kB / 0.5991 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9737, allocations: 4 kB / 0.5991 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/0.9737, allocations: 23.98 kB / 0.5991 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.974, allocations: 15.91 kB / 0.5991 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.9744, allocations: 165.4 kB / 0.5993 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.9747, allocations: 0.7323 MB / 0.6 GB, free: 11.63 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9748, allocations: 0 / 0.6 GB, free: 11.63 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat does not exist to compare? outputFormat=mat