Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",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.002175/0.002175, allocations: 195.5 kB / 8.537 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.365/1.365, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 92.84 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 45.14 MB / 383.3 MB, free: 488 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3314/0.5618, allocations: 69.37 MB / 452.7 MB, free: 76.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.6982, allocations: 63.24 MB / 0.5039 GB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/1.142, allocations: 88.59 MB / 0.5904 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.142, allocations: 69.97 kB / 0.5904 GB, free: 14.01 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.01384/1.156, allocations: 4.616 MB / 0.5949 GB, free: 10.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.156, allocations: 8 kB / 0.595 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/1.156, allocations: 7.906 kB / 0.595 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/1.156, allocations: 199.6 kB / 0.5952 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/1.156, allocations: 3.906 kB / 0.5952 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/1.156, allocations: 4 kB / 0.5952 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.436e-05/1.157, allocations: 11.56 kB / 0.5952 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/1.157, allocations: 45.19 kB / 0.5952 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.157, allocations: 4 kB / 0.5952 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/1.157, allocations: 0 / 0.5952 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.157, allocations: 0 / 0.5952 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/1.157, allocations: 255.7 kB / 0.5955 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/1.157, allocations: 32.52 kB / 0.5955 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/1.157, allocations: 8.859 kB / 0.5955 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/1.157, allocations: 4 kB / 0.5955 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/1.157, allocations: 34.56 kB / 0.5955 GB, free: 9.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/1.157, allocations: 0 / 0.5955 GB, free: 9.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004464/1.158, allocations: 102.5 kB / 0.5956 GB, free: 9.355 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.158, allocations: 51.41 kB / 0.5957 GB, free: 9.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/1.158, allocations: 152.4 kB / 0.5958 GB, free: 9.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/1.158, allocations: 29.7 kB / 0.5959 GB, free: 9.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/1.158, allocations: 95.25 kB / 0.5959 GB, free: 9.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/1.158, allocations: 11.81 kB / 0.596 GB, free: 9.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/1.158, allocations: 0 / 0.596 GB, free: 9.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/1.158, allocations: 325.1 kB / 0.5963 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/1.158, allocations: 11.31 kB / 0.5963 GB, free: 8.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/1.158, allocations: 11.38 kB / 0.5963 GB, free: 8.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/1.158, allocations: 6.719 kB / 0.5963 GB, free: 8.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/1.158, allocations: 0 / 0.5963 GB, free: 8.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001527/1.159, allocations: 70.28 kB / 0.5964 GB, free: 8.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.159, allocations: 4 kB / 0.5964 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.159, allocations: 4.25 kB / 0.5964 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/1.159, allocations: 0 / 0.5964 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/1.159, allocations: 19.98 kB / 0.5964 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.159, allocations: 3.938 kB / 0.5964 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/1.159, allocations: 8 kB / 0.5964 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/1.159, allocations: 7.984 kB / 0.5964 GB, free: 8.555 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 8.479e-05/1.159, allocations: 104.9 kB / 0.5965 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/1.159, allocations: 7.906 kB / 0.5965 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/1.159, allocations: 68.12 kB / 0.5966 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.159, allocations: 0 / 0.5966 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.159, allocations: 0 / 0.5966 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.159, allocations: 11.89 kB / 0.5966 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/1.159, allocations: 308 kB / 0.5969 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.16, allocations: 0 / 0.5969 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/1.16, allocations: 15.98 kB / 0.5969 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.16, allocations: 0 / 0.5969 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/1.16, allocations: 0 / 0.5969 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.16, allocations: 7.844 kB / 0.5969 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.16, allocations: 0 / 0.5969 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001696/1.16, allocations: 162.4 kB / 0.5971 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003194/1.16, allocations: 0.5235 MB / 0.5976 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/1.16, allocations: 92.83 kB / 0.5977 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/1.16, allocations: 4.203 kB / 0.5977 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/1.16, allocations: 11.98 kB / 0.5977 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/1.16, allocations: 7.984 kB / 0.5977 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/1.16, allocations: 0 / 0.5977 GB, free: 7.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001431/1.161, allocations: 142.6 kB / 0.5978 GB, free: 7.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009473/1.162, allocations: 23.81 kB / 0.5978 GB, free: 7.055 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.0007061/1.162, allocations: 300.9 kB / 0.5981 GB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/1.162, allocations: 27.19 kB / 0.5982 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.162, allocations: 0 / 0.5982 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/1.162, allocations: 15.75 kB / 0.5982 GB, free: 6.793 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/1.163, allocations: 14.55 kB / 0.5982 GB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/1.163, allocations: 127.4 kB / 0.5983 GB, free: 6.645 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/1.164, allocations: 0.7148 MB / 0.599 GB, free: 5.906 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/1.164, allocations: 3.938 kB / 0.599 GB, free: 5.902 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat does not exist to compare? outputFormat=mat