Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",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.001541/0.001541, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009656/0.0009656, allocations: 86.89 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 45.14 MB / 383.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.263/0.5102, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.6361, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/1.011, allocations: 88.8 MB / 0.5906 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.012, allocations: 74.7 kB / 0.5907 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01399/1.026, allocations: 5.126 MB / 0.5957 GB, free: 9.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.026, allocations: 12 kB / 0.5957 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/1.026, allocations: 18.69 kB / 0.5957 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/1.026, allocations: 214.7 kB / 0.5959 GB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/1.026, allocations: 0 / 0.5959 GB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/1.026, allocations: 3.906 kB / 0.5959 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.183e-05/1.026, allocations: 15.5 kB / 0.5959 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/1.026, allocations: 47.69 kB / 0.596 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.026, allocations: 0 / 0.596 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/1.026, allocations: 0 / 0.596 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.026, allocations: 0 / 0.596 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/1.027, allocations: 293.7 kB / 0.5962 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/1.027, allocations: 32.16 kB / 0.5963 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/1.027, allocations: 12.84 kB / 0.5963 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/1.027, allocations: 96 / 0.5963 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/1.027, allocations: 34.55 kB / 0.5963 GB, free: 9.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/1.027, allocations: 4 kB / 0.5963 GB, free: 9.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006503/1.028, allocations: 164 kB / 0.5965 GB, free: 8.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/1.028, allocations: 55.41 kB / 0.5965 GB, free: 8.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/1.028, allocations: 202.2 kB / 0.5967 GB, free: 8.695 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.028, allocations: 25.7 kB / 0.5967 GB, free: 8.664 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/1.028, allocations: 99.34 kB / 0.5968 GB, free: 8.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/1.028, allocations: 25.22 kB / 0.5969 GB, free: 8.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/1.028, allocations: 0 / 0.5969 GB, free: 8.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/1.028, allocations: 321.9 kB / 0.5972 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/1.029, allocations: 18.86 kB / 0.5972 GB, free: 8.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/1.029, allocations: 18.62 kB / 0.5972 GB, free: 8.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/1.029, allocations: 33.45 kB / 0.5972 GB, free: 8.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/1.029, allocations: 0 / 0.5972 GB, free: 8.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000155/1.029, allocations: 94.2 kB / 0.5973 GB, free: 8.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.029, allocations: 12 kB / 0.5973 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.029, allocations: 0 / 0.5973 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.029, allocations: 0 / 0.5973 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/1.029, allocations: 19.98 kB / 0.5974 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.029, allocations: 0 / 0.5974 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/1.029, allocations: 9.031 kB / 0.5974 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/1.029, allocations: 7.125 kB / 0.5974 GB, free: 8.051 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 7.805e-05/1.029, allocations: 105 kB / 0.5975 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/1.029, allocations: 19.81 kB / 0.5975 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/1.029, allocations: 108.9 kB / 0.5976 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.03, allocations: 0 / 0.5976 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.03, allocations: 4 kB / 0.5976 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.03, allocations: 3.984 kB / 0.5976 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/1.03, allocations: 391.2 kB / 0.598 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.03, allocations: 0 / 0.598 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.112e-05/1.03, allocations: 16 kB / 0.598 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.03, allocations: 4 kB / 0.598 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.03, allocations: 3.984 kB / 0.598 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.03, allocations: 0 / 0.598 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.03, allocations: 3.906 kB / 0.598 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001931/1.03, allocations: 209.5 kB / 0.5982 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000328/1.031, allocations: 0.5781 MB / 0.5988 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/1.031, allocations: 92.33 kB / 0.5989 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/1.031, allocations: 3.906 kB / 0.5989 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/1.031, allocations: 11.92 kB / 0.5989 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/1.031, allocations: 4 kB / 0.5989 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/1.031, allocations: 4 kB / 0.5989 GB, free: 6.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001274/1.031, allocations: 150.2 kB / 0.599 GB, free: 6.348 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009039/1.032, allocations: 34.12 kB / 0.5991 GB, free: 6.32 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.0007895/1.033, allocations: 343 kB / 0.5994 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/1.033, allocations: 50.42 kB / 0.5994 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.033, allocations: 4 kB / 0.5994 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.021e-05/1.033, allocations: 35.31 kB / 0.5995 GB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/1.033, allocations: 10.86 kB / 0.5995 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/1.034, allocations: 189.5 kB / 0.5997 GB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/1.034, allocations: 0.7335 MB / 0.6004 GB, free: 5.043 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/1.034, allocations: 0 / 0.6004 GB, free: 5.043 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat does not exist to compare? outputFormat=mat