Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",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.001314/0.001314, allocations: 204.2 kB / 8.535 MB, free: 464 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 225.5 MB / 234.4 MB, free: 9.473 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 89.83 kB / 286.3 MB, free: 5.922 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 45.14 MB / 383.3 MB, free: 4.957 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2779/0.5125, allocations: 69.36 MB / 452.7 MB, free: 48.23 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.6613, allocations: 63.25 MB / 0.5039 GB, free: 0.918 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/1.136, allocations: 88.81 MB / 0.5906 GB, free: 14.93 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.137, allocations: 71.97 kB / 0.5907 GB, free: 14.86 MB / 418.8 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.01579/1.153, allocations: 5.256 MB / 0.5958 GB, free: 9.562 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.153, allocations: 8 kB / 0.5958 GB, free: 9.555 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/1.153, allocations: 11.81 kB / 0.5958 GB, free: 9.543 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/1.153, allocations: 215.6 kB / 0.596 GB, free: 9.289 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/1.153, allocations: 3.938 kB / 0.596 GB, free: 9.285 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/1.153, allocations: 7.984 kB / 0.596 GB, free: 9.277 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.052e-05/1.153, allocations: 20 kB / 0.596 GB, free: 9.258 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/1.153, allocations: 49.58 kB / 0.5961 GB, free: 9.203 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.153, allocations: 0 / 0.5961 GB, free: 9.203 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/1.153, allocations: 0 / 0.5961 GB, free: 9.203 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.153, allocations: 4 kB / 0.5961 GB, free: 9.199 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/1.154, allocations: 297.3 kB / 0.5964 GB, free: 8.871 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/1.154, allocations: 29.75 kB / 0.5964 GB, free: 8.836 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/1.154, allocations: 16.84 kB / 0.5964 GB, free: 8.816 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/1.154, allocations: 4 kB / 0.5964 GB, free: 8.812 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/1.154, allocations: 30.56 kB / 0.5965 GB, free: 8.773 MB / 418.8 MB Notification: Performance of pre-optimization done (n=4): time 3.316e-06/1.154, allocations: 3.984 kB / 0.5965 GB, free: 8.77 MB / 418.8 MB Notification: Performance of matching and sorting (n=8): time 0.0006421/1.155, allocations: 169 kB / 0.5966 GB, free: 8.598 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/1.155, allocations: 55.41 kB / 0.5967 GB, free: 8.531 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/1.155, allocations: 222 kB / 0.5969 GB, free: 8.305 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/1.155, allocations: 25.7 kB / 0.5969 GB, free: 8.273 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/1.155, allocations: 100.1 kB / 0.597 GB, free: 8.172 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/1.155, allocations: 23.55 kB / 0.597 GB, free: 8.148 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/1.155, allocations: 4 kB / 0.597 GB, free: 8.145 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001527/1.156, allocations: 330.8 kB / 0.5973 GB, free: 7.812 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/1.156, allocations: 16 kB / 0.5974 GB, free: 7.797 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/1.156, allocations: 19.98 kB / 0.5974 GB, free: 7.777 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/1.156, allocations: 23.94 kB / 0.5974 GB, free: 7.754 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.156, allocations: 0 / 0.5974 GB, free: 7.754 MB / 418.8 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001799/1.156, allocations: 101.5 kB / 0.5975 GB, free: 7.648 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.156, allocations: 4 kB / 0.5975 GB, free: 7.645 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.156, allocations: 0 / 0.5975 GB, free: 7.645 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/1.156, allocations: 0 / 0.5975 GB, free: 7.645 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/1.156, allocations: 27.92 kB / 0.5975 GB, free: 7.617 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.156, allocations: 0 / 0.5975 GB, free: 7.617 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/1.156, allocations: 13.11 kB / 0.5975 GB, free: 7.605 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/1.156, allocations: 4 kB / 0.5975 GB, free: 7.602 MB / 418.8 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.964e-05/1.156, allocations: 108.3 kB / 0.5976 GB, free: 7.492 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/1.156, allocations: 19.81 kB / 0.5977 GB, free: 7.473 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/1.157, allocations: 111.4 kB / 0.5978 GB, free: 7.359 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.157, allocations: 0 / 0.5978 GB, free: 7.359 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.157, allocations: 0 / 0.5978 GB, free: 7.359 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.157, allocations: 0 / 0.5978 GB, free: 7.359 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/1.157, allocations: 403.8 kB / 0.5982 GB, free: 6.918 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.157, allocations: 0 / 0.5982 GB, free: 6.918 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/1.157, allocations: 27.95 kB / 0.5982 GB, free: 6.891 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/1.157, allocations: 0 / 0.5982 GB, free: 6.891 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.157, allocations: 0 / 0.5982 GB, free: 6.891 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.157, allocations: 4 kB / 0.5982 GB, free: 6.887 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.157, allocations: 3.906 kB / 0.5982 GB, free: 6.883 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002496/1.158, allocations: 205.9 kB / 0.5984 GB, free: 6.656 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005006/1.158, allocations: 0.5803 MB / 0.599 GB, free: 6.047 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/1.158, allocations: 100.8 kB / 0.5991 GB, free: 5.93 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/1.158, allocations: 0 / 0.5991 GB, free: 5.93 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/1.158, allocations: 12 kB / 0.5991 GB, free: 5.918 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/1.159, allocations: 11.89 kB / 0.5991 GB, free: 5.906 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/1.159, allocations: 4 kB / 0.5991 GB, free: 5.902 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0001988/1.159, allocations: 175.2 kB / 0.5992 GB, free: 5.73 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.001032/1.16, allocations: 32 kB / 0.5993 GB, free: 5.699 MB / 418.8 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.00103/1.161, allocations: 333.5 kB / 0.5996 GB, free: 5.453 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0002532/1.161, allocations: 55.92 kB / 0.5996 GB, free: 5.398 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.161, allocations: 0 / 0.5996 GB, free: 5.398 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/1.161, allocations: 35.88 kB / 0.5997 GB, free: 5.363 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/1.162, allocations: 12.17 kB / 0.5997 GB, free: 5.344 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/1.162, allocations: 224.2 kB / 0.5999 GB, free: 5.098 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005601/1.163, allocations: 0.7413 MB / 0.6006 GB, free: 4.332 MB / 418.8 MB Notification: Performance of SimCode: time 3.61e-07/1.163, allocations: 0 / 0.6006 GB, free: 4.332 MB / 418.8 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat does not exist to compare? outputFormat=mat