Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001741/0.001741, allocations: 199.5 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001005, allocations: 96.5 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 45.14 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.32/0.5431, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.6792, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/1.122, allocations: 88.59 MB / 0.5904 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.123, allocations: 74.02 kB / 0.5905 GB, free: 14.41 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.01336/1.136, allocations: 4.607 MB / 0.5949 GB, free: 10.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.136, allocations: 11.98 kB / 0.595 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/1.136, allocations: 7.906 kB / 0.595 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/1.136, allocations: 202.8 kB / 0.5952 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/1.137, allocations: 3.906 kB / 0.5952 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/1.137, allocations: 0 / 0.5952 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.347e-05/1.137, allocations: 11.38 kB / 0.5952 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.14e-05/1.137, allocations: 45.38 kB / 0.5952 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/1.137, allocations: 0 / 0.5952 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/1.137, allocations: 0 / 0.5952 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.137, allocations: 0 / 0.5952 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/1.137, allocations: 261.8 kB / 0.5955 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/1.137, allocations: 28.47 kB / 0.5955 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/1.137, allocations: 12.17 kB / 0.5955 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/1.137, allocations: 8.078 kB / 0.5955 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/1.137, allocations: 30.56 kB / 0.5955 GB, free: 9.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/1.137, allocations: 0 / 0.5955 GB, free: 9.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004092/1.138, allocations: 98.86 kB / 0.5956 GB, free: 9.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/1.138, allocations: 55.41 kB / 0.5957 GB, free: 9.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/1.138, allocations: 159 kB / 0.5958 GB, free: 9.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/1.138, allocations: 25.7 kB / 0.5959 GB, free: 9.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/1.138, allocations: 94.25 kB / 0.596 GB, free: 9.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/1.138, allocations: 8.562 kB / 0.596 GB, free: 9.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.138, allocations: 0 / 0.596 GB, free: 9.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/1.138, allocations: 329.6 kB / 0.5963 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/1.138, allocations: 7.062 kB / 0.5963 GB, free: 9.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/1.138, allocations: 7.812 kB / 0.5963 GB, free: 9.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/1.138, allocations: 11.31 kB / 0.5963 GB, free: 9.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/1.138, allocations: 7.938 kB / 0.5963 GB, free: 9.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001051/1.139, allocations: 59.34 kB / 0.5964 GB, free: 9.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.139, allocations: 7.938 kB / 0.5964 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/1.139, allocations: 0 / 0.5964 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.139, allocations: 0 / 0.5964 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/1.139, allocations: 20.17 kB / 0.5964 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/1.139, allocations: 0 / 0.5964 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/1.139, allocations: 16 kB / 0.5964 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/1.139, allocations: 0 / 0.5964 GB, free: 8.977 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 6.542e-05/1.139, allocations: 104.9 kB / 0.5965 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/1.139, allocations: 8.047 kB / 0.5965 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/1.139, allocations: 76.59 kB / 0.5966 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/1.139, allocations: 0 / 0.5966 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.139, allocations: 0 / 0.5966 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.139, allocations: 3.906 kB / 0.5966 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/1.139, allocations: 318.1 kB / 0.5969 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/1.139, allocations: 0 / 0.5969 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/1.14, allocations: 12 kB / 0.5969 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.14, allocations: 0 / 0.5969 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/1.14, allocations: 4 kB / 0.5969 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.14, allocations: 3.906 kB / 0.5969 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.14, allocations: 0 / 0.5969 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001372/1.14, allocations: 161.8 kB / 0.5971 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002647/1.14, allocations: 0.5263 MB / 0.5976 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/1.14, allocations: 91.81 kB / 0.5977 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/1.14, allocations: 256 / 0.5977 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/1.14, allocations: 11.98 kB / 0.5977 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/1.14, allocations: 8 kB / 0.5977 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/1.14, allocations: 0 / 0.5977 GB, free: 7.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001138/1.14, allocations: 143.4 kB / 0.5978 GB, free: 7.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008886/1.141, allocations: 23 kB / 0.5979 GB, free: 7.473 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.0007202/1.142, allocations: 300.6 kB / 0.5981 GB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/1.142, allocations: 26.5 kB / 0.5982 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.142, allocations: 0 / 0.5982 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/1.142, allocations: 17.81 kB / 0.5982 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/1.142, allocations: 11.05 kB / 0.5982 GB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/1.143, allocations: 138 kB / 0.5983 GB, free: 7.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/1.143, allocations: 0.7141 MB / 0.599 GB, free: 6.316 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/1.143, allocations: 4 kB / 0.599 GB, free: 6.312 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat does not exist to compare? outputFormat=mat