Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",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.002011/0.002011, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 98.44 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 45.14 MB / 383.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2849/0.5119, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.6384, allocations: 63.24 MB / 0.5039 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/1.009, allocations: 88.8 MB / 0.5906 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.01, allocations: 74.2 kB / 0.5907 GB, free: 13.87 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.01371/1.023, allocations: 5.145 MB / 0.5957 GB, free: 9.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.023, allocations: 12 kB / 0.5957 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/1.023, allocations: 11.81 kB / 0.5957 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/1.024, allocations: 207.5 kB / 0.5959 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/1.024, allocations: 0 / 0.5959 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/1.024, allocations: 11.91 kB / 0.5959 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.315e-05/1.024, allocations: 15.36 kB / 0.5959 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.323e-05/1.024, allocations: 41.2 kB / 0.596 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.024, allocations: 7.922 kB / 0.596 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/1.024, allocations: 0 / 0.596 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.024, allocations: 0 / 0.596 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/1.024, allocations: 282.5 kB / 0.5962 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.05e-05/1.025, allocations: 37.14 kB / 0.5963 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/1.025, allocations: 8.859 kB / 0.5963 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/1.025, allocations: 0 / 0.5963 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/1.025, allocations: 34.56 kB / 0.5963 GB, free: 8.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.455e-06/1.025, allocations: 0 / 0.5963 GB, free: 8.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000563/1.025, allocations: 169.4 kB / 0.5965 GB, free: 8.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/1.025, allocations: 55.39 kB / 0.5965 GB, free: 8.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/1.025, allocations: 197.8 kB / 0.5967 GB, free: 8.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/1.025, allocations: 25.7 kB / 0.5968 GB, free: 8.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/1.026, allocations: 95.84 kB / 0.5968 GB, free: 8.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/1.026, allocations: 26.83 kB / 0.5969 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/1.026, allocations: 4 kB / 0.5969 GB, free: 8.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/1.026, allocations: 322.6 kB / 0.5972 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/1.026, allocations: 15.06 kB / 0.5972 GB, free: 7.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/1.026, allocations: 23.23 kB / 0.5972 GB, free: 7.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/1.026, allocations: 26.84 kB / 0.5972 GB, free: 7.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/1.026, allocations: 0 / 0.5972 GB, free: 7.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001348/1.026, allocations: 91.77 kB / 0.5973 GB, free: 7.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.026, allocations: 4 kB / 0.5973 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/1.026, allocations: 0 / 0.5973 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.026, allocations: 4.281 kB / 0.5973 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/1.026, allocations: 19.98 kB / 0.5974 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/1.026, allocations: 0 / 0.5974 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/1.026, allocations: 17.02 kB / 0.5974 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/1.026, allocations: 3.625 kB / 0.5974 GB, free: 7.773 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 8.08e-05/1.026, allocations: 108.9 kB / 0.5975 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/1.026, allocations: 19.8 kB / 0.5975 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/1.027, allocations: 109.7 kB / 0.5976 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.027, allocations: 4 kB / 0.5976 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.027, allocations: 0 / 0.5976 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.027, allocations: 3.938 kB / 0.5976 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/1.027, allocations: 382.6 kB / 0.598 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.027, allocations: 8.031 kB / 0.598 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/1.027, allocations: 19.98 kB / 0.598 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.027, allocations: 0 / 0.598 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/1.027, allocations: 0 / 0.598 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.027, allocations: 0 / 0.598 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.027, allocations: 7.906 kB / 0.598 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002039/1.027, allocations: 211.6 kB / 0.5982 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003217/1.028, allocations: 0.5709 MB / 0.5988 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/1.028, allocations: 96.38 kB / 0.5989 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/1.028, allocations: 7.906 kB / 0.5989 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/1.028, allocations: 7.938 kB / 0.5989 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/1.028, allocations: 7.984 kB / 0.5989 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/1.028, allocations: 4 kB / 0.5989 GB, free: 6.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001118/1.028, allocations: 151.9 kB / 0.599 GB, free: 6.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009138/1.029, allocations: 27.69 kB / 0.5991 GB, free: 6.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: 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.0006794/1.03, allocations: 332 kB / 0.5994 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/1.03, allocations: 57.72 kB / 0.5994 GB, free: 5.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.03, allocations: 0 / 0.5994 GB, free: 5.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.187e-05/1.03, allocations: 35.61 kB / 0.5995 GB, free: 5.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/1.03, allocations: 8.062 kB / 0.5995 GB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/1.031, allocations: 192.4 kB / 0.5997 GB, free: 5.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/1.031, allocations: 0.7341 MB / 0.6004 GB, free: 4.762 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/1.031, allocations: 4 kB / 0.6004 GB, free: 4.758 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat does not exist to compare? outputFormat=mat