Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test26",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.001174/0.001174, allocations: 195.1 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.094/1.094, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008475/0.0008475, allocations: 92.2 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1545/0.1545, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1789/0.3334, allocations: 69.38 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07979/0.4132, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.6421, allocations: 89.65 MB / 0.5914 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.6424, allocations: 71.28 kB / 0.5915 GB, free: 13.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01278/0.6551, allocations: 5.536 MB / 0.5969 GB, free: 8.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.6552, allocations: 8 kB / 0.5969 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.6552, allocations: 19.81 kB / 0.5969 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.6554, allocations: 213.8 kB / 0.5971 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-06/0.6555, allocations: 0 / 0.5971 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.6555, allocations: 7.906 kB / 0.5971 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.084e-05/0.6556, allocations: 22.5 kB / 0.5971 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.6556, allocations: 48.75 kB / 0.5972 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.6557, allocations: 3.984 kB / 0.5972 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.6557, allocations: 0 / 0.5972 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6557, allocations: 4 kB / 0.5972 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.6561, allocations: 309.2 kB / 0.5975 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.6562, allocations: 35.78 kB / 0.5975 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.6562, allocations: 28.34 kB / 0.5976 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.6563, allocations: 7.891 kB / 0.5976 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.6563, allocations: 33.34 kB / 0.5976 GB, free: 7.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.6563, allocations: 7.938 kB / 0.5976 GB, free: 7.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005673/0.6569, allocations: 226.5 kB / 0.5978 GB, free: 7.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.6569, allocations: 55.41 kB / 0.5979 GB, free: 7.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.6571, allocations: 170.6 kB / 0.598 GB, free: 7.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.6571, allocations: 25.7 kB / 0.5981 GB, free: 7.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.6571, allocations: 99.03 kB / 0.5982 GB, free: 7.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.6572, allocations: 30.92 kB / 0.5982 GB, free: 7.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.6572, allocations: 4 kB / 0.5982 GB, free: 7.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.6573, allocations: 328.7 kB / 0.5985 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.6573, allocations: 32.42 kB / 0.5985 GB, free: 6.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.906e-05/0.6574, allocations: 39.19 kB / 0.5986 GB, free: 6.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.722e-05/0.6574, allocations: 47.72 kB / 0.5986 GB, free: 6.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.6574, allocations: 0 / 0.5986 GB, free: 6.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001657/0.6576, allocations: 120.2 kB / 0.5987 GB, free: 6.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.6576, allocations: 4 kB / 0.5987 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6576, allocations: 0 / 0.5987 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.6577, allocations: 7.906 kB / 0.5987 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.6578, allocations: 35.97 kB / 0.5988 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.6578, allocations: 0 / 0.5988 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.156e-05/0.6579, allocations: 15.98 kB / 0.5988 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.6579, allocations: 4 kB / 0.5988 GB, free: 6.48 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 (11): * Single equations (assignments): 11 * 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 5.574e-05/0.6579, allocations: 108.7 kB / 0.5989 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.658, allocations: 15.81 kB / 0.5989 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.6582, allocations: 147 kB / 0.5991 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6582, allocations: 4 kB / 0.5991 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6582, allocations: 0 / 0.5991 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6583, allocations: 0 / 0.5991 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.6587, allocations: 460.9 kB / 0.5995 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6587, allocations: 0 / 0.5995 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.6588, allocations: 28.36 kB / 0.5995 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.6589, allocations: 8.062 kB / 0.5995 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.6589, allocations: 0 / 0.5995 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.6589, allocations: 8.078 kB / 0.5995 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6589, allocations: 7.938 kB / 0.5995 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000198/0.6591, allocations: 253 kB / 0.5998 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002736/0.6594, allocations: 0.6332 MB / 0.6004 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.6594, allocations: 93 kB / 0.6005 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.6595, allocations: 7.906 kB / 0.6005 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.6596, allocations: 11.98 kB / 0.6005 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.6596, allocations: 11.92 kB / 0.6005 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.6596, allocations: 4 kB / 0.6005 GB, free: 4.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.127e-05/0.6597, allocations: 137.8 kB / 0.6007 GB, free: 4.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008496/0.6606, allocations: 46.62 kB / 0.6007 GB, free: 4.547 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005772/0.6612, allocations: 329.4 kB / 0.601 GB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.6613, allocations: 100.5 kB / 0.6011 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.6613, allocations: 0 / 0.6011 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.6614, allocations: 46.98 kB / 0.6012 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.6616, allocations: 15.84 kB / 0.6012 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.662, allocations: 224.9 kB / 0.6014 GB, free: 3.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.6623, allocations: 0.7457 MB / 0.6021 GB, free: 3.195 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6623, allocations: 0 / 0.6021 GB, free: 3.195 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat does not exist to compare? outputFormat=mat