Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001796/0.001796, 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.569/1.569, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009745/0.0009746, allocations: 93.02 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 45.15 MB / 383.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3277/0.5612, allocations: 69.36 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.7314, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/1.16, allocations: 88.69 MB / 0.5905 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.161, allocations: 72.33 kB / 0.5905 GB, free: 14.17 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.01443/1.175, allocations: 5.129 MB / 0.5955 GB, free: 9.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/1.175, allocations: 12 kB / 0.5956 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/1.175, allocations: 11.81 kB / 0.5956 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/1.176, allocations: 207.1 kB / 0.5958 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/1.176, allocations: 0 / 0.5958 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/1.176, allocations: 11.84 kB / 0.5958 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.78e-05/1.176, allocations: 18.73 kB / 0.5958 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.146e-05/1.176, allocations: 37.2 kB / 0.5958 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.176, allocations: 0 / 0.5958 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.176, allocations: 0 / 0.5958 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.176, allocations: 4 kB / 0.5958 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/1.177, allocations: 279.1 kB / 0.5961 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/1.177, allocations: 33.52 kB / 0.5961 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/1.177, allocations: 8.859 kB / 0.5961 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/1.177, allocations: 0 / 0.5961 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.177, allocations: 46.44 kB / 0.5962 GB, free: 9.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/1.177, allocations: 0 / 0.5962 GB, free: 9.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006379/1.177, allocations: 143.3 kB / 0.5963 GB, free: 8.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/1.177, allocations: 55.41 kB / 0.5964 GB, free: 8.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/1.178, allocations: 196 kB / 0.5966 GB, free: 8.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/1.178, allocations: 25.7 kB / 0.5966 GB, free: 8.719 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/1.178, allocations: 103 kB / 0.5967 GB, free: 8.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/1.178, allocations: 18.59 kB / 0.5967 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/1.178, allocations: 0 / 0.5967 GB, free: 8.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/1.178, allocations: 326 kB / 0.597 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/1.178, allocations: 11.94 kB / 0.597 GB, free: 8.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/1.178, allocations: 15.56 kB / 0.597 GB, free: 8.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/1.178, allocations: 23.27 kB / 0.5971 GB, free: 8.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/1.178, allocations: 0 / 0.5971 GB, free: 8.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000168/1.178, allocations: 75.91 kB / 0.5971 GB, free: 8.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.178, allocations: 8 kB / 0.5971 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.178, allocations: 0 / 0.5971 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.178, allocations: 4 kB / 0.5971 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/1.178, allocations: 27.23 kB / 0.5972 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.179, allocations: 0 / 0.5972 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/1.179, allocations: 9.031 kB / 0.5972 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.179, allocations: 8 kB / 0.5972 GB, free: 8.125 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.612e-05/1.179, allocations: 101 kB / 0.5973 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/1.179, allocations: 11.81 kB / 0.5973 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/1.179, allocations: 97.98 kB / 0.5974 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.179, allocations: 0 / 0.5974 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.179, allocations: 3.938 kB / 0.5974 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.179, allocations: 0 / 0.5974 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/1.179, allocations: 378.5 kB / 0.5978 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.179, allocations: 0 / 0.5978 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.669e-05/1.18, allocations: 23.92 kB / 0.5978 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.18, allocations: 288 / 0.5978 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/1.18, allocations: 0 / 0.5978 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.18, allocations: 4 kB / 0.5978 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.18, allocations: 3.906 kB / 0.5978 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001976/1.18, allocations: 194.3 kB / 0.598 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003274/1.18, allocations: 0.5652 MB / 0.5985 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/1.18, allocations: 96.56 kB / 0.5986 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/1.18, allocations: 7.891 kB / 0.5986 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/1.18, allocations: 11.94 kB / 0.5986 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/1.18, allocations: 7.969 kB / 0.5986 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/1.18, allocations: 4 kB / 0.5986 GB, free: 6.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001267/1.181, allocations: 151.2 kB / 0.5988 GB, free: 6.461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000962/1.181, allocations: 31.5 kB / 0.5988 GB, free: 6.434 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.0007931/1.182, allocations: 330.2 kB / 0.5991 GB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/1.182, allocations: 45 kB / 0.5992 GB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.182, allocations: 4 kB / 0.5992 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/1.182, allocations: 25.8 kB / 0.5992 GB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/1.183, allocations: 6.875 kB / 0.5992 GB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/1.183, allocations: 188.4 kB / 0.5994 GB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/1.184, allocations: 0.7263 MB / 0.6001 GB, free: 5.188 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/1.184, allocations: 4.062 kB / 0.6001 GB, free: 5.184 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat