Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001191/0.001196, allocations: 204.9 kB / 8.544 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 91.34 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.2194/0.2194, allocations: 45.15 MB / 383.4 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.293/0.5125, allocations: 69.36 MB / 452.7 MB, free: 76.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.6444, allocations: 63.25 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3703/1.015, allocations: 88.8 MB / 0.5906 GB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.015, allocations: 77.92 kB / 0.5907 GB, free: 14.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01504/1.03, allocations: 5.51 MB / 0.596 GB, free: 9.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.03, allocations: 8 kB / 0.596 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/1.03, allocations: 15.81 kB / 0.5961 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/1.031, allocations: 222 kB / 0.5963 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/1.031, allocations: 4 kB / 0.5963 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/1.031, allocations: 11.92 kB / 0.5963 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.05e-05/1.031, allocations: 30.89 kB / 0.5963 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/1.031, allocations: 56.67 kB / 0.5964 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.031, allocations: 0 / 0.5964 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/1.031, allocations: 0 / 0.5964 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.031, allocations: 4 kB / 0.5964 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/1.031, allocations: 321.9 kB / 0.5967 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.543e-05/1.031, allocations: 44.53 kB / 0.5967 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/1.031, allocations: 19.72 kB / 0.5967 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/1.032, allocations: 0 / 0.5967 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/1.032, allocations: 34.5 kB / 0.5968 GB, free: 8.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.032, allocations: 0 / 0.5968 GB, free: 8.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006353/1.032, allocations: 208.9 kB / 0.597 GB, free: 8.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.032, allocations: 51.41 kB / 0.597 GB, free: 8.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/1.033, allocations: 206.8 kB / 0.5972 GB, free: 8.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/1.033, allocations: 25.7 kB / 0.5972 GB, free: 8.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/1.033, allocations: 99.78 kB / 0.5973 GB, free: 8.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/1.033, allocations: 38.77 kB / 0.5974 GB, free: 8.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-06/1.033, allocations: 4 kB / 0.5974 GB, free: 8.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/1.033, allocations: 329.9 kB / 0.5977 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/1.033, allocations: 22.73 kB / 0.5977 GB, free: 7.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/1.033, allocations: 31.55 kB / 0.5977 GB, free: 7.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.219e-05/1.033, allocations: 30.56 kB / 0.5978 GB, free: 7.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/1.033, allocations: 0 / 0.5978 GB, free: 7.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001682/1.033, allocations: 113.8 kB / 0.5979 GB, free: 7.543 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.033, allocations: 4 kB / 0.5979 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.033, allocations: 0 / 0.5979 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/1.033, allocations: 4 kB / 0.5979 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/1.033, allocations: 27.98 kB / 0.5979 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.033, allocations: 0 / 0.5979 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/1.033, allocations: 11.98 kB / 0.5979 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/1.033, allocations: 2.625 kB / 0.5979 GB, free: 7.496 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 (13): * Single equations (assignments): 13 * 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 8.559e-05/1.034, allocations: 108.9 kB / 0.598 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/1.034, allocations: 19.72 kB / 0.5981 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/1.034, allocations: 135.6 kB / 0.5982 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.034, allocations: 0 / 0.5982 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.034, allocations: 0 / 0.5982 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.034, allocations: 3.984 kB / 0.5982 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/1.034, allocations: 444.1 kB / 0.5986 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.034, allocations: 3.938 kB / 0.5986 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/1.035, allocations: 35.73 kB / 0.5987 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.035, allocations: 0 / 0.5987 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/1.035, allocations: 3.984 kB / 0.5987 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.035, allocations: 4 kB / 0.5987 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.035, allocations: 0 / 0.5987 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002258/1.035, allocations: 227.3 kB / 0.5989 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003803/1.035, allocations: 0.5935 MB / 0.5995 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/1.035, allocations: 104.7 kB / 0.5996 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/1.035, allocations: 7.922 kB / 0.5996 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/1.035, allocations: 4 kB / 0.5996 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/1.036, allocations: 7.984 kB / 0.5996 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/1.036, allocations: 4 kB / 0.5996 GB, free: 5.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001498/1.036, allocations: 169.6 kB / 0.5997 GB, free: 5.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009213/1.037, allocations: 38.59 kB / 0.5998 GB, free: 5.645 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 (13): * Single equations (assignments): 13 * 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.0007624/1.037, allocations: 346.7 kB / 0.6001 GB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/1.038, allocations: 71.5 kB / 0.6002 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.038, allocations: 0 / 0.6002 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/1.038, allocations: 51.36 kB / 0.6002 GB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/1.038, allocations: 6.562 kB / 0.6002 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/1.038, allocations: 234.7 kB / 0.6005 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/1.039, allocations: 0.7417 MB / 0.6012 GB, free: 4.293 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/1.039, allocations: 0 / 0.6012 GB, free: 4.293 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat