Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",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.0009763/0.0009763, allocations: 194.9 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.086/1.086, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008014/0.0008014, allocations: 94.28 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.154/0.154, allocations: 45.14 MB / 383.4 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1786/0.3326, allocations: 69.36 MB / 452.7 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07607/0.4087, allocations: 63.25 MB / 0.5039 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.6394, allocations: 89.43 MB / 0.5912 GB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.6397, allocations: 69.28 kB / 0.5913 GB, free: 13.72 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.01849/0.6582, allocations: 8.967 MB / 0.6 GB, free: 5.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.6582, allocations: 8 kB / 0.6 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.6583, allocations: 39.44 kB / 0.6001 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.6587, allocations: 336.8 kB / 0.6004 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.6588, allocations: 3.906 kB / 0.6004 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.6588, allocations: 3.984 kB / 0.6004 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.676e-05/0.6588, allocations: 26.88 kB / 0.6004 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.441e-05/0.6589, allocations: 41.25 kB / 0.6005 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.6589, allocations: 0 / 0.6005 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.6589, allocations: 0 / 0.6005 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.6589, allocations: 0 / 0.6005 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.6595, allocations: 416.3 kB / 0.6009 GB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.771e-05/0.6595, allocations: 22.58 kB / 0.6009 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.6596, allocations: 19.72 kB / 0.6009 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.6596, allocations: 0 / 0.6009 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.6596, allocations: 34.56 kB / 0.6009 GB, free: 4.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.6596, allocations: 0 / 0.6009 GB, free: 4.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001819/0.6598, allocations: 77.23 kB / 0.601 GB, free: 4.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.6598, allocations: 62.31 kB / 0.6011 GB, free: 4.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.6609, allocations: 0.7633 MB / 0.6018 GB, free: 4.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.6609, allocations: 25.7 kB / 0.6018 GB, free: 4.066 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.661, allocations: 132.4 kB / 0.602 GB, free: 3.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.661, allocations: 11.92 kB / 0.602 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.661, allocations: 0 / 0.602 GB, free: 3.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6611, allocations: 358.8 kB / 0.6023 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.6611, allocations: 7.562 kB / 0.6023 GB, free: 3.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.6612, allocations: 11.94 kB / 0.6023 GB, free: 3.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.6612, allocations: 15.17 kB / 0.6024 GB, free: 3.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6612, allocations: 0 / 0.6024 GB, free: 3.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.6613, allocations: 80.2 kB / 0.6024 GB, free: 3.488 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.6613, allocations: 4 kB / 0.6024 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6613, allocations: 0 / 0.6024 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.6613, allocations: 0 / 0.6024 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.6614, allocations: 11.98 kB / 0.6024 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.6614, allocations: 0 / 0.6024 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.6615, allocations: 8.094 kB / 0.6025 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.6615, allocations: 0 / 0.6025 GB, free: 3.465 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.514e-05/0.6616, allocations: 101 kB / 0.6026 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.6616, allocations: 43.44 kB / 0.6026 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.6618, allocations: 103.4 kB / 0.6027 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6618, allocations: 4 kB / 0.6027 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6618, allocations: 3.906 kB / 0.6027 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6618, allocations: 4.031 kB / 0.6027 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.6621, allocations: 302.4 kB / 0.603 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6621, allocations: 4 kB / 0.603 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.6621, allocations: 4 kB / 0.603 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.6622, allocations: 3.984 kB / 0.603 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.6622, allocations: 0 / 0.603 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6622, allocations: 4 kB / 0.603 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6622, allocations: 0 / 0.603 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001533/0.6623, allocations: 185.7 kB / 0.6032 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00025/0.6626, allocations: 0.5566 MB / 0.6037 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.6628, allocations: 159.2 kB / 0.6039 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.6628, allocations: 7.906 kB / 0.6039 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.6629, allocations: 4.062 kB / 0.6039 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.663, allocations: 7.938 kB / 0.6039 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.663, allocations: 0 / 0.6039 GB, free: 1.953 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005576/0.6635, allocations: 0.6158 MB / 0.6045 GB, free: 1.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008078/0.6643, allocations: 44 kB / 0.6045 GB, free: 1.469 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.0004744/0.6648, allocations: 263.2 kB / 0.6048 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.183e-05/0.6649, allocations: 15.81 kB / 0.6048 GB, free: 1.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.6649, allocations: 0 / 0.6048 GB, free: 1.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.6649, allocations: 15.23 kB / 0.6048 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.6652, allocations: 34.7 kB / 0.6049 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.6662, allocations: 0.6874 MB / 0.6055 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.6667, allocations: 0.8584 MB / 0.6064 GB, free: 15.7 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6667, allocations: 0 / 0.6064 GB, free: 15.7 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat