Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001272/0.001272, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 98.3 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 45.14 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2601/0.5041, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.6642, allocations: 63.25 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/1.028, allocations: 89.04 MB / 0.5908 GB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/1.028, allocations: 71.83 kB / 0.5909 GB, free: 13.75 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.02818/1.057, allocations: 11.96 MB / 0.6026 GB, free: 4.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.057, allocations: 11.94 kB / 0.6026 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/1.057, allocations: 11.81 kB / 0.6026 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/1.057, allocations: 194.2 kB / 0.6028 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/1.057, allocations: 0 / 0.6028 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/1.057, allocations: 4 kB / 0.6028 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.344e-05/1.057, allocations: 15.5 kB / 0.6028 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/1.057, allocations: 54.72 kB / 0.6028 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.057, allocations: 0 / 0.6028 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/1.057, allocations: 4 kB / 0.6029 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/1.057, allocations: 0 / 0.6029 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/1.058, allocations: 278.1 kB / 0.6031 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/1.058, allocations: 33.27 kB / 0.6031 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/1.058, allocations: 12.23 kB / 0.6032 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/1.058, allocations: 0 / 0.6032 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/1.058, allocations: 30.56 kB / 0.6032 GB, free: 3.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.058, allocations: 0 / 0.6032 GB, free: 3.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004579/1.058, allocations: 117.9 kB / 0.6033 GB, free: 3.543 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.058, allocations: 81.05 kB / 0.6034 GB, free: 3.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/1.059, allocations: 136.3 kB / 0.6035 GB, free: 3.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.059, allocations: 25.7 kB / 0.6035 GB, free: 3.289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/1.059, allocations: 91.69 kB / 0.6036 GB, free: 3.199 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/1.059, allocations: 11.75 kB / 0.6036 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/1.059, allocations: 4 kB / 0.6036 GB, free: 3.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/1.059, allocations: 322.2 kB / 0.6039 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/1.059, allocations: 11.94 kB / 0.604 GB, free: 2.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/1.059, allocations: 23.91 kB / 0.604 GB, free: 2.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/1.059, allocations: 17.36 kB / 0.604 GB, free: 2.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/1.059, allocations: 0 / 0.604 GB, free: 2.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001184/1.059, allocations: 64.41 kB / 0.6041 GB, free: 2.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.059, allocations: 8 kB / 0.6041 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.059, allocations: 4.031 kB / 0.6041 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.059, allocations: 7.844 kB / 0.6041 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/1.059, allocations: 19.42 kB / 0.6041 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/1.059, allocations: 0 / 0.6041 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/1.059, allocations: 4 kB / 0.6041 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/1.059, allocations: 4 kB / 0.6041 GB, free: 2.715 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 7.521e-05/1.059, allocations: 105 kB / 0.6042 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/1.059, allocations: 11.89 kB / 0.6042 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/1.06, allocations: 70.5 kB / 0.6043 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.06, allocations: 7.922 kB / 0.6043 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.06, allocations: 3.906 kB / 0.6043 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/1.06, allocations: 4 kB / 0.6043 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/1.06, allocations: 307.1 kB / 0.6046 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.06, allocations: 4.062 kB / 0.6046 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/1.06, allocations: 16 kB / 0.6046 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/1.06, allocations: 3.984 kB / 0.6046 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.06, allocations: 7.156 kB / 0.6046 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.06, allocations: 0 / 0.6046 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.06, allocations: 0 / 0.6046 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001545/1.06, allocations: 162.2 kB / 0.6048 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002685/1.061, allocations: 0.5372 MB / 0.6053 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/1.061, allocations: 96.05 kB / 0.6054 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/1.061, allocations: 0 / 0.6054 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/1.061, allocations: 7.984 kB / 0.6054 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/1.061, allocations: 4 kB / 0.6054 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/1.061, allocations: 6.625 kB / 0.6054 GB, free: 1.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.819e-05/1.061, allocations: 106.1 kB / 0.6055 GB, free: 1.238 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001041/1.062, allocations: 59.86 kB / 0.6056 GB, free: 1.191 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.0008713/1.063, allocations: 393.7 kB / 0.6059 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/1.063, allocations: 33.98 kB / 0.606 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.063, allocations: 0 / 0.606 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/1.063, allocations: 19.88 kB / 0.606 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/1.063, allocations: 19.45 kB / 0.606 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/1.064, allocations: 110.5 kB / 0.6061 GB, free: 0.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/1.064, allocations: 0.7114 MB / 0.6068 GB, free: 15.97 MB / 410.7 MB Notification: Performance of SimCode: time 2.444e-06/1.064, allocations: 0 / 0.6068 GB, free: 15.97 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat does not exist to compare? outputFormat=mat