Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001332/0.001333, allocations: 203.7 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.291/1.291, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009532/0.0009531, allocations: 92.44 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 45.13 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2528/0.4633, allocations: 69.38 MB / 452.7 MB, free: 76.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.5764, allocations: 63.24 MB / 0.5039 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3121/0.8885, allocations: 88.59 MB / 0.5904 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.8887, allocations: 66.28 kB / 0.5904 GB, free: 14.24 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.01247/0.9012, allocations: 4.52 MB / 0.5949 GB, free: 10.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.9013, allocations: 8 kB / 0.5949 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.9013, allocations: 11.81 kB / 0.5949 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.9017, allocations: 201.6 kB / 0.5951 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.9017, allocations: 0 / 0.5951 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.9017, allocations: 4.656 kB / 0.5951 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.762e-05/0.9018, allocations: 15.73 kB / 0.5951 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.064e-05/0.9019, allocations: 33.02 kB / 0.5951 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.9019, allocations: 11.91 kB / 0.5951 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.9019, allocations: 0 / 0.5951 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.9019, allocations: 0 / 0.5951 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.9023, allocations: 251.3 kB / 0.5954 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.9025, allocations: 37.02 kB / 0.5954 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.139e-05/0.9026, allocations: 16.28 kB / 0.5954 GB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.9026, allocations: 4 kB / 0.5954 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.9026, allocations: 30.56 kB / 0.5955 GB, free: 9.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.9026, allocations: 0 / 0.5955 GB, free: 9.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004005/0.9031, allocations: 95.8 kB / 0.5955 GB, free: 9.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.9031, allocations: 54.78 kB / 0.5956 GB, free: 9.609 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.9032, allocations: 138.1 kB / 0.5957 GB, free: 9.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.9033, allocations: 25.7 kB / 0.5958 GB, free: 9.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.9033, allocations: 87.45 kB / 0.5958 GB, free: 9.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.9034, allocations: 23.08 kB / 0.5959 GB, free: 9.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.9034, allocations: 0 / 0.5959 GB, free: 9.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9035, allocations: 318 kB / 0.5962 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.9035, allocations: 7.438 kB / 0.5962 GB, free: 9.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.9035, allocations: 15.31 kB / 0.5962 GB, free: 9.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.726e-05/0.9036, allocations: 11.3 kB / 0.5962 GB, free: 9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.9036, allocations: 4 kB / 0.5962 GB, free: 8.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.446e-05/0.9037, allocations: 56.48 kB / 0.5962 GB, free: 8.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9037, allocations: 6.969 kB / 0.5963 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9037, allocations: 64 / 0.5963 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9037, allocations: 4 kB / 0.5963 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.9038, allocations: 19.92 kB / 0.5963 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.9038, allocations: 0 / 0.5963 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.9039, allocations: 15.98 kB / 0.5963 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.9039, allocations: 0 / 0.5963 GB, free: 8.898 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 8.67e-05/0.904, allocations: 104.9 kB / 0.5964 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.904, allocations: 10.97 kB / 0.5964 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.9042, allocations: 64.75 kB / 0.5965 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.9042, allocations: 0 / 0.5965 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.9042, allocations: 7.984 kB / 0.5965 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9042, allocations: 0 / 0.5965 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.9046, allocations: 308.6 kB / 0.5968 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9046, allocations: 0 / 0.5968 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.9047, allocations: 15.98 kB / 0.5968 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.9047, allocations: 0 / 0.5968 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.9047, allocations: 0 / 0.5968 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.9047, allocations: 0 / 0.5968 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9047, allocations: 0 / 0.5968 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001434/0.9048, allocations: 166.4 kB / 0.5969 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002908/0.9051, allocations: 0.5227 MB / 0.5975 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.9052, allocations: 92.5 kB / 0.5975 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.9052, allocations: 7.906 kB / 0.5975 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.9053, allocations: 11.94 kB / 0.5976 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.9054, allocations: 7.984 kB / 0.5976 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.9054, allocations: 0 / 0.5976 GB, free: 7.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.595e-05/0.9055, allocations: 110.3 kB / 0.5977 GB, free: 7.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008762/0.9063, allocations: 18.81 kB / 0.5977 GB, free: 7.426 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.0006465/0.907, allocations: 301.3 kB / 0.598 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.9071, allocations: 30.31 kB / 0.598 GB, free: 7.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9071, allocations: 4 kB / 0.598 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.9071, allocations: 11.06 kB / 0.598 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.9074, allocations: 15.61 kB / 0.598 GB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.9077, allocations: 110 kB / 0.5981 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.908, allocations: 0.7075 MB / 0.5988 GB, free: 6.289 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.908, allocations: 4 kB / 0.5988 GB, free: 6.285 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat