Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",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.001452/0.001452, allocations: 206.7 kB / 8.543 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.387/1.387, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 91.91 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 45.14 MB / 383.4 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2873/0.5125, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.6249, allocations: 63.23 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.9883, allocations: 88.8 MB / 0.5906 GB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.9887, allocations: 73.58 kB / 0.5907 GB, free: 13.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0148/1.004, allocations: 5.143 MB / 0.5957 GB, free: 9.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.004, allocations: 12.75 kB / 0.5957 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/1.004, allocations: 11.81 kB / 0.5957 GB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/1.004, allocations: 215.3 kB / 0.5959 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/1.004, allocations: 0 / 0.5959 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/1.004, allocations: 7.906 kB / 0.5959 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.073e-05/1.004, allocations: 11.69 kB / 0.5959 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/1.004, allocations: 45.38 kB / 0.596 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.004, allocations: 0 / 0.596 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.004, allocations: 7.938 kB / 0.596 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/1.004, allocations: 0 / 0.596 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/1.005, allocations: 288 kB / 0.5962 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/1.005, allocations: 32.84 kB / 0.5963 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/1.005, allocations: 15.92 kB / 0.5963 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/1.005, allocations: 4.078 kB / 0.5963 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/1.005, allocations: 37.56 kB / 0.5963 GB, free: 8.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/1.005, allocations: 0 / 0.5963 GB, free: 8.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007158/1.006, allocations: 162.7 kB / 0.5965 GB, free: 8.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/1.006, allocations: 55.41 kB / 0.5965 GB, free: 8.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/1.006, allocations: 201.8 kB / 0.5967 GB, free: 8.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/1.006, allocations: 25.7 kB / 0.5968 GB, free: 8.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/1.006, allocations: 95.16 kB / 0.5968 GB, free: 8.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/1.006, allocations: 23.47 kB / 0.5969 GB, free: 8.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-06/1.006, allocations: 0 / 0.5969 GB, free: 8.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/1.007, allocations: 322.7 kB / 0.5972 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/1.007, allocations: 21.67 kB / 0.5972 GB, free: 8.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/1.007, allocations: 18.69 kB / 0.5972 GB, free: 8.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/1.007, allocations: 29.95 kB / 0.5972 GB, free: 8.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/1.007, allocations: 4 kB / 0.5972 GB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001721/1.007, allocations: 91.02 kB / 0.5973 GB, free: 7.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.007, allocations: 4 kB / 0.5973 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.007, allocations: 0 / 0.5973 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.007, allocations: 0 / 0.5973 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/1.007, allocations: 23.92 kB / 0.5974 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/1.007, allocations: 4 kB / 0.5974 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/1.007, allocations: 13.03 kB / 0.5974 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/1.007, allocations: 0 / 0.5974 GB, free: 7.891 MB / 394.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.129e-05/1.007, allocations: 101 kB / 0.5975 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/1.007, allocations: 19.38 kB / 0.5975 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/1.008, allocations: 108.7 kB / 0.5976 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/1.008, allocations: 7.938 kB / 0.5976 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.008, allocations: 4 kB / 0.5976 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.008, allocations: 3.984 kB / 0.5976 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/1.008, allocations: 384.5 kB / 0.598 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.008, allocations: 0 / 0.598 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/1.008, allocations: 23.44 kB / 0.598 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.008, allocations: 8.016 kB / 0.598 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/1.008, allocations: 0 / 0.598 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.008, allocations: 0 / 0.598 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.008, allocations: 7.906 kB / 0.598 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002431/1.009, allocations: 196.4 kB / 0.5982 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003622/1.009, allocations: 0.5815 MB / 0.5988 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/1.009, allocations: 92.39 kB / 0.5989 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/1.009, allocations: 3.906 kB / 0.5989 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/1.009, allocations: 11.92 kB / 0.5989 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/1.009, allocations: 11.98 kB / 0.5989 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/1.009, allocations: 4 kB / 0.5989 GB, free: 6.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001416/1.009, allocations: 156.4 kB / 0.599 GB, free: 6.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001005/1.01, allocations: 27.88 kB / 0.5991 GB, free: 6.156 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: 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.0008261/1.011, allocations: 337 kB / 0.5994 GB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001795/1.011, allocations: 54.61 kB / 0.5994 GB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.011, allocations: 0 / 0.5994 GB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.881e-05/1.012, allocations: 30.12 kB / 0.5995 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/1.012, allocations: 13.98 kB / 0.5995 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/1.012, allocations: 189 kB / 0.5997 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/1.013, allocations: 0.7381 MB / 0.6004 GB, free: 4.879 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/1.013, allocations: 0 / 0.6004 GB, free: 4.879 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat does not exist to compare? outputFormat=mat