Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.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.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",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.001443/0.001443, allocations: 204.4 kB / 8.543 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001061, allocations: 92.73 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1885/0.1885, allocations: 45.14 MB / 383.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2179/0.4065, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.5034, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.7915, allocations: 89.43 MB / 0.5912 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.7917, allocations: 66.91 kB / 0.5913 GB, free: 13.43 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.02759/0.8193, allocations: 12.01 MB / 0.603 GB, free: 3.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.8194, allocations: 8 kB / 0.603 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.8194, allocations: 7.906 kB / 0.603 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.8197, allocations: 207.8 kB / 0.6032 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.8198, allocations: 4 kB / 0.6032 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.8198, allocations: 4 kB / 0.6032 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.204e-05/0.8199, allocations: 13.19 kB / 0.6032 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.82, allocations: 61 kB / 0.6033 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.82, allocations: 3.938 kB / 0.6033 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.82, allocations: 0 / 0.6033 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.82, allocations: 0 / 0.6033 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.8204, allocations: 278.3 kB / 0.6036 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/0.8205, allocations: 30.39 kB / 0.6036 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.8205, allocations: 16.72 kB / 0.6036 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.8206, allocations: 0 / 0.6036 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.8206, allocations: 38.56 kB / 0.6036 GB, free: 3.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.8206, allocations: 0 / 0.6036 GB, free: 3.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004716/0.8211, allocations: 134.8 kB / 0.6038 GB, free: 3.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.8211, allocations: 77.11 kB / 0.6038 GB, free: 3.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.8213, allocations: 140.8 kB / 0.604 GB, free: 2.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.8213, allocations: 29.7 kB / 0.604 GB, free: 2.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.8214, allocations: 91.95 kB / 0.6041 GB, free: 2.785 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.8214, allocations: 18.83 kB / 0.6041 GB, free: 2.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.8214, allocations: 0 / 0.6041 GB, free: 2.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.8215, allocations: 318.7 kB / 0.6044 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.8215, allocations: 11.94 kB / 0.6044 GB, free: 2.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.8216, allocations: 28.64 kB / 0.6044 GB, free: 2.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.8216, allocations: 19.16 kB / 0.6045 GB, free: 2.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.8216, allocations: 4.031 kB / 0.6045 GB, free: 2.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001251/0.8218, allocations: 80.28 kB / 0.6045 GB, free: 2.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.8218, allocations: 7.438 kB / 0.6046 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.8218, allocations: 0 / 0.6046 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.8218, allocations: 0 / 0.6046 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.8219, allocations: 23.98 kB / 0.6046 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.822, allocations: 0 / 0.6046 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.822, allocations: 19.98 kB / 0.6046 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.8221, allocations: 4 kB / 0.6046 GB, free: 2.273 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 (7): * Single equations (assignments): 7 * 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 7.121e-05/0.8221, allocations: 101 kB / 0.6047 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.8222, allocations: 15.89 kB / 0.6047 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.8223, allocations: 96.95 kB / 0.6048 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.8224, allocations: 0 / 0.6048 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8224, allocations: 0 / 0.6048 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.8224, allocations: 7.984 kB / 0.6048 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.8227, allocations: 330.2 kB / 0.6051 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8227, allocations: 0 / 0.6051 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.8228, allocations: 35.91 kB / 0.6052 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8228, allocations: 0 / 0.6052 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8228, allocations: 0 / 0.6052 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8229, allocations: 0 / 0.6052 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.8229, allocations: 0 / 0.6052 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001391/0.823, allocations: 173.9 kB / 0.6053 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002979/0.8233, allocations: 0.5445 MB / 0.6059 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.8234, allocations: 100.1 kB / 0.6059 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.8234, allocations: 0 / 0.6059 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.8235, allocations: 11.98 kB / 0.606 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.8236, allocations: 7.984 kB / 0.606 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.8236, allocations: 11.81 kB / 0.606 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.997e-05/0.8237, allocations: 110.3 kB / 0.6061 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009238/0.8246, allocations: 57.86 kB / 0.6061 GB, free: 0.6758 MB / 394.7 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 (7): * Single equations (assignments): 7 * 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.0007313/0.8253, allocations: 381.1 kB / 0.6065 GB, free: 388 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.8255, allocations: 41.44 kB / 0.6065 GB, free: 360 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.8255, allocations: 0 / 0.6065 GB, free: 360 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.8255, allocations: 26.73 kB / 0.6066 GB, free: 340 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.8257, allocations: 11.62 kB / 0.6066 GB, free: 332 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.826, allocations: 129.8 kB / 0.6067 GB, free: 188 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.8264, allocations: 0.7146 MB / 0.6074 GB, free: 15.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.8264, allocations: 0 / 0.6074 GB, free: 15.45 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat does not exist to compare? outputFormat=mat