Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26",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.001601/0.001601, allocations: 203.6 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, 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.0009681/0.0009682, allocations: 91.59 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.2096/0.2096, allocations: 45.14 MB / 383.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2803/0.49, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.6275, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.99, allocations: 88.69 MB / 0.5905 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.9903, allocations: 67.78 kB / 0.5905 GB, free: 14.05 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.01372/1.004, allocations: 5.123 MB / 0.5955 GB, free: 9.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/1.004, allocations: 8 kB / 0.5956 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/1.004, allocations: 11.81 kB / 0.5956 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/1.004, allocations: 207.4 kB / 0.5958 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/1.005, allocations: 0 / 0.5958 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/1.005, allocations: 11.89 kB / 0.5958 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.427e-05/1.005, allocations: 11.38 kB / 0.5958 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/1.005, allocations: 48 kB / 0.5958 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.005, allocations: 11.98 kB / 0.5958 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/1.005, allocations: 0 / 0.5958 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/1.005, allocations: 0 / 0.5958 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/1.005, allocations: 274 kB / 0.5961 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.821e-05/1.005, allocations: 24.97 kB / 0.5961 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/1.005, allocations: 12.36 kB / 0.5961 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/1.005, allocations: 11.94 kB / 0.5962 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/1.005, allocations: 30.66 kB / 0.5962 GB, free: 9.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/1.005, allocations: 0 / 0.5962 GB, free: 9.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005099/1.006, allocations: 147 kB / 0.5963 GB, free: 8.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/1.006, allocations: 51.41 kB / 0.5964 GB, free: 8.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/1.006, allocations: 199.8 kB / 0.5966 GB, free: 8.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/1.006, allocations: 25.7 kB / 0.5966 GB, free: 8.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/1.006, allocations: 99.91 kB / 0.5967 GB, free: 8.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/1.006, allocations: 24.34 kB / 0.5967 GB, free: 8.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-06/1.006, allocations: 0 / 0.5967 GB, free: 8.496 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/1.006, allocations: 325.3 kB / 0.597 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/1.006, allocations: 11.81 kB / 0.597 GB, free: 8.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/1.006, allocations: 19.36 kB / 0.597 GB, free: 8.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/1.006, allocations: 22.72 kB / 0.5971 GB, free: 8.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/1.006, allocations: 0 / 0.5971 GB, free: 8.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001377/1.007, allocations: 76.72 kB / 0.5971 GB, free: 8.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.007, allocations: 11.94 kB / 0.5972 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.007, allocations: 0 / 0.5972 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/1.007, allocations: 0 / 0.5972 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/1.007, allocations: 19.98 kB / 0.5972 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.007, allocations: 0 / 0.5972 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/1.007, allocations: 13.03 kB / 0.5972 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.007, allocations: 7.984 kB / 0.5972 GB, free: 8.02 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 6.416e-05/1.007, allocations: 104.9 kB / 0.5973 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/1.007, allocations: 11.81 kB / 0.5973 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/1.007, allocations: 96.06 kB / 0.5974 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.007, allocations: 4 kB / 0.5974 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.007, allocations: 0 / 0.5974 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/1.007, allocations: 8 kB / 0.5974 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/1.008, allocations: 368.1 kB / 0.5978 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.008, allocations: 0 / 0.5978 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/1.008, allocations: 19.98 kB / 0.5978 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.008, allocations: 0 / 0.5978 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/1.008, allocations: 0 / 0.5978 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.008, allocations: 11.97 kB / 0.5978 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.008, allocations: 3.906 kB / 0.5978 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001559/1.008, allocations: 195.2 kB / 0.598 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002925/1.008, allocations: 0.5622 MB / 0.5985 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/1.008, allocations: 96.94 kB / 0.5986 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/1.008, allocations: 3.906 kB / 0.5986 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/1.008, allocations: 11.94 kB / 0.5986 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/1.008, allocations: 11.48 kB / 0.5986 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/1.008, allocations: 0 / 0.5986 GB, free: 6.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001218/1.009, allocations: 155.2 kB / 0.5988 GB, free: 6.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008865/1.01, allocations: 35.36 kB / 0.5988 GB, free: 6.324 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.000681/1.01, allocations: 328.9 kB / 0.5991 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/1.01, allocations: 45.19 kB / 0.5992 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.01, allocations: 0 / 0.5992 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/1.01, allocations: 22.75 kB / 0.5992 GB, free: 6.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/1.011, allocations: 17.61 kB / 0.5992 GB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/1.011, allocations: 181.4 kB / 0.5994 GB, free: 5.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/1.012, allocations: 0.7309 MB / 0.6001 GB, free: 5.078 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/1.012, allocations: 0 / 0.6001 GB, free: 5.078 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat does not exist to compare? outputFormat=mat