Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",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.001602/0.001603, allocations: 190.6 kB / 8.534 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 91.41 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 45.14 MB / 383.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2951/0.531, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.6556, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/1.024, allocations: 88.8 MB / 0.5906 GB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/1.024, allocations: 73.83 kB / 0.5906 GB, free: 13.99 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.0151/1.039, allocations: 5.148 MB / 0.5957 GB, free: 9.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.039, allocations: 8 kB / 0.5957 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/1.039, allocations: 11.81 kB / 0.5957 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/1.04, allocations: 203.7 kB / 0.5959 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/1.04, allocations: 0 / 0.5959 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/1.04, allocations: 15.89 kB / 0.5959 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.017e-05/1.04, allocations: 15.12 kB / 0.5959 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.934e-05/1.04, allocations: 48.31 kB / 0.596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.04, allocations: 0 / 0.596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/1.04, allocations: 0 / 0.596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/1.04, allocations: 0 / 0.596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/1.04, allocations: 290.5 kB / 0.5962 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/1.04, allocations: 29.03 kB / 0.5963 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/1.041, allocations: 16.61 kB / 0.5963 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/1.041, allocations: 0 / 0.5963 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/1.041, allocations: 34.56 kB / 0.5963 GB, free: 8.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/1.041, allocations: 0 / 0.5963 GB, free: 8.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006159/1.041, allocations: 164.6 kB / 0.5965 GB, free: 8.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.041, allocations: 51.41 kB / 0.5965 GB, free: 8.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/1.041, allocations: 199.9 kB / 0.5967 GB, free: 8.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/1.042, allocations: 29.64 kB / 0.5967 GB, free: 8.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/1.042, allocations: 95.41 kB / 0.5968 GB, free: 8.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/1.042, allocations: 22.78 kB / 0.5969 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.042, allocations: 4 kB / 0.5969 GB, free: 8.391 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/1.042, allocations: 326.6 kB / 0.5972 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/1.042, allocations: 26.92 kB / 0.5972 GB, free: 8.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.135e-05/1.042, allocations: 14.69 kB / 0.5972 GB, free: 8.043 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/1.042, allocations: 34.83 kB / 0.5972 GB, free: 8.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/1.042, allocations: 0 / 0.5972 GB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001434/1.042, allocations: 83.84 kB / 0.5973 GB, free: 7.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.042, allocations: 7.984 kB / 0.5973 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.042, allocations: 0 / 0.5973 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/1.042, allocations: 0 / 0.5973 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/1.042, allocations: 24 kB / 0.5974 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.042, allocations: 3.984 kB / 0.5974 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/1.042, allocations: 16.97 kB / 0.5974 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/1.042, allocations: 0 / 0.5974 GB, free: 7.891 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 7.007e-05/1.042, allocations: 101 kB / 0.5975 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/1.042, allocations: 20.09 kB / 0.5975 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/1.043, allocations: 109.2 kB / 0.5976 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.043, allocations: 7.984 kB / 0.5976 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.043, allocations: 0 / 0.5976 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.043, allocations: 0 / 0.5976 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/1.043, allocations: 389.3 kB / 0.598 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.043, allocations: 0 / 0.598 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/1.043, allocations: 24.02 kB / 0.598 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.043, allocations: 0 / 0.598 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/1.043, allocations: 3.938 kB / 0.598 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.043, allocations: 4 kB / 0.598 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.043, allocations: 7.891 kB / 0.598 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002109/1.044, allocations: 197.6 kB / 0.5982 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003799/1.044, allocations: 0.5763 MB / 0.5988 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/1.044, allocations: 96.94 kB / 0.5989 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/1.044, allocations: 3.906 kB / 0.5989 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/1.044, allocations: 19.92 kB / 0.5989 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/1.044, allocations: 0 / 0.5989 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/1.044, allocations: 4 kB / 0.5989 GB, free: 6.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001448/1.044, allocations: 152.2 kB / 0.599 GB, free: 6.188 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001266/1.046, allocations: 31.36 kB / 0.5991 GB, free: 6.16 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.0009856/1.047, allocations: 336.2 kB / 0.5994 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/1.047, allocations: 58.73 kB / 0.5994 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.047, allocations: 0 / 0.5994 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/1.047, allocations: 30.31 kB / 0.5995 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/1.047, allocations: 19.61 kB / 0.5995 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/1.048, allocations: 189.1 kB / 0.5997 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/1.048, allocations: 0.7307 MB / 0.6004 GB, free: 4.887 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/1.048, allocations: 0 / 0.6004 GB, free: 4.887 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat does not exist to compare? outputFormat=mat