Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001854/0.001853, allocations: 194.6 kB / 8.53 MB, free: 1.688 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 88.44 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 45.14 MB / 383.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2927/0.5199, allocations: 69.36 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.6523, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4115/1.064, allocations: 88.69 MB / 0.5905 GB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.064, allocations: 76.45 kB / 0.5905 GB, free: 14.07 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.01448/1.079, allocations: 5.12 MB / 0.5955 GB, free: 9.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.079, allocations: 8 kB / 0.5956 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/1.079, allocations: 19.8 kB / 0.5956 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/1.079, allocations: 198.5 kB / 0.5958 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/1.079, allocations: 8 kB / 0.5958 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/1.079, allocations: 11.84 kB / 0.5958 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.089e-05/1.079, allocations: 14.44 kB / 0.5958 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/1.079, allocations: 46.73 kB / 0.5958 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.08, allocations: 0 / 0.5958 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/1.08, allocations: 0 / 0.5958 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/1.08, allocations: 0 / 0.5958 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/1.08, allocations: 275.5 kB / 0.5961 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.749e-05/1.08, allocations: 36.83 kB / 0.5961 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/1.08, allocations: 12.61 kB / 0.5961 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/1.08, allocations: 0 / 0.5961 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/1.08, allocations: 30.56 kB / 0.5962 GB, free: 9.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/1.08, allocations: 0 / 0.5962 GB, free: 9.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005665/1.081, allocations: 147.2 kB / 0.5963 GB, free: 8.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/1.081, allocations: 55.39 kB / 0.5964 GB, free: 8.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/1.081, allocations: 197.8 kB / 0.5966 GB, free: 8.664 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/1.081, allocations: 25.7 kB / 0.5966 GB, free: 8.633 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/1.081, allocations: 95.72 kB / 0.5967 GB, free: 8.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/1.081, allocations: 30.83 kB / 0.5967 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/1.081, allocations: 0 / 0.5967 GB, free: 8.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/1.081, allocations: 326.2 kB / 0.597 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/1.081, allocations: 15.12 kB / 0.597 GB, free: 8.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/1.081, allocations: 12.02 kB / 0.597 GB, free: 8.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.087e-05/1.081, allocations: 23.14 kB / 0.5971 GB, free: 8.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/1.081, allocations: 0 / 0.5971 GB, free: 8.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001436/1.082, allocations: 76.59 kB / 0.5971 GB, free: 8.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.082, allocations: 4 kB / 0.5971 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.082, allocations: 3.984 kB / 0.5971 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.082, allocations: 0 / 0.5971 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/1.082, allocations: 23.94 kB / 0.5972 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.082, allocations: 0 / 0.5972 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/1.082, allocations: 17.02 kB / 0.5972 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/1.082, allocations: 0 / 0.5972 GB, free: 8.039 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.574e-05/1.082, allocations: 101 kB / 0.5973 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/1.082, allocations: 15.81 kB / 0.5973 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/1.082, allocations: 97.5 kB / 0.5974 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.082, allocations: 4 kB / 0.5974 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/1.082, allocations: 3.984 kB / 0.5974 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.082, allocations: 0 / 0.5974 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/1.083, allocations: 367.6 kB / 0.5977 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.083, allocations: 0 / 0.5977 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/1.083, allocations: 27.95 kB / 0.5978 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/1.083, allocations: 4 kB / 0.5978 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/1.083, allocations: 0 / 0.5978 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.083, allocations: 0 / 0.5978 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.083, allocations: 3.906 kB / 0.5978 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001878/1.083, allocations: 190.5 kB / 0.598 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003133/1.083, allocations: 0.5734 MB / 0.5985 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/1.083, allocations: 92.39 kB / 0.5986 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/1.083, allocations: 3.906 kB / 0.5986 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/1.084, allocations: 23.91 kB / 0.5986 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/1.084, allocations: 4 kB / 0.5986 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/1.084, allocations: 4 kB / 0.5986 GB, free: 6.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001485/1.084, allocations: 150.4 kB / 0.5988 GB, free: 6.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009665/1.085, allocations: 34.62 kB / 0.5988 GB, free: 6.344 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.0009517/1.086, allocations: 328.4 kB / 0.5991 GB, free: 6.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/1.086, allocations: 38.56 kB / 0.5992 GB, free: 6.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.086, allocations: 0 / 0.5992 GB, free: 6.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/1.086, allocations: 23.25 kB / 0.5992 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/1.086, allocations: 15.05 kB / 0.5992 GB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/1.087, allocations: 184.7 kB / 0.5994 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/1.087, allocations: 0.7309 MB / 0.6001 GB, free: 5.098 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/1.087, allocations: 0 / 0.6001 GB, free: 5.098 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat does not exist to compare? outputFormat=mat