Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",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.001298/0.001298, allocations: 203.3 kB / 8.536 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 95.53 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.329/0.329, allocations: 45.15 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3715/0.7005, allocations: 69.38 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.8392, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/1.275, allocations: 88.68 MB / 0.5905 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/1.275, allocations: 71.72 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.01484/1.29, allocations: 5.249 MB / 0.5957 GB, free: 9.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.29, allocations: 12 kB / 0.5957 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/1.29, allocations: 15.81 kB / 0.5957 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/1.29, allocations: 215.4 kB / 0.5959 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/1.29, allocations: 4 kB / 0.5959 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/1.29, allocations: 0 / 0.5959 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001129/1.29, allocations: 16 kB / 0.5959 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.29, allocations: 45.47 kB / 0.596 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/1.291, allocations: 3.938 kB / 0.596 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.291, allocations: 0 / 0.596 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.291, allocations: 0 / 0.596 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/1.291, allocations: 289.2 kB / 0.5962 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.681e-05/1.291, allocations: 29.47 kB / 0.5963 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/1.291, allocations: 12.23 kB / 0.5963 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/1.291, allocations: 0 / 0.5963 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/1.291, allocations: 30.56 kB / 0.5963 GB, free: 8.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/1.291, allocations: 4 kB / 0.5963 GB, free: 8.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006172/1.292, allocations: 153.8 kB / 0.5965 GB, free: 8.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/1.292, allocations: 55.41 kB / 0.5965 GB, free: 8.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/1.292, allocations: 225.8 kB / 0.5967 GB, free: 8.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/1.292, allocations: 25.7 kB / 0.5968 GB, free: 8.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/1.292, allocations: 101.9 kB / 0.5969 GB, free: 8.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/1.292, allocations: 26.25 kB / 0.5969 GB, free: 8.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/1.292, allocations: 0 / 0.5969 GB, free: 8.336 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.648e-05/1.292, allocations: 325.8 kB / 0.5972 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.022e-05/1.293, allocations: 11.31 kB / 0.5972 GB, free: 8.008 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/1.293, allocations: 17.73 kB / 0.5972 GB, free: 7.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/1.293, allocations: 17.44 kB / 0.5972 GB, free: 7.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/1.293, allocations: 0 / 0.5972 GB, free: 7.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001326/1.293, allocations: 83.69 kB / 0.5973 GB, free: 7.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.293, allocations: 8 kB / 0.5973 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.293, allocations: 0 / 0.5973 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/1.293, allocations: 0 / 0.5973 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/1.293, allocations: 19.98 kB / 0.5973 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/1.293, allocations: 0 / 0.5973 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/1.293, allocations: 9.125 kB / 0.5973 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.293, allocations: 0 / 0.5973 GB, free: 7.875 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.547e-05/1.293, allocations: 112.9 kB / 0.5975 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/1.293, allocations: 19.75 kB / 0.5975 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/1.293, allocations: 101.9 kB / 0.5976 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/1.293, allocations: 0 / 0.5976 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.293, allocations: 4 kB / 0.5976 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.293, allocations: 0 / 0.5976 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/1.294, allocations: 382.8 kB / 0.5979 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.294, allocations: 0 / 0.5979 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/1.294, allocations: 19.98 kB / 0.598 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.294, allocations: 4 kB / 0.598 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/1.294, allocations: 0 / 0.598 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.294, allocations: 0 / 0.598 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/1.294, allocations: 3.906 kB / 0.598 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002481/1.294, allocations: 200.2 kB / 0.5982 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003553/1.295, allocations: 0.5625 MB / 0.5987 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.308e-05/1.295, allocations: 108.6 kB / 0.5988 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/1.295, allocations: 0 / 0.5988 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/1.295, allocations: 15.86 kB / 0.5988 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/1.295, allocations: 11.89 kB / 0.5988 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/1.295, allocations: 4 kB / 0.5988 GB, free: 6.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000164/1.295, allocations: 178 kB / 0.599 GB, free: 6.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009797/1.296, allocations: 26.94 kB / 0.599 GB, free: 6.141 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.0007866/1.297, allocations: 331.5 kB / 0.5994 GB, free: 5.891 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/1.297, allocations: 38.8 kB / 0.5994 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.297, allocations: 0 / 0.5994 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/1.297, allocations: 35.23 kB / 0.5994 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/1.297, allocations: 11.44 kB / 0.5994 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/1.298, allocations: 209.8 kB / 0.5996 GB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/1.298, allocations: 0.7414 MB / 0.6004 GB, free: 4.848 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/1.298, allocations: 0 / 0.6004 GB, free: 4.848 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat does not exist to compare? outputFormat=mat