Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001501/0.001501, allocations: 199.8 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 225.5 MB / 234.4 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009987/0.0009987, allocations: 107 kB / 286.4 MB, free: 12.65 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4014/0.4014, allocations: 45.14 MB / 383.3 MB, free: 41.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1627/0.5641, allocations: 69.37 MB / 452.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.9865, allocations: 63.24 MB / 0.5039 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/1.112, allocations: 88.69 MB / 0.5905 GB, free: 5.691 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/1.112, allocations: 71.95 kB / 0.5905 GB, free: 5.621 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.01487/1.127, allocations: 5.362 MB / 0.5958 GB, free: 228 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.127, allocations: 8 kB / 0.5958 GB, free: 220 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/1.127, allocations: 15.72 kB / 0.5958 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/1.128, allocations: 222.7 kB / 0.596 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/1.128, allocations: 4 kB / 0.596 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/1.128, allocations: 7.984 kB / 0.596 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.333e-05/1.128, allocations: 12 kB / 0.596 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/1.128, allocations: 41.69 kB / 0.5961 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.128, allocations: 0 / 0.5961 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/1.128, allocations: 0 / 0.5961 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.128, allocations: 4 kB / 0.5961 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/1.129, allocations: 285.4 kB / 0.5964 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/1.129, allocations: 41.48 kB / 0.5964 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/1.129, allocations: 12.86 kB / 0.5964 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/1.129, allocations: 0 / 0.5964 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.129, allocations: 30.56 kB / 0.5964 GB, free: 15.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.129, allocations: 0 / 0.5964 GB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005555/1.129, allocations: 161.1 kB / 0.5966 GB, free: 15.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/1.129, allocations: 51.41 kB / 0.5966 GB, free: 15.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/1.13, allocations: 240 kB / 0.5969 GB, free: 14.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/1.13, allocations: 29.64 kB / 0.5969 GB, free: 14.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/1.13, allocations: 92.12 kB / 0.597 GB, free: 14.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/1.13, allocations: 31.55 kB / 0.597 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.13, allocations: 4 kB / 0.597 GB, free: 14.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/1.13, allocations: 322.8 kB / 0.5973 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/1.13, allocations: 16 kB / 0.5973 GB, free: 14.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/1.13, allocations: 12 kB / 0.5973 GB, free: 14.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/1.13, allocations: 23.98 kB / 0.5974 GB, free: 14.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/1.13, allocations: 0 / 0.5974 GB, free: 14.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001324/1.13, allocations: 73.5 kB / 0.5974 GB, free: 14.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.13, allocations: 8 kB / 0.5974 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.13, allocations: 0 / 0.5974 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/1.13, allocations: 0 / 0.5974 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.13, allocations: 27.92 kB / 0.5975 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.13, allocations: 0 / 0.5975 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/1.13, allocations: 9.031 kB / 0.5975 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/1.13, allocations: 8 kB / 0.5975 GB, free: 14.31 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 9.01e-05/1.131, allocations: 101 kB / 0.5976 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/1.131, allocations: 19.81 kB / 0.5976 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/1.131, allocations: 99.36 kB / 0.5977 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.131, allocations: 0 / 0.5977 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.131, allocations: 288 / 0.5977 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.131, allocations: 3.938 kB / 0.5977 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/1.131, allocations: 387.8 kB / 0.5981 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.131, allocations: 0 / 0.5981 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/1.132, allocations: 35.84 kB / 0.5981 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.132, allocations: 0 / 0.5981 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/1.132, allocations: 8 kB / 0.5981 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.132, allocations: 0 / 0.5981 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.132, allocations: 4 kB / 0.5981 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001911/1.132, allocations: 197.9 kB / 0.5983 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003314/1.132, allocations: 0.5685 MB / 0.5989 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/1.132, allocations: 100.9 kB / 0.599 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/1.132, allocations: 0 / 0.599 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/1.132, allocations: 11.94 kB / 0.599 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/1.132, allocations: 15.92 kB / 0.599 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/1.132, allocations: 4 kB / 0.599 GB, free: 12.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001846/1.133, allocations: 192.5 kB / 0.5992 GB, free: 12.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009599/1.134, allocations: 39.89 kB / 0.5992 GB, free: 12.41 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.000792/1.134, allocations: 329.1 kB / 0.5995 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/1.134, allocations: 43.94 kB / 0.5996 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.134, allocations: 0 / 0.5996 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/1.135, allocations: 27.94 kB / 0.5996 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/1.135, allocations: 20.94 kB / 0.5996 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/1.135, allocations: 233.6 kB / 0.5998 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.136, allocations: 0.7361 MB / 0.6006 GB, free: 11.07 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/1.136, allocations: 4 kB / 0.6006 GB, free: 11.07 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat does not exist to compare? outputFormat=mat