Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 186.9 kB / 8.521 MB, free: 1.742 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.4 MB / 230.3 MB, free: 7.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009511/0.000951, allocations: 84.73 kB / 281.2 MB, free: 5.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1889/0.1889, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2555/0.4444, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.5951, allocations: 61.91 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.306/0.9012, allocations: 88.26 MB / 0.5804 GB, free: 8.508 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.9014, allocations: 72.78 kB / 0.5804 GB, free: 8.453 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01932/0.9208, allocations: 8.547 MB / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.9208, allocations: 11.94 kB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.9209, allocations: 43.44 kB / 0.5888 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.9214, allocations: 331.3 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.9214, allocations: 0 / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.9214, allocations: 4 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.899e-05/0.9215, allocations: 23.92 kB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.51e-05/0.9216, allocations: 53.59 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9216, allocations: 8 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.9216, allocations: 0 / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.9216, allocations: 0 / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.9222, allocations: 433.1 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.9223, allocations: 37.55 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.9224, allocations: 13.8 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.9224, allocations: 7.969 kB / 0.5897 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.9224, allocations: 34.47 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.9224, allocations: 0 / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005848/0.923, allocations: 240.1 kB / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.923, allocations: 51.41 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.9241, allocations: 0.7589 MB / 0.5908 GB, free: 13.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.9242, allocations: 25.7 kB / 0.5908 GB, free: 13.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.9242, allocations: 136.2 kB / 0.5909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.9243, allocations: 35.48 kB / 0.591 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.9243, allocations: 0 / 0.591 GB, free: 13.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.9244, allocations: 354.8 kB / 0.5913 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.9245, allocations: 27.98 kB / 0.5913 GB, free: 13.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.9245, allocations: 21.25 kB / 0.5913 GB, free: 13.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/0.9246, allocations: 23.98 kB / 0.5914 GB, free: 13.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.9246, allocations: 0 / 0.5914 GB, free: 13.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002124/0.9248, allocations: 125.1 kB / 0.5915 GB, free: 12.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.9248, allocations: 4 kB / 0.5915 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9248, allocations: 0 / 0.5915 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.9248, allocations: 3.984 kB / 0.5915 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.925, allocations: 20 kB / 0.5915 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.925, allocations: 4 kB / 0.5915 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.9251, allocations: 7.984 kB / 0.5915 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.9251, allocations: 4 kB / 0.5915 GB, free: 12.89 MB / 410.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 5.977e-05/0.9252, allocations: 104.9 kB / 0.5916 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.9253, allocations: 39.44 kB / 0.5917 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.9255, allocations: 165.7 kB / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9256, allocations: 0 / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9256, allocations: 3.984 kB / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9256, allocations: 0 / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/0.9264, allocations: 0.6011 MB / 0.5924 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.9264, allocations: 0 / 0.5924 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.9265, allocations: 24.02 kB / 0.5924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.9265, allocations: 11.94 kB / 0.5924 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.9265, allocations: 0 / 0.5924 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9265, allocations: 0 / 0.5924 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.9265, allocations: 3.906 kB / 0.5924 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002119/0.9267, allocations: 237.5 kB / 0.5927 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003126/0.927, allocations: 0.6035 MB / 0.5933 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.9272, allocations: 168.5 kB / 0.5934 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.9273, allocations: 0 / 0.5934 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.9274, allocations: 8 kB / 0.5934 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.9275, allocations: 11.89 kB / 0.5934 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.9275, allocations: 4 kB / 0.5934 GB, free: 10.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006076/0.9281, allocations: 0.6082 MB / 0.594 GB, free: 10.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009548/0.929, allocations: 71.92 kB / 0.5941 GB, free: 10.11 MB / 410.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.0007111/0.9298, allocations: 352.6 kB / 0.5944 GB, free: 9.844 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.9299, allocations: 51.98 kB / 0.5945 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9299, allocations: 0 / 0.5945 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.93, allocations: 35.92 kB / 0.5945 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.9303, allocations: 26.02 kB / 0.5946 GB, free: 9.734 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.9315, allocations: 0.7366 MB / 0.5953 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.932, allocations: 0.8567 MB / 0.5961 GB, free: 8.082 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.932, allocations: 0 / 0.5961 GB, free: 8.082 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat