Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",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.001202/0.001202, allocations: 195.7 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008868/0.0008868, allocations: 92.23 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 45.12 MB / 383.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2726/0.4857, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.6207, allocations: 63.25 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3888/1.01, allocations: 88.7 MB / 0.5905 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/1.01, allocations: 74.95 kB / 0.5906 GB, free: 14.03 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.02305/1.033, allocations: 4.532 MB / 0.595 GB, free: 10.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.033, allocations: 8 kB / 0.595 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/1.033, allocations: 11.81 kB / 0.595 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/1.034, allocations: 194.4 kB / 0.5952 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/1.034, allocations: 3.984 kB / 0.5952 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/1.034, allocations: 4 kB / 0.5952 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001047/1.034, allocations: 15.12 kB / 0.5952 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/1.034, allocations: 41.62 kB / 0.5952 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/1.034, allocations: 3.906 kB / 0.5953 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/1.034, allocations: 0 / 0.5953 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.034, allocations: 4 kB / 0.5953 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/1.035, allocations: 263.2 kB / 0.5955 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/1.035, allocations: 28.39 kB / 0.5955 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/1.035, allocations: 15.42 kB / 0.5955 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/1.035, allocations: 8 kB / 0.5956 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/1.035, allocations: 30.56 kB / 0.5956 GB, free: 9.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/1.035, allocations: 0 / 0.5956 GB, free: 9.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000604/1.036, allocations: 102.3 kB / 0.5957 GB, free: 9.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.036, allocations: 55.41 kB / 0.5957 GB, free: 9.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/1.036, allocations: 130.6 kB / 0.5959 GB, free: 9.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/1.036, allocations: 29.52 kB / 0.5959 GB, free: 9.219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/1.036, allocations: 88.12 kB / 0.596 GB, free: 9.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/1.036, allocations: 23.03 kB / 0.596 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/1.036, allocations: 0 / 0.596 GB, free: 9.109 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/1.036, allocations: 322 kB / 0.5963 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/1.036, allocations: 11.06 kB / 0.5963 GB, free: 8.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/1.036, allocations: 17.38 kB / 0.5963 GB, free: 8.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.3e-05/1.037, allocations: 17.11 kB / 0.5963 GB, free: 8.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.037, allocations: 7.938 kB / 0.5964 GB, free: 8.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001791/1.037, allocations: 62.03 kB / 0.5964 GB, free: 8.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.037, allocations: 6.656 kB / 0.5964 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.037, allocations: 8.062 kB / 0.5964 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/1.037, allocations: 0 / 0.5964 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/1.037, allocations: 15.98 kB / 0.5964 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/1.037, allocations: 0 / 0.5964 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.362e-05/1.037, allocations: 8 kB / 0.5964 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/1.037, allocations: 4 kB / 0.5965 GB, free: 8.652 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 (5): * Single equations (assignments): 5 * 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 0.0001105/1.037, allocations: 112.8 kB / 0.5966 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/1.037, allocations: 7.906 kB / 0.5966 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/1.038, allocations: 77.72 kB / 0.5966 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.038, allocations: 144 / 0.5966 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.038, allocations: 0 / 0.5966 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.038, allocations: 3.984 kB / 0.5966 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/1.038, allocations: 325.3 kB / 0.597 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.038, allocations: 0 / 0.597 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/1.038, allocations: 15.98 kB / 0.597 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.038, allocations: 0 / 0.597 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/1.038, allocations: 0 / 0.597 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.038, allocations: 0 / 0.597 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.435e-05/1.038, allocations: 4 kB / 0.597 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002433/1.039, allocations: 162 kB / 0.5971 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004835/1.039, allocations: 0.5438 MB / 0.5977 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/1.039, allocations: 85.02 kB / 0.5977 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/1.039, allocations: 3.906 kB / 0.5977 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/1.04, allocations: 11.98 kB / 0.5978 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/1.04, allocations: 6.875 kB / 0.5978 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/1.04, allocations: 0 / 0.5978 GB, free: 7.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000135/1.04, allocations: 110.9 kB / 0.5979 GB, free: 7.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001654/1.041, allocations: 23.92 kB / 0.5979 GB, free: 7.145 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001056/1.043, allocations: 285.3 kB / 0.5982 GB, free: 6.926 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/1.043, allocations: 42.11 kB / 0.5982 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.043, allocations: 0 / 0.5982 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/1.043, allocations: 22.06 kB / 0.5982 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/1.043, allocations: 11.98 kB / 0.5982 GB, free: 6.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/1.044, allocations: 116.3 kB / 0.5983 GB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/1.044, allocations: 0.7148 MB / 0.599 GB, free: 6 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/1.044, allocations: 4 kB / 0.5991 GB, free: 5.996 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat does not exist to compare? outputFormat=mat