Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test35",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.001414/0.001414, allocations: 200.2 kB / 8.538 MB, free: 476 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 225.5 MB / 234.4 MB, free: 9.461 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 98.73 kB / 286.3 MB, free: 5.816 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 45.15 MB / 383.3 MB, free: 4.855 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2664/0.4978, allocations: 69.37 MB / 452.7 MB, free: 48.19 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.6407, allocations: 63.23 MB / 0.5039 GB, free: 0.8867 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/1.01, allocations: 88.94 MB / 0.5907 GB, free: 14.77 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.011, allocations: 75.95 kB / 0.5908 GB, free: 14.7 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.02133/1.032, allocations: 7.309 MB / 0.5979 GB, free: 7.348 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.032, allocations: 11.98 kB / 0.5979 GB, free: 7.336 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/1.032, allocations: 11.81 kB / 0.5979 GB, free: 7.324 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/1.032, allocations: 190.9 kB / 0.5981 GB, free: 7.098 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.032, allocations: 0 / 0.5981 GB, free: 7.098 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/1.032, allocations: 4 kB / 0.5981 GB, free: 7.094 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.972e-05/1.033, allocations: 12 kB / 0.5981 GB, free: 7.082 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/1.033, allocations: 59.34 kB / 0.5982 GB, free: 7.012 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.033, allocations: 4 kB / 0.5982 GB, free: 7.008 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.033, allocations: 0 / 0.5982 GB, free: 7.008 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.033, allocations: 0 / 0.5982 GB, free: 7.008 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/1.033, allocations: 257.4 kB / 0.5984 GB, free: 6.719 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/1.033, allocations: 29.7 kB / 0.5985 GB, free: 6.684 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/1.033, allocations: 12.92 kB / 0.5985 GB, free: 6.668 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/1.033, allocations: 4 kB / 0.5985 GB, free: 6.664 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/1.033, allocations: 30.56 kB / 0.5985 GB, free: 6.625 MB / 418.8 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/1.033, allocations: 4 kB / 0.5985 GB, free: 6.621 MB / 418.8 MB Notification: Performance of matching and sorting (n=5): time 0.000431/1.034, allocations: 105.4 kB / 0.5986 GB, free: 6.512 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.034, allocations: 77.11 kB / 0.5987 GB, free: 6.418 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/1.034, allocations: 135.1 kB / 0.5988 GB, free: 6.277 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/1.034, allocations: 25.7 kB / 0.5989 GB, free: 6.246 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/1.034, allocations: 92.12 kB / 0.5989 GB, free: 6.152 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/1.034, allocations: 19.69 kB / 0.599 GB, free: 6.133 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/1.034, allocations: 0 / 0.599 GB, free: 6.133 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001468/1.034, allocations: 318.8 kB / 0.5993 GB, free: 5.812 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/1.034, allocations: 8 kB / 0.5993 GB, free: 5.805 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/1.034, allocations: 21.72 kB / 0.5993 GB, free: 5.777 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/1.034, allocations: 15.97 kB / 0.5993 GB, free: 5.762 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.034, allocations: 3.984 kB / 0.5993 GB, free: 5.758 MB / 418.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000123/1.035, allocations: 57.61 kB / 0.5994 GB, free: 5.695 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.035, allocations: 7.938 kB / 0.5994 GB, free: 5.688 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.035, allocations: 0 / 0.5994 GB, free: 5.688 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.035, allocations: 3.906 kB / 0.5994 GB, free: 5.684 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/1.035, allocations: 15.98 kB / 0.5994 GB, free: 5.668 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.035, allocations: 0 / 0.5994 GB, free: 5.668 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/1.035, allocations: 12 kB / 0.5994 GB, free: 5.656 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/1.035, allocations: 3.984 kB / 0.5994 GB, free: 5.652 MB / 418.8 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 (5): * Single equations (assignments): 5 * 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.087e-05/1.035, allocations: 108.4 kB / 0.5995 GB, free: 5.543 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/1.035, allocations: 3.906 kB / 0.5995 GB, free: 5.539 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/1.035, allocations: 69.81 kB / 0.5996 GB, free: 5.461 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.035, allocations: 4 kB / 0.5996 GB, free: 5.457 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.035, allocations: 3.906 kB / 0.5996 GB, free: 5.453 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.035, allocations: 4 kB / 0.5996 GB, free: 5.449 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/1.036, allocations: 303.5 kB / 0.5999 GB, free: 5.109 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.036, allocations: 64 / 0.5999 GB, free: 5.109 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-05/1.036, allocations: 23.92 kB / 0.5999 GB, free: 5.086 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.036, allocations: 0 / 0.5999 GB, free: 5.086 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/1.036, allocations: 3.906 kB / 0.5999 GB, free: 5.082 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.036, allocations: 0 / 0.5999 GB, free: 5.082 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.036, allocations: 4 kB / 0.5999 GB, free: 5.078 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001382/1.036, allocations: 155.5 kB / 0.6001 GB, free: 4.91 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002572/1.036, allocations: 0.5299 MB / 0.6006 GB, free: 4.363 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/1.036, allocations: 93 kB / 0.6007 GB, free: 4.254 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/1.036, allocations: 0 / 0.6007 GB, free: 4.254 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/1.036, allocations: 8 kB / 0.6007 GB, free: 4.246 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/1.036, allocations: 11.92 kB / 0.6007 GB, free: 4.234 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/1.036, allocations: 0 / 0.6007 GB, free: 4.234 MB / 418.8 MB Notification: Performance of sort global known variables: time 8.572e-05/1.037, allocations: 111.3 kB / 0.6008 GB, free: 4.125 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.0009586/1.037, allocations: 55.92 kB / 0.6008 GB, free: 4.07 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008111/1.038, allocations: 392.1 kB / 0.6012 GB, free: 3.762 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0001106/1.038, allocations: 27.94 kB / 0.6012 GB, free: 3.734 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.038, allocations: 0 / 0.6012 GB, free: 3.734 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/1.038, allocations: 16 kB / 0.6013 GB, free: 3.719 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/1.039, allocations: 15.89 kB / 0.6013 GB, free: 3.703 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/1.039, allocations: 99.67 kB / 0.6014 GB, free: 3.582 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/1.039, allocations: 0.7191 MB / 0.6021 GB, free: 2.836 MB / 418.8 MB Notification: Performance of SimCode: time 2.91e-07/1.039, allocations: 0 / 0.6021 GB, free: 2.836 MB / 418.8 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test35_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1)