Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",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.002004/0.002004, 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.35/1.35, 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.0009894/0.0009891, allocations: 92.92 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.2636/0.2636, allocations: 45.15 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3726/0.6362, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.8033, allocations: 63.25 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/1.242, allocations: 88.8 MB / 0.5906 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/1.242, allocations: 72.78 kB / 0.5907 GB, free: 14.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01387/1.256, allocations: 5.055 MB / 0.5956 GB, free: 9.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.256, allocations: 8 kB / 0.5956 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/1.256, allocations: 11.91 kB / 0.5956 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/1.256, allocations: 207.2 kB / 0.5958 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/1.256, allocations: 0 / 0.5958 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/1.256, allocations: 7.984 kB / 0.5958 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.367e-05/1.257, allocations: 14.62 kB / 0.5958 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/1.257, allocations: 48.86 kB / 0.5959 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.257, allocations: 3.906 kB / 0.5959 GB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/1.257, allocations: 3.984 kB / 0.5959 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.257, allocations: 0 / 0.5959 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/1.257, allocations: 287.9 kB / 0.5962 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/1.257, allocations: 36.52 kB / 0.5962 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/1.257, allocations: 16.61 kB / 0.5962 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/1.257, allocations: 0 / 0.5962 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/1.257, allocations: 34.56 kB / 0.5962 GB, free: 9.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.257, allocations: 0 / 0.5962 GB, free: 9.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005918/1.258, allocations: 164.7 kB / 0.5964 GB, free: 9.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/1.258, allocations: 51.41 kB / 0.5964 GB, free: 9.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/1.258, allocations: 182.2 kB / 0.5966 GB, free: 8.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/1.258, allocations: 29.7 kB / 0.5966 GB, free: 8.855 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/1.258, allocations: 92.06 kB / 0.5967 GB, free: 8.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/1.258, allocations: 27.48 kB / 0.5968 GB, free: 8.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/1.258, allocations: 7.938 kB / 0.5968 GB, free: 8.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/1.259, allocations: 317.8 kB / 0.5971 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/1.259, allocations: 18.56 kB / 0.5971 GB, free: 8.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/1.259, allocations: 29.8 kB / 0.5971 GB, free: 8.387 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.539e-05/1.259, allocations: 17.5 kB / 0.5971 GB, free: 8.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/1.259, allocations: 0 / 0.5971 GB, free: 8.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001675/1.259, allocations: 95.36 kB / 0.5972 GB, free: 8.289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.259, allocations: 4 kB / 0.5972 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.259, allocations: 4 kB / 0.5972 GB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.259, allocations: 0 / 0.5972 GB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/1.259, allocations: 26.61 kB / 0.5973 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.259, allocations: 0 / 0.5973 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/1.259, allocations: 9.125 kB / 0.5973 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/1.259, allocations: 7.984 kB / 0.5973 GB, free: 8.242 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 (8): * Single equations (assignments): 8 * 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 9.259e-05/1.259, allocations: 101 kB / 0.5974 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/1.259, allocations: 11.81 kB / 0.5974 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/1.26, allocations: 110.6 kB / 0.5975 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.26, allocations: 0 / 0.5975 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.26, allocations: 3.938 kB / 0.5975 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.26, allocations: 0 / 0.5975 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/1.26, allocations: 385.3 kB / 0.5979 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.26, allocations: 7.906 kB / 0.5979 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/1.26, allocations: 23.92 kB / 0.5979 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.26, allocations: 0 / 0.5979 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/1.26, allocations: 0 / 0.5979 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.26, allocations: 0 / 0.5979 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.26, allocations: 4 kB / 0.5979 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000243/1.261, allocations: 204.5 kB / 0.5981 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003106/1.261, allocations: 0.5792 MB / 0.5987 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/1.261, allocations: 92.8 kB / 0.5987 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/1.261, allocations: 4 kB / 0.5987 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/1.261, allocations: 11.92 kB / 0.5988 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/1.261, allocations: 4 kB / 0.5988 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/1.261, allocations: 0 / 0.5988 GB, free: 6.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001216/1.261, allocations: 145.2 kB / 0.5989 GB, free: 6.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009794/1.262, allocations: 43.73 kB / 0.5989 GB, free: 6.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006896/1.263, allocations: 329.9 kB / 0.5993 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/1.263, allocations: 59.67 kB / 0.5993 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.263, allocations: 0 / 0.5993 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/1.263, allocations: 33.5 kB / 0.5993 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/1.263, allocations: 15.89 kB / 0.5994 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/1.264, allocations: 174.2 kB / 0.5995 GB, free: 6.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/1.264, allocations: 0.73 MB / 0.6002 GB, free: 5.262 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/1.264, allocations: 4.062 kB / 0.6002 GB, free: 5.258 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat does not exist to compare? outputFormat=mat