Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",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.0009614/0.0009614, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.083/1.083, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008966/0.0008966, allocations: 98.64 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1537/0.1537, allocations: 45.14 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1798/0.3336, allocations: 69.37 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07618/0.4098, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/0.6398, allocations: 89.43 MB / 0.5912 GB, free: 13.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.64, allocations: 75.39 kB / 0.5913 GB, free: 13.63 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.01818/0.6582, allocations: 8.96 MB / 0.6 GB, free: 5.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6582, allocations: 12 kB / 0.6 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.6583, allocations: 39.44 kB / 0.6001 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.6587, allocations: 332.9 kB / 0.6004 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.6588, allocations: 7.906 kB / 0.6004 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.6588, allocations: 0 / 0.6004 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.303e-05/0.6588, allocations: 18.81 kB / 0.6004 GB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.472e-05/0.6589, allocations: 41.38 kB / 0.6005 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.6589, allocations: 0 / 0.6005 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.6589, allocations: 4 kB / 0.6005 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.659, allocations: 4 kB / 0.6005 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.6595, allocations: 414.9 kB / 0.6009 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.613e-05/0.6595, allocations: 29.52 kB / 0.6009 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.6596, allocations: 12.92 kB / 0.6009 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.6596, allocations: 0 / 0.6009 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.6596, allocations: 30.56 kB / 0.6009 GB, free: 4.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6596, allocations: 0 / 0.6009 GB, free: 4.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.6598, allocations: 88.22 kB / 0.601 GB, free: 4.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.6598, allocations: 51.41 kB / 0.6011 GB, free: 4.609 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.6609, allocations: 0.7576 MB / 0.6018 GB, free: 4.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.6609, allocations: 33.64 kB / 0.6018 GB, free: 3.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.661, allocations: 139.2 kB / 0.602 GB, free: 3.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.661, allocations: 0 / 0.602 GB, free: 3.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.661, allocations: 0 / 0.602 GB, free: 3.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6612, allocations: 371.4 kB / 0.6023 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.6612, allocations: 0 / 0.6023 GB, free: 3.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.6612, allocations: 15.5 kB / 0.6023 GB, free: 3.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/0.6612, allocations: 4 kB / 0.6023 GB, free: 3.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6612, allocations: 0 / 0.6023 GB, free: 3.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000116/0.6613, allocations: 88.56 kB / 0.6024 GB, free: 3.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6614, allocations: 8 kB / 0.6024 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6614, allocations: 0 / 0.6024 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.6614, allocations: 0 / 0.6024 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.6615, allocations: 4 kB / 0.6024 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6615, allocations: 3.984 kB / 0.6024 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.6615, allocations: 7.984 kB / 0.6024 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.6615, allocations: 0 / 0.6024 GB, free: 3.387 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 (2): * Single equations (assignments): 2 * 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.554e-05/0.6616, allocations: 109 kB / 0.6026 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.6617, allocations: 39.44 kB / 0.6026 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.6618, allocations: 106.1 kB / 0.6027 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.6619, allocations: 3.984 kB / 0.6027 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6619, allocations: 3.906 kB / 0.6027 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6619, allocations: 0 / 0.6027 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.6621, allocations: 307.5 kB / 0.603 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.6621, allocations: 0 / 0.603 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.6622, allocations: 12.03 kB / 0.603 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6622, allocations: 0 / 0.603 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.6622, allocations: 0 / 0.603 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6622, allocations: 0 / 0.603 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6622, allocations: 0 / 0.603 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000166/0.6624, allocations: 177.4 kB / 0.6032 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002691/0.6627, allocations: 0.5675 MB / 0.6037 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.6628, allocations: 157.8 kB / 0.6039 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.6629, allocations: 3.906 kB / 0.6039 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.663, allocations: 7.984 kB / 0.6039 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.663, allocations: 0 / 0.6039 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.663, allocations: 7.938 kB / 0.6039 GB, free: 1.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005733/0.6636, allocations: 0.6091 MB / 0.6045 GB, free: 1.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008095/0.6644, allocations: 55.41 kB / 0.6045 GB, free: 1.387 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 (2): * Single equations (assignments): 2 * 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.000487/0.6649, allocations: 265 kB / 0.6048 GB, free: 1.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.225e-05/0.665, allocations: 15.44 kB / 0.6048 GB, free: 1.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.665, allocations: 0 / 0.6048 GB, free: 1.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.665, allocations: 11.44 kB / 0.6048 GB, free: 1.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.6653, allocations: 28.11 kB / 0.6048 GB, free: 1.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.6664, allocations: 0.6896 MB / 0.6055 GB, free: 496 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/0.6669, allocations: 0.8541 MB / 0.6064 GB, free: 15.62 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6669, allocations: 8 kB / 0.6064 GB, free: 15.61 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat does not exist to compare? outputFormat=mat