Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",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.001193/0.001193, allocations: 195.1 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, 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.0009788/0.0009787, allocations: 93.14 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2723/0.2723, allocations: 45.14 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2448/0.5172, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.6181, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.9607, allocations: 88.59 MB / 0.5904 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.9611, allocations: 74.27 kB / 0.5904 GB, free: 14.14 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.01222/0.9733, allocations: 4.521 MB / 0.5949 GB, free: 10.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.9733, allocations: 8 kB / 0.5949 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.9734, allocations: 12.56 kB / 0.5949 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.9736, allocations: 197.1 kB / 0.5951 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.9737, allocations: 0 / 0.5951 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.9737, allocations: 7.984 kB / 0.5951 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.291e-05/0.9738, allocations: 15.73 kB / 0.5951 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.9738, allocations: 36.52 kB / 0.5951 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9739, allocations: 3.906 kB / 0.5951 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.9739, allocations: 8 kB / 0.5951 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9739, allocations: 3.938 kB / 0.5951 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.9742, allocations: 251.4 kB / 0.5954 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.9744, allocations: 33.52 kB / 0.5954 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.9744, allocations: 15.8 kB / 0.5954 GB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.9744, allocations: 4 kB / 0.5954 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.9745, allocations: 30.56 kB / 0.5955 GB, free: 9.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.9745, allocations: 0 / 0.5955 GB, free: 9.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003765/0.9748, allocations: 96.23 kB / 0.5956 GB, free: 9.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.9749, allocations: 51.41 kB / 0.5956 GB, free: 9.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.975, allocations: 139.4 kB / 0.5957 GB, free: 9.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.9751, allocations: 25.7 kB / 0.5958 GB, free: 9.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.9751, allocations: 86.89 kB / 0.5958 GB, free: 9.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.9751, allocations: 22.2 kB / 0.5959 GB, free: 9.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.9751, allocations: 0 / 0.5959 GB, free: 9.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.9752, allocations: 318 kB / 0.5962 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.9753, allocations: 7.375 kB / 0.5962 GB, free: 8.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.9753, allocations: 11.25 kB / 0.5962 GB, free: 8.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.9753, allocations: 19.23 kB / 0.5962 GB, free: 8.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.9753, allocations: 0 / 0.5962 GB, free: 8.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001056/0.9754, allocations: 59.36 kB / 0.5963 GB, free: 8.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.9755, allocations: 4 kB / 0.5963 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9755, allocations: 3.984 kB / 0.5963 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.9755, allocations: 0 / 0.5963 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.9756, allocations: 15.94 kB / 0.5963 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.9756, allocations: 0 / 0.5963 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.9757, allocations: 11.98 kB / 0.5963 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.9757, allocations: 4 kB / 0.5963 GB, free: 8.797 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 5.966e-05/0.9757, allocations: 104.9 kB / 0.5964 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.9758, allocations: 7.906 kB / 0.5964 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.9759, allocations: 68.67 kB / 0.5965 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9759, allocations: 0 / 0.5965 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9759, allocations: 0 / 0.5965 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.976, allocations: 8 kB / 0.5965 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.9762, allocations: 305.7 kB / 0.5968 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9763, allocations: 384 / 0.5968 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.9763, allocations: 12 kB / 0.5968 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.9763, allocations: 4 kB / 0.5968 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.9764, allocations: 0 / 0.5968 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9764, allocations: 0 / 0.5968 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9764, allocations: 0 / 0.5968 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001335/0.9765, allocations: 163.7 kB / 0.5969 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002763/0.9768, allocations: 0.5282 MB / 0.5975 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.9768, allocations: 92.94 kB / 0.5975 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.9769, allocations: 3.906 kB / 0.5976 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.977, allocations: 8 kB / 0.5976 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.977, allocations: 7.984 kB / 0.5976 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.977, allocations: 0 / 0.5976 GB, free: 7.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.532e-05/0.9771, allocations: 111.8 kB / 0.5977 GB, free: 7.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008084/0.9779, allocations: 19.81 kB / 0.5977 GB, free: 7.324 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.000598/0.9785, allocations: 310.2 kB / 0.598 GB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.017e-05/0.9786, allocations: 28.69 kB / 0.598 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9786, allocations: 0 / 0.598 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.801e-05/0.9787, allocations: 15.38 kB / 0.598 GB, free: 7.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.9789, allocations: 11.23 kB / 0.598 GB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.9792, allocations: 112.9 kB / 0.5981 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.9795, allocations: 0.7144 MB / 0.5988 GB, free: 6.176 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9795, allocations: 0 / 0.5988 GB, free: 6.176 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat does not exist to compare? outputFormat=mat