Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",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.001688/0.001688, allocations: 198.8 kB / 8.536 MB, free: 1.727 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 225.5 MB / 234.4 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 103.2 kB / 286.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.317/0.317, allocations: 45.15 MB / 383.3 MB, free: 40.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1303/0.4474, allocations: 69.37 MB / 452.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.7858, allocations: 63.23 MB / 0.5039 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.8909, allocations: 88.93 MB / 0.5907 GB, free: 5.453 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.8912, allocations: 79.94 kB / 0.5908 GB, free: 5.375 MB / 410.7 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.02041/0.9117, allocations: 8.931 MB / 0.5995 GB, free: 12.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9117, allocations: 8 kB / 0.5995 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.9118, allocations: 43.44 kB / 0.5995 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.9123, allocations: 331.2 kB / 0.5999 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.9123, allocations: 8 kB / 0.5999 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.9124, allocations: 7.844 kB / 0.5999 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.995e-05/0.9124, allocations: 12 kB / 0.5999 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/0.9125, allocations: 41.69 kB / 0.5999 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.9125, allocations: 0 / 0.5999 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.9125, allocations: 0 / 0.5999 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.9125, allocations: 0 / 0.5999 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.9131, allocations: 409.3 kB / 0.6003 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.9132, allocations: 30.52 kB / 0.6003 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.9132, allocations: 8.859 kB / 0.6004 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.9132, allocations: 0 / 0.6004 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.9133, allocations: 42.66 kB / 0.6004 GB, free: 11.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.9133, allocations: 0 / 0.6004 GB, free: 11.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002286/0.9135, allocations: 85.12 kB / 0.6005 GB, free: 11.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.9136, allocations: 55.41 kB / 0.6005 GB, free: 11.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.9148, allocations: 0.7597 MB / 0.6013 GB, free: 10.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.9148, allocations: 25.7 kB / 0.6013 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.9149, allocations: 128.1 kB / 0.6014 GB, free: 10.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.9149, allocations: 15.75 kB / 0.6014 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.9149, allocations: 0 / 0.6014 GB, free: 10.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9151, allocations: 366.7 kB / 0.6018 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.9151, allocations: 8 kB / 0.6018 GB, free: 9.891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.9151, allocations: 4 kB / 0.6018 GB, free: 9.887 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.9152, allocations: 12.14 kB / 0.6018 GB, free: 9.875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9152, allocations: 0 / 0.6018 GB, free: 9.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001398/0.9153, allocations: 89.11 kB / 0.6019 GB, free: 9.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.9153, allocations: 4 kB / 0.6019 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9154, allocations: 0 / 0.6019 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.9154, allocations: 3.938 kB / 0.6019 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.9155, allocations: 15.98 kB / 0.6019 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.9155, allocations: 0 / 0.6019 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.9156, allocations: 8 kB / 0.6019 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.9156, allocations: 4 kB / 0.6019 GB, free: 9.746 MB / 426.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 (3): * Single equations (assignments): 3 * 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.489e-05/0.9157, allocations: 104.9 kB / 0.602 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.9158, allocations: 39.44 kB / 0.6021 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.916, allocations: 105.2 kB / 0.6022 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.916, allocations: 0 / 0.6022 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.916, allocations: 4 kB / 0.6022 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.916, allocations: 4 kB / 0.6022 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.9163, allocations: 302 kB / 0.6025 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9163, allocations: 0 / 0.6025 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.9164, allocations: 12 kB / 0.6025 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.9164, allocations: 0 / 0.6025 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.9164, allocations: 7.844 kB / 0.6025 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.9164, allocations: 0 / 0.6025 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9164, allocations: 0 / 0.6025 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001775/0.9166, allocations: 186.9 kB / 0.6027 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002773/0.9169, allocations: 0.5541 MB / 0.6032 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.917, allocations: 160.5 kB / 0.6034 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.9171, allocations: 4 kB / 0.6034 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.9172, allocations: 11.98 kB / 0.6034 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.9173, allocations: 0 / 0.6034 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.9173, allocations: 8 kB / 0.6034 GB, free: 8.152 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006173/0.9179, allocations: 0.6082 MB / 0.604 GB, free: 7.547 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008578/0.9188, allocations: 59.89 kB / 0.604 GB, free: 7.488 MB / 426.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 (3): * Single equations (assignments): 3 * 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.000553/0.9193, allocations: 258.8 kB / 0.6043 GB, free: 7.305 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.9194, allocations: 23.92 kB / 0.6043 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.9194, allocations: 0 / 0.6043 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.9195, allocations: 12 kB / 0.6043 GB, free: 7.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.9197, allocations: 22.08 kB / 0.6043 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.9209, allocations: 0.6938 MB / 0.605 GB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/0.9213, allocations: 0.8563 MB / 0.6058 GB, free: 5.645 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9214, allocations: 3.938 kB / 0.6058 GB, free: 5.641 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat does not exist to compare? outputFormat=mat