Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001261/0.001261, allocations: 202.1 kB / 8.543 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 99.62 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2571/0.2571, allocations: 45.13 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3289/0.5861, allocations: 69.37 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.7275, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/1.103, allocations: 88.69 MB / 0.5905 GB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/1.103, allocations: 72.03 kB / 0.5905 GB, free: 14.12 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.01425/1.118, allocations: 5.122 MB / 0.5955 GB, free: 9.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.118, allocations: 8 kB / 0.5956 GB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/1.118, allocations: 11.81 kB / 0.5956 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/1.118, allocations: 203.5 kB / 0.5958 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/1.118, allocations: 0 / 0.5958 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/1.118, allocations: 11.91 kB / 0.5958 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.127e-05/1.118, allocations: 19.67 kB / 0.5958 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.984e-05/1.118, allocations: 53.16 kB / 0.5958 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.118, allocations: 0 / 0.5958 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.118, allocations: 0 / 0.5958 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.118, allocations: 0 / 0.5958 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/1.119, allocations: 269.7 kB / 0.5961 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.956e-05/1.119, allocations: 36.72 kB / 0.5961 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/1.119, allocations: 8.859 kB / 0.5961 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/1.119, allocations: 4 kB / 0.5961 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/1.119, allocations: 34.12 kB / 0.5962 GB, free: 9.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.119, allocations: 0 / 0.5962 GB, free: 9.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005783/1.119, allocations: 154.3 kB / 0.5963 GB, free: 8.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/1.12, allocations: 51.41 kB / 0.5964 GB, free: 8.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/1.12, allocations: 201 kB / 0.5966 GB, free: 8.715 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/1.12, allocations: 25.7 kB / 0.5966 GB, free: 8.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/1.12, allocations: 94.91 kB / 0.5967 GB, free: 8.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/1.12, allocations: 23.28 kB / 0.5967 GB, free: 8.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/1.12, allocations: 0 / 0.5967 GB, free: 8.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/1.12, allocations: 326.3 kB / 0.597 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/1.12, allocations: 15.5 kB / 0.597 GB, free: 8.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/1.12, allocations: 14.94 kB / 0.597 GB, free: 8.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/1.12, allocations: 23.83 kB / 0.5971 GB, free: 8.211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/1.12, allocations: 0.75 kB / 0.5971 GB, free: 8.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001208/1.12, allocations: 71.59 kB / 0.5971 GB, free: 8.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/1.12, allocations: 8 kB / 0.5971 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.12, allocations: 0 / 0.5971 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/1.12, allocations: 0 / 0.5971 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/1.121, allocations: 35.3 kB / 0.5972 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.121, allocations: 0 / 0.5972 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/1.121, allocations: 13.03 kB / 0.5972 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/1.121, allocations: 3.938 kB / 0.5972 GB, free: 8.09 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.148e-05/1.121, allocations: 105 kB / 0.5973 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/1.121, allocations: 15.81 kB / 0.5973 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/1.121, allocations: 96.56 kB / 0.5974 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/1.121, allocations: 0 / 0.5974 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.121, allocations: 4 kB / 0.5974 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.121, allocations: 0 / 0.5974 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/1.121, allocations: 369.2 kB / 0.5978 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.121, allocations: 0 / 0.5978 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.093e-05/1.121, allocations: 27.95 kB / 0.5978 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.121, allocations: 0 / 0.5978 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.121, allocations: 4 kB / 0.5978 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.121, allocations: 0 / 0.5978 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.121, allocations: 3.906 kB / 0.5978 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001783/1.122, allocations: 190.2 kB / 0.598 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003282/1.122, allocations: 0.5724 MB / 0.5985 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/1.122, allocations: 89 kB / 0.5986 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/1.122, allocations: 7.906 kB / 0.5986 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/1.122, allocations: 11.94 kB / 0.5986 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/1.122, allocations: 10.98 kB / 0.5986 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/1.122, allocations: 0 / 0.5986 GB, free: 6.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001297/1.122, allocations: 152.8 kB / 0.5988 GB, free: 6.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009712/1.123, allocations: 31.31 kB / 0.5988 GB, free: 6.402 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.0007406/1.124, allocations: 330.9 kB / 0.5991 GB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/1.124, allocations: 46.42 kB / 0.5992 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.124, allocations: 0 / 0.5992 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/1.124, allocations: 22.81 kB / 0.5992 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/1.125, allocations: 15.36 kB / 0.5992 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/1.125, allocations: 185.4 kB / 0.5994 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/1.125, allocations: 0.7231 MB / 0.6001 GB, free: 5.156 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/1.125, allocations: 0 / 0.6001 GB, free: 5.156 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat does not exist to compare? outputFormat=mat