Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",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.001299/0.001298, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 91.53 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.2357/0.2357, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3128/0.5485, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.6917, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/1.139, allocations: 88.8 MB / 0.5906 GB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.14, allocations: 71.44 kB / 0.5906 GB, free: 13.98 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.01437/1.154, allocations: 5.142 MB / 0.5957 GB, free: 9.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.154, allocations: 8 kB / 0.5957 GB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/1.154, allocations: 16.38 kB / 0.5957 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/1.154, allocations: 207.1 kB / 0.5959 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/1.154, allocations: 3.938 kB / 0.5959 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/1.154, allocations: 7.906 kB / 0.5959 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.665e-05/1.155, allocations: 15.19 kB / 0.5959 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/1.155, allocations: 44.38 kB / 0.596 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.155, allocations: 3.938 kB / 0.596 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.155, allocations: 3.984 kB / 0.596 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/1.155, allocations: 4 kB / 0.596 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/1.155, allocations: 281.4 kB / 0.5962 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/1.155, allocations: 33.52 kB / 0.5963 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/1.155, allocations: 12.11 kB / 0.5963 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/1.155, allocations: 4 kB / 0.5963 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.155, allocations: 34.56 kB / 0.5963 GB, free: 8.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/1.155, allocations: 0 / 0.5963 GB, free: 8.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006261/1.156, allocations: 164.5 kB / 0.5965 GB, free: 8.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/1.156, allocations: 51.41 kB / 0.5965 GB, free: 8.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/1.156, allocations: 200.1 kB / 0.5967 GB, free: 8.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.156, allocations: 29.7 kB / 0.5967 GB, free: 8.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/1.156, allocations: 95.28 kB / 0.5968 GB, free: 8.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/1.157, allocations: 27.33 kB / 0.5969 GB, free: 8.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/1.157, allocations: 0 / 0.5969 GB, free: 8.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/1.157, allocations: 325.4 kB / 0.5972 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/1.157, allocations: 18.38 kB / 0.5972 GB, free: 8.047 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/1.157, allocations: 22.73 kB / 0.5972 GB, free: 8.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/1.157, allocations: 23.53 kB / 0.5972 GB, free: 8.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/1.157, allocations: 0 / 0.5972 GB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001929/1.157, allocations: 95.8 kB / 0.5973 GB, free: 7.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.157, allocations: 4 kB / 0.5973 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.157, allocations: 0 / 0.5973 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.157, allocations: 0 / 0.5973 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/1.157, allocations: 23.92 kB / 0.5973 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.157, allocations: 4 kB / 0.5974 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/1.157, allocations: 17.02 kB / 0.5974 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/1.157, allocations: 3.75 kB / 0.5974 GB, free: 7.883 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 8.656e-05/1.157, allocations: 105 kB / 0.5975 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/1.157, allocations: 11.81 kB / 0.5975 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/1.158, allocations: 109.5 kB / 0.5976 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/1.158, allocations: 0 / 0.5976 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.158, allocations: 4.281 kB / 0.5976 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.158, allocations: 0 / 0.5976 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/1.158, allocations: 392.7 kB / 0.598 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.158, allocations: 0 / 0.598 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/1.158, allocations: 27.91 kB / 0.598 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.158, allocations: 0 / 0.598 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.158, allocations: 4 kB / 0.598 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.158, allocations: 0 / 0.598 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.158, allocations: 4.141 kB / 0.598 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000192/1.159, allocations: 210.5 kB / 0.5982 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003408/1.159, allocations: 0.5795 MB / 0.5988 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/1.159, allocations: 93 kB / 0.5989 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/1.159, allocations: 3.906 kB / 0.5989 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/1.159, allocations: 11.94 kB / 0.5989 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/1.159, allocations: 7.797 kB / 0.5989 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/1.159, allocations: 4 kB / 0.5989 GB, free: 6.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000132/1.159, allocations: 153.1 kB / 0.599 GB, free: 6.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000985/1.16, allocations: 31.44 kB / 0.5991 GB, free: 6.145 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.001104/1.161, allocations: 323 kB / 0.5994 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/1.162, allocations: 63.16 kB / 0.5994 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.162, allocations: 0 / 0.5994 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.333e-05/1.162, allocations: 35.11 kB / 0.5995 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/1.162, allocations: 12.03 kB / 0.5995 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/1.163, allocations: 190.8 kB / 0.5997 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/1.163, allocations: 0.73 MB / 0.6004 GB, free: 4.879 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/1.163, allocations: 4.062 kB / 0.6004 GB, free: 4.875 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat does not exist to compare? outputFormat=mat