Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001215/0.001215, allocations: 207 kB / 8.542 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, 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.001036/0.001036, allocations: 97.7 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 45.15 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2586/0.4539, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.5653, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3205/0.8859, allocations: 88.93 MB / 0.5907 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.8862, allocations: 74.2 kB / 0.5908 GB, free: 13.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.02869/0.9149, allocations: 11.94 MB / 0.6024 GB, free: 4.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.915, allocations: 11.94 kB / 0.6025 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.915, allocations: 11.81 kB / 0.6025 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.9153, allocations: 197.9 kB / 0.6027 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.9154, allocations: 0 / 0.6027 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.9154, allocations: 0 / 0.6027 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.749e-05/0.9155, allocations: 11.44 kB / 0.6027 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.9156, allocations: 54.91 kB / 0.6027 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.9156, allocations: 4 kB / 0.6027 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.9156, allocations: 0 / 0.6027 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.9156, allocations: 0 / 0.6027 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.916, allocations: 258.9 kB / 0.603 GB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.9162, allocations: 37.52 kB / 0.603 GB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.9162, allocations: 4.922 kB / 0.603 GB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.9162, allocations: 4 kB / 0.603 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.9163, allocations: 30.56 kB / 0.603 GB, free: 3.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.9163, allocations: 0 / 0.603 GB, free: 3.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004199/0.9167, allocations: 104 kB / 0.6031 GB, free: 3.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.9168, allocations: 83.98 kB / 0.6032 GB, free: 3.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.9169, allocations: 134.6 kB / 0.6033 GB, free: 3.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.9169, allocations: 25.7 kB / 0.6034 GB, free: 3.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.917, allocations: 87.39 kB / 0.6035 GB, free: 3.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.917, allocations: 19.73 kB / 0.6035 GB, free: 3.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/0.917, allocations: 0 / 0.6035 GB, free: 3.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.9171, allocations: 314.8 kB / 0.6038 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.9171, allocations: 7.812 kB / 0.6038 GB, free: 3.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.9172, allocations: 33.2 kB / 0.6038 GB, free: 2.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.9172, allocations: 11 kB / 0.6038 GB, free: 2.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.9172, allocations: 3.938 kB / 0.6038 GB, free: 2.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001044/0.9173, allocations: 63.28 kB / 0.6039 GB, free: 2.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9174, allocations: 8 kB / 0.6039 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9174, allocations: 0 / 0.6039 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.9174, allocations: 3.906 kB / 0.6039 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.9175, allocations: 16.03 kB / 0.6039 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.9175, allocations: 0 / 0.6039 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.9175, allocations: 7.984 kB / 0.6039 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.9176, allocations: 4 kB / 0.6039 GB, free: 2.879 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 (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 6.426e-05/0.9176, allocations: 101 kB / 0.604 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.9177, allocations: 7.906 kB / 0.604 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.9178, allocations: 77.8 kB / 0.6041 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.9178, allocations: 0 / 0.6041 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9178, allocations: 3.906 kB / 0.6041 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9178, allocations: 0 / 0.6041 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.9182, allocations: 301.3 kB / 0.6044 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9182, allocations: 0 / 0.6044 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.9183, allocations: 19.92 kB / 0.6044 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9183, allocations: 0 / 0.6044 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.9183, allocations: 11.91 kB / 0.6044 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9183, allocations: 0 / 0.6044 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.9183, allocations: 4.25 kB / 0.6044 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000146/0.9185, allocations: 156.7 kB / 0.6046 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002613/0.9187, allocations: 0.5264 MB / 0.6051 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.9188, allocations: 96.19 kB / 0.6052 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.9188, allocations: 0 / 0.6052 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.9189, allocations: 11.98 kB / 0.6052 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.919, allocations: 0 / 0.6052 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.919, allocations: 7.625 kB / 0.6052 GB, free: 1.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.461e-05/0.9191, allocations: 105.7 kB / 0.6053 GB, free: 1.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009581/0.92, allocations: 58.98 kB / 0.6054 GB, free: 1.379 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 (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.0009091/0.921, allocations: 390.1 kB / 0.6057 GB, free: 1.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.9211, allocations: 26.73 kB / 0.6058 GB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9211, allocations: 4 kB / 0.6058 GB, free: 1.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.269e-05/0.9211, allocations: 17.88 kB / 0.6058 GB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.9214, allocations: 11.91 kB / 0.6058 GB, free: 1.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.9217, allocations: 113.1 kB / 0.6059 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.9221, allocations: 0.7153 MB / 0.6066 GB, free: 172 kB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.9221, allocations: 0 / 0.6066 GB, free: 172 kB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat